:root {
  --bam-bg: #0c0f0e;
  --bam-panel: #141817;
  --bam-panel-2: #1b201e;
  --bam-paper: #eceae2;
  --bam-text: #f2f3ef;
  --bam-muted: #989f9c;
  --bam-teal: #43ead1;
  --bam-ease: cubic-bezier(.16, 1, .3, 1);
  --accent: var(--bam-teal);
  --accent-2: var(--bam-teal);
  --bg: var(--bam-bg);
  --bg-soft: var(--bam-panel);
  --text: var(--bam-text);
  --muted: var(--bam-muted);
  --line: rgba(255, 255, 255, .11);
  --card: var(--bam-panel);
}

html {
  background: var(--bam-bg);
}

body,
body.home-page,
body.home-page main {
  color: var(--bam-text);
  background: var(--bam-bg);
}

body {
  --mx: 50vw;
  --my: 30vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(650px circle at var(--mx) var(--my), rgba(67, 234, 209, .055), transparent 70%);
}

body > * {
  position: relative;
}

.grain-overlay {
  z-index: 9990;
  opacity: .025;
  mix-blend-mode: screen;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  right: auto !important;
  left: auto !important;
  width: 100% !important;
  min-height: 82px !important;
  margin: 0 !important;
  padding: 0 clamp(1.2rem, 4vw, 4.5rem) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(12, 15, 14, .84) !important;
  box-shadow: none !important;
  backdrop-filter: blur(22px) saturate(1.2) !important;
}

.logo-image {
  width: clamp(168px, 16vw, 238px) !important;
}

.site-nav {
  gap: clamp(.3rem, 1.1vw, 1.15rem) !important;
}

.site-nav a,
.site-nav a.book-btn,
.site-nav a[href*="shop"] {
  position: relative;
  min-height: auto !important;
  padding: .8rem .12rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(242, 243, 239, .58) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  letter-spacing: .105em !important;
  text-transform: uppercase;
}

.site-nav a::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: .48rem;
  left: 0;
  height: 2px;
  background: var(--bam-teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--bam-ease);
}

.site-nav a::after {
  display: none !important;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--bam-text) !important;
}

.site-nav a:hover::before,
.site-nav a[aria-current="page"]::before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  color: var(--bam-text) !important;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--bam-teal) !important;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.eyebrow::before {
  display: none !important;
}

.btn {
  min-height: 54px;
  gap: 1.4rem;
  padding: .9rem 1.3rem;
  border: 0 !important;
  border-radius: 2px !important;
  font-size: .82rem;
  letter-spacing: .02em;
  transition: transform .35s var(--bam-ease), background .35s ease, color .35s ease !important;
}

.btn-primary {
  color: #07110f !important;
  background: var(--bam-teal) !important;
  box-shadow: none !important;
}

.btn-primary:hover {
  color: #07110f !important;
  background: #73f2df !important;
}

.btn-secondary,
.btn-ghost {
  color: var(--bam-text) !important;
  background: rgba(255, 255, 255, .075) !important;
}

/* Home — Director's Cut */
.bam-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  min-height: calc(100svh - 82px);
  overflow: hidden;
  background: var(--bam-bg);
}

.bam-hero-media {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(4, 6, 5, .68), transparent 44%),
    url("./assets/images/hero-profile-optimized.jpg") 54% center / cover no-repeat;
  transform: scale(1.035);
  transform-origin: center;
  will-change: transform;
}

.bam-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 78%, rgba(12, 15, 14, .34)),
    radial-gradient(circle at 50% 45%, transparent 20%, rgba(0, 0, 0, .18) 80%);
}

.bam-viewfinder {
  position: absolute;
  inset: clamp(1.4rem, 3vw, 3rem);
  z-index: 2;
  pointer-events: none;
}

.bam-viewfinder .corner {
  position: absolute;
  width: 54px;
  height: 54px;
}

.bam-viewfinder .corner::before,
.bam-viewfinder .corner::after {
  content: "";
  position: absolute;
  background: var(--bam-teal);
}

.bam-viewfinder .corner::before {
  width: 100%;
  height: 3px;
}

.bam-viewfinder .corner::after {
  width: 3px;
  height: 100%;
}

.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; transform: rotate(90deg); }
.corner-bl { bottom: 0; left: 0; transform: rotate(-90deg); }
.corner-br { right: 0; bottom: 0; transform: rotate(180deg); }

.bam-viewfinder p,
.bam-viewfinder b {
  position: absolute;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.bam-viewfinder p {
  top: .15rem;
  left: 4.5rem;
}

.bam-viewfinder p i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: .45rem;
  border-radius: 50%;
  background: var(--bam-teal);
  animation: bamBlink 1.2s steps(1) infinite;
}

.bam-viewfinder b {
  right: 4.5rem;
  bottom: .15rem;
}

.bam-media-caption {
  position: absolute;
  bottom: clamp(2.3rem, 5vw, 5rem);
  left: clamp(2.3rem, 5vw, 5rem);
  z-index: 3;
  color: rgba(255, 255, 255, .78);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bam-media-caption span {
  display: inline-block;
  margin-right: 1rem;
  padding: .65rem .8rem;
  color: #06100e;
  background: var(--bam-teal);
}

.bam-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 7vw, 8rem) clamp(1.5rem, 5vw, 6rem);
  background: var(--bam-paper);
  color: #101311;
}

.bam-hero-copy::before {
  content: "FRAME 001";
  position: absolute;
  top: 50%;
  right: -3.8rem;
  color: rgba(16, 19, 17, .18);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .24em;
  transform: rotate(90deg);
}

.bam-meta {
  position: absolute;
  top: 2rem;
  right: clamp(1.5rem, 5vw, 6rem);
  left: clamp(1.5rem, 5vw, 6rem);
  display: flex;
  justify-content: space-between;
  color: rgba(16, 19, 17, .46);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bam-hero-copy .eyebrow {
  color: #168b7a !important;
}

.bam-hero-copy h1 {
  display: grid;
  margin: 0;
  color: #0b0e0d;
  font-size: clamp(4.3rem, 7.4vw, 8.5rem);
  font-weight: 800;
  line-height: .75;
  letter-spacing: -.085em;
  text-transform: uppercase;
}

.bam-hero-copy h1 span {
  display: block;
}

.bam-hero-copy h1 span:nth-child(2) {
  transform: translateX(clamp(.5rem, 2vw, 2.5rem));
}

.bam-hero-copy h1 .bam-outline {
  color: transparent;
  -webkit-text-stroke: 2px #0b0e0d;
}

.bam-hero-copy .hero-text {
  max-width: 48ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  color: rgba(16, 19, 17, .68);
  font-size: clamp(.98rem, 1.25vw, 1.13rem);
  line-height: 1.65;
}

.bam-hero-copy .hero-actions {
  margin-top: 2rem;
}

.bam-hero-copy .btn-ghost {
  color: #101311 !important;
  background: rgba(16, 19, 17, .075) !important;
}

.bam-scroll {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #101311;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.bam-scroll i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #07110f;
  background: var(--bam-teal);
  font-style: normal;
  writing-mode: horizontal-tb;
}

.bam-marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  color: #06100e;
  background: var(--bam-teal);
  transform: rotate(-1.4deg) scale(1.025);
}

.bam-marquee div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  padding: .9rem 0;
  animation: bamMarquee 24s linear infinite;
}

.bam-marquee span {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.bam-marquee i {
  font-style: normal;
}

.bam-intro {
  padding: clamp(9rem, 15vw, 16rem) clamp(1.2rem, 7vw, 8rem);
}

.bam-section-code {
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  color: var(--bam-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bam-section-code b {
  color: var(--bam-teal);
}

.bam-intro h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(4rem, 9vw, 10rem);
  line-height: .83;
  letter-spacing: -.085em;
  text-transform: uppercase;
}

.bam-intro h2 em {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 243, 239, .48);
  font-style: normal;
}

.bam-intro-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
  max-width: 760px;
  margin: clamp(3rem, 7vw, 7rem) 0 0 auto;
}

.bam-intro-copy p {
  margin: 0;
  color: var(--bam-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.bam-intro-copy a {
  display: inline-flex;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: #07110f;
  background: var(--bam-teal);
  font-size: .78rem;
  font-weight: 800;
  text-decoration: none;
}

.bam-work {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.2rem, 4vw, 4.5rem);
  background: #101413;
}

.bam-work-heading {
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.bam-work-heading h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  line-height: .82;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.bam-work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 54px;
  gap: 1rem;
}

.bam-work-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.3rem, 2.7vw, 2.5rem);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background-position: center;
  background-size: cover;
  transform-style: preserve-3d;
  transition: filter .5s ease, box-shadow .5s ease;
  will-change: transform;
}

.bam-work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(3, 5, 4, .18), rgba(3, 5, 4, .92)),
    linear-gradient(135deg, rgba(67, 234, 209, .12), transparent 48%);
  transition: background .5s ease;
}

.bam-work-card:hover::before {
  background:
    linear-gradient(180deg, rgba(3, 5, 4, .04), rgba(3, 5, 4, .84)),
    linear-gradient(135deg, rgba(67, 234, 209, .28), transparent 55%);
}

.bam-work-card > * {
  position: relative;
  z-index: 1;
  transform: translateZ(30px);
}

.bam-work-film {
  grid-column: 1 / span 7;
  grid-row: 1 / span 10;
  background-image: url("./assets/images/video-card-bg.jpg");
}

.bam-work-photo {
  grid-column: 8 / span 5;
  grid-row: 1 / span 7;
  background-image: url("./assets/images/hero-profile-optimized.jpg");
}

.bam-work-booth {
  grid-column: 8 / span 5;
  grid-row: 8 / span 7;
  background-image: url("./assets/images/fotobox-bg-optimized.jpg");
}

.bam-card-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bam-work-card h3 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: .78;
  letter-spacing: -.08em;
  text-transform: uppercase;
}

.bam-work-card p {
  max-width: 38ch;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .62);
}

.bam-work-card > i {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #07110f;
  background: var(--bam-teal);
  font-style: normal;
  transition: transform .4s var(--bam-ease);
}

.bam-work-card:hover > i {
  transform: translateZ(40px) rotate(45deg);
}

.bam-numbers {
  padding: clamp(8rem, 14vw, 14rem) clamp(1.2rem, 7vw, 8rem);
}

.bam-numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
}

.bam-numbers article {
  position: relative;
  padding-top: 2rem;
}

.bam-numbers article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--bam-teal);
}

.bam-numbers strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .78;
  letter-spacing: -.08em;
}

.bam-numbers sup {
  color: var(--bam-teal);
  font-size: .35em;
}

.bam-numbers span {
  display: block;
  margin-top: 1.5rem;
  color: var(--bam-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.bam-finale {
  position: relative;
  min-height: 90svh;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 6rem 1.2rem;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(rgba(6, 8, 7, .52), rgba(6, 8, 7, .86)),
    url("./assets/images/ueber-filmly-bg-optimized.jpg") center / cover no-repeat;
}

.bam-finale-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(255, 255, 255, .055);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(8rem, 24vw, 26rem);
  font-weight: 800;
  line-height: .7;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.bam-finale > p,
.bam-finale h2,
.bam-finale-link {
  position: relative;
  z-index: 1;
}

.bam-finale > p {
  color: var(--bam-teal);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.bam-finale h2 {
  margin: 1rem 0 2.5rem;
  font-size: clamp(4.5rem, 11vw, 12rem);
  line-height: .75;
  letter-spacing: -.09em;
  text-transform: uppercase;
}

.bam-finale-link {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  color: #07110f;
  background: var(--bam-teal);
  font-weight: 800;
  text-decoration: none;
}

/* Existing inner pages — same Director's Cut system */
body:not(.home-page) main {
  background:
    radial-gradient(circle at 85% 8%, rgba(67, 234, 209, .08), transparent 28rem),
    var(--bam-bg) !important;
}

body:not(.home-page) .section {
  width: min(1500px, 100%);
  padding: clamp(6rem, 11vw, 11rem) clamp(1.2rem, 5vw, 5.5rem) 2rem !important;
}

body:not(.home-page) .section-head,
body:not(.home-page) .video-hero-copy {
  max-width: 1050px;
}

body:not(.home-page) .section-head h2,
body:not(.home-page) .video-hero-copy h1,
body:not(.home-page) .album-hero h1,
body:not(.home-page) .fotobox-hero h1,
body:not(.home-page) .about-hero h1 {
  color: var(--bam-text) !important;
  font-size: clamp(3.7rem, 8.5vw, 9rem) !important;
  line-height: .78 !important;
  letter-spacing: -.08em !important;
  text-transform: uppercase;
}

body:not(.home-page) .section-intro,
body:not(.home-page) p {
  color: var(--bam-muted);
}

body:not(.home-page) .card,
body:not(.home-page) .video-hero-panel,
body:not(.home-page) .video-console,
body:not(.home-page) .album-hero,
body:not(.home-page) .album-toolbar,
body:not(.home-page) .about-copy-card,
body:not(.home-page) .about-mission-card,
body:not(.home-page) .booth-flow-card,
body:not(.home-page) .config-panel,
body:not(.home-page) .config-modal-card {
  border: 0 !important;
  border-radius: 2px !important;
  background-color: var(--bam-panel) !important;
  box-shadow: none !important;
}

body:not(.home-page) .video-hero-panel,
body:not(.home-page) .album-hero,
body:not(.home-page) .fotobox-hero,
body:not(.home-page) .about-hero {
  position: relative;
  overflow: hidden;
}

body:not(.home-page) .video-hero-panel::after,
body:not(.home-page) .album-hero::after {
  content: "FRAME / FILMLY";
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  color: var(--bam-teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem;
  letter-spacing: .18em;
}

body:not(.home-page) input,
body:not(.home-page) textarea,
body:not(.home-page) select {
  border: 0 !important;
  border-radius: 2px !important;
  color: var(--bam-text) !important;
  background: var(--bam-panel-2) !important;
}

body:not(.home-page) input:focus,
body:not(.home-page) textarea:focus,
body:not(.home-page) select:focus {
  outline: 2px solid var(--bam-teal);
  outline-offset: 2px;
}

.album-btn.active,
.layout-btn.active,
.video-category-btn.active,
.contact-btn.active {
  color: #07110f !important;
  border-color: transparent !important;
  background: var(--bam-teal) !important;
  box-shadow: none !important;
}

.fancy-shot,
.video-card,
.booth-feature-grid article,
.about-capability-grid article {
  border: 0 !important;
  border-radius: 2px !important;
}

.fancy-shot:hover,
.video-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48) !important;
}

.site-footer {
  width: 100% !important;
  margin: clamp(5rem, 10vw, 10rem) 0 0 !important;
  padding: 2.5rem clamp(1.2rem, 5vw, 5rem) !important;
  border: 0 !important;
  color: var(--bam-muted);
  background: #070908;
}

.system-notice {
  background: rgba(4, 6, 5, .74);
  backdrop-filter: blur(18px);
}

.system-notice-card {
  border: 0 !important;
  border-radius: 2px !important;
  background:
    linear-gradient(135deg, rgba(67, 234, 209, .11), transparent 42%),
    #111514 !important;
}

.system-notice-card::before {
  display: none;
}

.system-notice-status {
  color: var(--bam-teal) !important;
}

.system-notice-card h2 {
  letter-spacing: -.055em;
}

.system-notice-status::before {
  background: var(--bam-teal);
  box-shadow: 0 0 0 6px rgba(67, 234, 209, .12);
}

.system-notice-card .system-notice-email {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem 1.2rem;
  width: 100%;
  margin-top: 1.35rem;
  padding: .85rem 0;
  border: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .12) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
  border-radius: 0 !important;
  color: var(--bam-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
  transition: border-color .28s ease !important;
}

.system-notice-email small {
  color: var(--bam-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.system-notice-email span {
  min-width: 0;
  color: var(--bam-text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(.86rem, 2.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
  transition: color .28s ease;
}

.system-notice-email i {
  color: var(--bam-teal);
  font-size: 1.15rem;
  font-style: normal;
  transition: transform .28s var(--bam-ease);
}

.system-notice-card .system-notice-email:hover {
  border-color: rgba(67, 234, 209, .52) !important;
}

.system-notice-email:hover span {
  color: var(--bam-teal);
}

.system-notice-email:hover i {
  transform: translate(3px, -3px);
}

.system-notice-email:focus-visible {
  outline: 2px solid var(--bam-teal);
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .system-notice-card .system-notice-email {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .35rem .75rem;
  }

  .system-notice-email small {
    grid-column: 1 / -1;
  }

  .system-notice-email span {
    font-size: .84rem;
  }
}

/* Runtime effects */
.bam-page-transition {
  position: fixed;
  inset: 0;
  z-index: 20000;
  pointer-events: none;
  background: var(--bam-teal);
  transform: translate3d(0, -100%, 0);
  will-change: transform;
}

.bam-transition-slate {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(480px, calc(100vw - 2rem));
  color: var(--bam-paper);
  opacity: 0;
  transform: translate(-50%, -42%) scale(.92);
}

.bam-page-transition.is-entering .bam-transition-slate,
.bam-page-transition.is-leaving .bam-transition-slate {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity .22s ease, transform .48s var(--bam-ease);
}

.bam-slate-top {
  position: relative;
  width: 100%;
  height: 68px;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, var(--bam-paper) 0 34px, #111513 34px 68px);
  transform-origin: 12px 100%;
}

.bam-page-transition.is-entering .bam-slate-top {
  transform: rotate(0) translateY(0);
}

.bam-page-transition.is-leaving .bam-slate-top {
  animation: bamClap .48s .12s var(--bam-ease) both;
}

.bam-slate-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .8rem 1rem;
  min-height: 232px;
  padding: 1.25rem 1.4rem 1.35rem;
  color: var(--bam-paper);
  background: #111513;
}

.bam-slate-body strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  letter-spacing: -.04em;
}

.bam-slate-body > span {
  align-self: center;
  color: var(--bam-teal);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bam-slate-fields {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(236, 234, 226, .22);
}

.bam-slate-fields > span {
  min-width: 0;
  padding: .8rem .6rem;
  overflow: hidden;
  color: var(--bam-paper);
  background: #111513;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .64rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bam-slate-fields small {
  display: block;
  margin-bottom: .35rem;
  color: rgba(236, 234, 226, .46);
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bam-slate-data {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-top: .7rem;
  color: rgba(236, 234, 226, .58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bam-transition-time {
  color: var(--bam-paper);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.bam-camera-hud {
  position: absolute;
  inset: clamp(1rem, 3vw, 3rem);
  color: rgba(7, 17, 15, .76);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity .2s ease;
}

.bam-page-transition.is-entering .bam-camera-hud,
.bam-page-transition.is-leaving .bam-camera-hud {
  opacity: 1;
}

.bam-hud-rec,
.bam-hud-format,
.bam-hud-exposure,
.bam-hud-audio {
  position: absolute;
  z-index: 2;
}

.bam-hud-rec {
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
}

.bam-hud-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #101513;
  animation: bamHudRec 1s steps(1) infinite;
}

.bam-hud-format {
  top: 0;
  right: 0;
}

.bam-hud-safe {
  position: absolute;
  inset: clamp(2.2rem, 5vw, 5rem);
}

.bam-hud-safe > i {
  position: absolute;
  width: clamp(34px, 5vw, 72px);
  height: clamp(34px, 5vw, 72px);
}

.bam-hud-safe > i::before,
.bam-hud-safe > i::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.bam-hud-safe > i::before {
  width: 100%;
  height: 2px;
}

.bam-hud-safe > i::after {
  width: 2px;
  height: 100%;
}

.bam-hud-safe > i:nth-child(1) { top: 0; left: 0; }
.bam-hud-safe > i:nth-child(2) { top: 0; right: 0; transform: rotate(90deg); }
.bam-hud-safe > i:nth-child(3) { right: 0; bottom: 0; transform: rotate(180deg); }
.bam-hud-safe > i:nth-child(4) { bottom: 0; left: 0; transform: rotate(-90deg); }

.bam-hud-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.bam-hud-reticle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.bam-hud-reticle i {
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.bam-hud-reticle i:first-child {
  width: 82px;
  height: 1px;
}

.bam-hud-reticle i:last-child {
  width: 1px;
  height: 82px;
}

.bam-hud-exposure {
  bottom: 0;
  left: 0;
  display: flex;
  gap: clamp(.8rem, 2vw, 2.4rem);
}

.bam-hud-exposure span {
  padding: .35rem .45rem;
  background: rgba(236, 234, 226, .28);
}

.bam-hud-audio {
  right: 0;
  bottom: 0;
  display: flex;
  align-items: end;
  gap: 3px;
  height: 28px;
}

.bam-hud-audio i {
  width: 3px;
  background: currentColor;
  animation: bamAudio 650ms ease-in-out infinite alternate;
}

.bam-hud-audio i:nth-child(1) { height: 35%; animation-delay: -100ms; }
.bam-hud-audio i:nth-child(2) { height: 70%; animation-delay: -420ms; }
.bam-hud-audio i:nth-child(3) { height: 48%; animation-delay: -260ms; }
.bam-hud-audio i:nth-child(4) { height: 92%; animation-delay: -540ms; }
.bam-hud-audio i:nth-child(5) { height: 62%; animation-delay: -180ms; }
.bam-hud-audio i:nth-child(6) { height: 30%; animation-delay: -360ms; }

.bam-page-transition.is-entering {
  animation: bamReveal 1.5s var(--bam-ease) forwards;
}

.bam-page-transition.is-leaving {
  animation: bamWipe 1.06s var(--bam-ease) forwards;
}

.bam-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 19990;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(67, 234, 209, .72);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .25s var(--bam-ease), height .25s var(--bam-ease), background .25s ease, opacity .2s ease;
}

.bam-cursor.is-visible {
  opacity: 1;
}

.bam-cursor.is-active {
  width: 64px;
  height: 64px;
  background: rgba(67, 234, 209, .12);
}

.reveal {
  clip-path: inset(0 0 12% 0);
  opacity: 0;
  transform: translateY(40px);
}

.reveal.is-visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s var(--bam-ease), transform .9s var(--bam-ease), clip-path 1.1s var(--bam-ease);
}

/* The home hero starts only after the transition slate has cleared. */
.home-page .bam-hero-media {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
}

.home-page .bam-hero-copy > *,
.home-page .bam-scroll {
  opacity: 0;
  transform: translateY(28px);
}

.home-page.bam-home-visible .bam-hero-media {
  animation: bamHeroMediaIn 1.15s var(--bam-ease) forwards;
}

.home-page.bam-home-visible .bam-hero-copy .bam-meta {
  animation: bamHeroCopyIn .7s .08s var(--bam-ease) forwards;
}

.home-page.bam-home-visible .bam-hero-copy .eyebrow {
  animation: bamHeroCopyIn .75s .16s var(--bam-ease) forwards;
}

.home-page.bam-home-visible .bam-hero-copy h1 {
  animation: bamHeroCopyIn .9s .23s var(--bam-ease) forwards;
}

.home-page.bam-home-visible .bam-hero-copy .hero-text {
  animation: bamHeroCopyIn .8s .36s var(--bam-ease) forwards;
}

.home-page.bam-home-visible .bam-hero-copy .hero-actions {
  animation: bamHeroCopyIn .8s .46s var(--bam-ease) forwards;
}

.home-page.bam-home-visible .bam-scroll {
  animation: bamHeroCopyIn .7s .58s var(--bam-ease) forwards;
}

@keyframes bamBlink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: .2; }
}

@keyframes bamMarquee {
  to { transform: translateX(-50%); }
}

@keyframes bamWipe {
  0% { transform: translate3d(0, 100%, 0); }
  62%, 100% { transform: translate3d(0, 0, 0); }
}

@keyframes bamReveal {
  0%, 42% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -100%, 0); }
}

@keyframes bamClap {
  0%, 18% { transform: rotate(-27deg) translateY(-15px); }
  61% { transform: rotate(-27deg) translateY(-15px); }
  73% { transform: rotate(2deg) translateY(1px); }
  80% { transform: rotate(-1.5deg) translateY(-1px); }
  88%, 100% { transform: rotate(0) translateY(0); }
}

@keyframes bamHudRec {
  0%, 52% { opacity: 1; }
  53%, 100% { opacity: .18; }
}

@keyframes bamAudio {
  to { height: 16%; }
}

@keyframes bamHeroMediaIn {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes bamHeroCopyIn {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .bam-hero {
    grid-template-columns: 1fr;
  }

  .bam-hero-media {
    min-height: 72svh;
  }

  .bam-hero-copy {
    min-height: 700px;
  }

  .bam-scroll {
    display: none;
  }

  .bam-intro-copy {
    grid-template-columns: 1fr;
  }

  .bam-work-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bam-work-card,
  .bam-work-film,
  .bam-work-photo,
  .bam-work-booth {
    grid-column: auto;
    grid-row: auto;
    min-height: min(68svh, 620px);
  }
}

@media (max-width: 760px) {
  .site-header {
    z-index: 12000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: .75rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 68px !important;
    padding: .65rem 1rem !important;
  }

  .logo-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .logo-image {
    width: clamp(145px, 47vw, 190px) !important;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 64px !important;
    min-height: 44px !important;
    padding: .65rem .85rem !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 2px !important;
    background: rgba(255, 255, 255, .075) !important;
    box-shadow: none !important;
    color: var(--bam-text) !important;
    font-size: .67rem;
    letter-spacing: .1em;
    text-transform: uppercase;
  }

  .menu-toggle[aria-expanded="true"] {
    border-color: rgba(67, 234, 209, .58) !important;
    color: var(--bam-teal) !important;
    background: rgba(67, 234, 209, .08) !important;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--bam-teal) !important;
    outline-offset: 3px !important;
  }

  .site-nav {
    counter-reset: bam-mobile-nav;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    align-items: stretch !important;
    gap: 2px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    max-height: calc(100dvh - 68px) !important;
    margin: 0 !important;
    padding: .65rem 1rem 1rem !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    border: 0 !important;
    border-top: 1px solid rgba(67, 234, 209, .28) !important;
    border-radius: 0 !important;
    background:
      linear-gradient(135deg, rgba(67, 234, 209, .055), transparent 42%),
      rgba(8, 10, 9, .985) !important;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .58) !important;
    backdrop-filter: blur(22px) saturate(1.15) !important;
    clip-path: inset(0 0 100% 0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-12px) !important;
    transform-origin: top center !important;
    transition:
      clip-path .48s var(--bam-ease),
      transform .48s var(--bam-ease),
      opacity .22s ease !important;
  }

  .site-nav.open {
    clip-path: inset(0 0 0 0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .site-nav a,
  .site-nav a.book-btn,
  .site-nav a[href*="shop"] {
    counter-increment: bam-mobile-nav;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: .85rem 3.25rem .85rem 1rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .075) !important;
    border-radius: 0 !important;
    color: rgba(242, 243, 239, .72) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: .8rem !important;
    line-height: 1.2 !important;
    letter-spacing: .12em !important;
    text-align: left !important;
    white-space: normal !important;
    opacity: 0 !important;
    transform: translateY(-8px) !important;
    transition:
      color .22s ease,
      background .22s ease,
      opacity .32s ease,
      transform .4s var(--bam-ease) !important;
  }

  .site-nav.open a {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .site-nav.open a:nth-child(2) { transition-delay: .035s !important; }
  .site-nav.open a:nth-child(3) { transition-delay: .07s !important; }
  .site-nav.open a:nth-child(4) { transition-delay: .105s !important; }
  .site-nav.open a:nth-child(5) { transition-delay: .14s !important; }
  .site-nav.open a:nth-child(6) { transition-delay: .175s !important; }
  .site-nav.open a:nth-child(7) { transition-delay: .21s !important; }

  .site-nav a::before {
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
    width: 2px !important;
    height: 0 !important;
    background: var(--bam-teal) !important;
    transform: translateY(-50%) !important;
    transition: height .28s var(--bam-ease) !important;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--bam-text) !important;
    background: rgba(255, 255, 255, .035) !important;
  }

  .site-nav a:hover::before,
  .site-nav a[aria-current="page"]::before {
    height: 24px !important;
  }

  .site-nav a::after {
    content: "0" counter(bam-mobile-nav) !important;
    position: absolute !important;
    top: 50% !important;
    right: 1rem !important;
    bottom: auto !important;
    left: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: rgba(67, 234, 209, .48) !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
    font-size: .58rem !important;
    letter-spacing: .08em !important;
    opacity: 1 !important;
    transform: translateY(-50%) !important;
    transition: none !important;
  }

  .bam-hero-media {
    min-height: 64svh;
  }

  .bam-viewfinder {
    inset: 1rem;
  }

  .bam-viewfinder .corner {
    width: 34px;
    height: 34px;
  }

  .bam-viewfinder p,
  .bam-viewfinder b {
    display: none;
  }

  .bam-media-caption {
    bottom: 1.8rem;
    left: 1.8rem;
    font-size: .56rem;
  }

  .bam-media-caption span {
    margin-right: .5rem;
  }

  .bam-hero-copy {
    min-height: 670px;
    padding: 5.5rem 1.15rem 4rem;
  }

  .bam-meta {
    top: 1.4rem;
    right: 1.15rem;
    left: 1.15rem;
  }

  .bam-meta span:last-child {
    display: none;
  }

  .bam-hero-copy h1 {
    font-size: clamp(4rem, 19vw, 6rem);
  }

  .bam-hero-copy h1 .bam-outline {
    -webkit-text-stroke-width: 1.2px;
  }

  .bam-hero-copy .hero-actions {
    display: grid;
  }

  .bam-hero-copy .btn {
    width: 100%;
  }

  .bam-intro,
  .bam-work,
  .bam-numbers {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .bam-intro h2,
  .bam-work-heading h2 {
    font-size: clamp(3.4rem, 16vw, 5.8rem);
  }

  .bam-work-card {
    min-height: 58svh;
  }

  .bam-numbers-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .bam-finale h2 {
    font-size: clamp(4.4rem, 20vw, 7rem);
  }

  body:not(.home-page) .section-head h2,
  body:not(.home-page) .video-hero-copy h1,
  body:not(.home-page) .album-hero h1,
  body:not(.home-page) .fotobox-hero h1,
  body:not(.home-page) .about-hero h1 {
    font-size: clamp(3rem, 15vw, 5.8rem) !important;
  }

  .bam-cursor {
    display: none;
  }

  .fotobox-hero {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 6.2rem 1rem 2rem !important;
    overflow: hidden;
  }

  .fotobox-hero-copy,
  .fotobox-hero-panel,
  .booth-scan-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body:not(.home-page) .fotobox-hero h1 {
    max-width: 100% !important;
    font-size: clamp(2.75rem, 12vw, 4rem) !important;
    overflow-wrap: anywhere;
  }

  .fotobox-hero-copy > p,
  .booth-scan-card > * {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .fotobox-hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fotobox-hero-actions .btn {
    width: 100% !important;
  }

  .video-hero-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .video-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .video-hero-copy > * {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .album-toolbar,
  .album-menu,
  .album-layout-toggle {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .album-menu,
  .album-layout-toggle {
    flex-wrap: wrap !important;
  }

  .video-filter,
  .album-btn,
  .layout-btn {
    min-height: 44px !important;
  }

  .site-footer a,
  .site-footer button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .bam-transition-slate {
    width: min(340px, calc(100vw - 2rem));
  }

  .bam-slate-top {
    height: 54px;
  }

  .bam-slate-body {
    min-height: 218px;
    padding: 1rem;
  }

  .bam-slate-body strong {
    font-size: 1.08rem;
  }

  .bam-slate-fields {
    grid-template-columns: repeat(3, 1fr);
  }

  .bam-slate-fields > span:first-child {
    grid-column: 1 / -1;
  }

  .bam-hud-format,
  .bam-hud-exposure span:nth-child(n + 4),
  .bam-hud-audio {
    display: none;
  }

  .bam-hud-safe {
    inset: 2.3rem .7rem;
  }

  .bam-hud-exposure {
    gap: .35rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .bam-cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bam-marquee div,
  .bam-viewfinder p i,
  .bam-hud-rec i,
  .bam-hud-audio i,
  .bam-slate-top {
    animation: none !important;
  }

  [data-bam-tilt],
  .reveal {
    transform: none !important;
    transition-duration: .01ms !important;
  }

  .bam-page-transition {
    display: none !important;
  }

  .home-page .bam-hero-media,
  .home-page .bam-hero-copy > *,
  .home-page .bam-scroll {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
    animation: none !important;
  }
}
