/* Perry Layne Productions — Pathline static site */

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

:root {
  --bg: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-contact: #1c1c1c;
  --bg-footer: #000000;
  --text: #000000;
  --text-muted: #3a3a3a;
  --text-light: #ffffff;
  --border: #000000;
  --max: 1140px;
  --pad-x: 1.75rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

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

/* Pathline honeypot — must stay a checkbox, hidden with CSS */
.botcheck {
  display: none !important;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 42px -22px rgba(0, 0, 0, 0.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: #111;
  border-radius: 1px;
  transition: transform 0.28s ease, top 0.28s ease;
}

.nav-toggle span:nth-child(1) {
  top: 15.5px;
}

.nav-toggle span:nth-child(2) {
  top: 23.5px;
}

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

.site-nav.is-open .nav-toggle span:nth-child(2) {
  top: 19.5px;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a3a3a;
}

.nav-links a:hover {
  opacity: 1;
  color: #000;
}

.nav-links .nav-cta {
  border: 1px solid #000;
  padding: 0.45rem 0.9rem;
}

.nav-links .nav-cta:hover {
  background: #000;
  color: #fff;
  opacity: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a3a3a;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown > button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: #fff;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 0 0 0.25rem;
    margin: 0;
    list-style: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ececec;
    overflow-x: hidden;
  }

  .site-nav.is-open .nav-links {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
  }

  /* Our Work section label */
  .nav-dropdown > button {
    display: block;
    width: 100%;
    padding: 1.05rem 1.5rem;
    background: #f3f3f3;
    color: #222;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: left;
    pointer-events: none;
  }

  .nav-dropdown > button::after {
    display: none;
  }

  .nav-dropdown__menu {
    position: static;
    display: block;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    background: #fff;
    list-style: none;
  }

  .nav-dropdown__menu li {
    border-bottom: 1px solid #ececec;
  }

  .nav-dropdown__menu a {
    display: block;
    padding: 1rem 1.5rem 1rem 2.5rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #333;
    text-align: left;
    text-transform: uppercase;
  }

  .nav-links > li:not(.nav-dropdown) > a {
    display: block;
    padding: 1.05rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-align: left;
  }

  .nav-links > li:not(.nav-dropdown) {
    box-sizing: border-box;
  }

  .nav-links > li:not(.nav-dropdown) > a.nav-cta {
    display: block;
    width: auto;
    max-width: none;
    box-sizing: border-box;
    margin: 1.15rem 1.5rem 1.25rem;
    padding: 0.85rem 1rem;
    text-align: center;
    border: 1px solid #222;
    border-top: 1px solid #222;
    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
    border-left: 1px solid #222;
    border-radius: 2px;
    letter-spacing: 0.12em;
    background: #fff;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 65vh;
  min-height: 320px;
  max-height: 720px;
  overflow: hidden;
  background: #111 url("/images/trophy-white-river.jpg") center / cover no-repeat;
}

.hero__video,
.hero video {
  width: 112%;
  max-width: none;
  height: 100%;
  margin-left: -6%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero__video.is-ready,
.hero video.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video,
  .hero video {
    opacity: 1;
    transition: none;
  }
}

/* ---------- Client logos (rotating fade) ---------- */

.clients {
  width: 100vw;
  max-width: 100%;
  padding: 1.5rem var(--pad-x);
  background: #fff;
  box-sizing: border-box;
}

.clients__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
  width: 100%;
  align-items: center;
}

@media (min-width: 600px) {
  .clients__row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .clients {
    padding: 1.75rem calc(var(--pad-x) + 0.5rem);
  }

  .clients__row {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem 1.5rem;
  }
}

.rotatingimages-container {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .rotatingimages-container {
    height: 160px;
  }
}

.rotatingimages-pic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.fade1 {
  animation: fade 10s infinite;
}

.fade2 {
  animation: fade 16s infinite;
}

.fade3 {
  animation: fade 24s infinite;
}

#pic1 {
  animation-delay: 0s;
  background-image: url("../images/client-1.jpg");
}

#pic2 {
  animation-delay: 5s;
  background-image: url("../images/client-2.jpg");
}

#pic3 {
  animation-delay: 0s;
  background-image: url("../images/client-3.jpg");
}

#pic4 {
  animation-delay: 8s;
  background-image: url("../images/client-4.jpg");
}

#pic5 {
  animation-delay: 0s;
  background-image: url("../images/client-5.jpg");
}

#pic6 {
  animation-delay: 12s;
  background-image: url("../images/client-6.jpg");
}

#pic7 {
  animation-delay: 0s;
  background-image: url("../images/client-7.png");
}

#pic8 {
  animation-delay: 8s;
  background-image: url("../images/client-8.jpg");
}

#pic9 {
  animation-delay: 0s;
  background-image: url("../images/client-9.jpg");
}

#pic10 {
  animation-delay: 12s;
  background-image: url("../images/client-10.jpg");
}

#pic11 {
  animation-delay: 0s;
  background-image: url("../images/client-11.jpg");
}

#pic12 {
  animation-delay: 5s;
  background-image: url("../images/client-12.jpg");
}

@keyframes fade {
  0% { opacity: 1; }
  25% { opacity: 1; }
  50% { opacity: 0; }
  75% { opacity: 0; }
  100% { opacity: 1; }
}

@media (max-width: 767px) {
  .clients {
    display: none;
  }
}

/* ---------- Intro ---------- */

.intro {
  padding: 4.5rem 0 5rem;
  background: #fff;
}

.intro .container {
  max-width: 1100px;
}

.intro__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 769px) {
  .intro__grid {
    grid-template-columns: 0.9fr 1.4fr;
    gap: 4rem;
    align-items: start;
  }
}

.intro__labels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.intro__labels h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 1.875rem);
  font-weight: 800;
  color: #333;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.intro__copy p {
  margin: 0 0 1.15rem;
  color: #555;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
}

.intro__copy p:last-child {
  margin-bottom: 0;
}

.intro__cta {
  display: inline-block;
  margin-top: 0.5rem;
  border: 1px solid #000;
  padding: 0.7rem 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
}

.intro__cta:hover {
  background: #000;
  color: #fff;
  opacity: 1;
}

/* ---------- Trophy Room ---------- */

.trophy {
  background: #1a1a1a;
  color: #fff;
  padding: 0;
}

.trophy h2 {
  margin: 0;
  padding: 6rem var(--pad-x) 5.25rem;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.trophy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 600px) {
  .trophy__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .trophy__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trophy__item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
}

.trophy__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.trophy__item:hover img {
  transform: scale(1.03);
}

.trophy__item::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.95);
  margin-left: calc(50% - 8px);
  z-index: 2;
  pointer-events: none;
}

.trophy__item::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
  z-index: 1;
}

/* ---------- Specialized fields ---------- */

.fields-heading {
  background: #1a1a1a;
  color: #fff;
  padding: 0;
}

.fields-heading h2 {
  margin: 0;
  padding: 3.25rem var(--pad-x);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
}

.field-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40vh;
  min-height: 220px;
  max-height: 420px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

.field-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.field-band span {
  position: relative;
  z-index: 1;
  font-size: 8vw;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.field-band.is-visible span {
  opacity: 1;
  transform: translateY(0);
}

.field-band:hover {
  opacity: 1;
}

.field-band.is-visible:hover span {
  transform: translateY(-4px);
  transition: opacity 0.8s ease, transform 0.3s ease;
}

.field-construction {
  background-image: url("../images/field-construction.png");
}

.field-real-estate {
  background-image: url("../images/field-real-estate.png");
  background-position: left bottom 48%;
}

.field-events {
  background-image: url("../images/field-events.jpg");
  background-position: right 21% bottom 78%;
}

.field-commercials {
  background-image: url("../images/field-commercials.png");
  background-position: left 7% bottom 50%;
}

.field-weddings {
  background-image: url("../images/field-weddings.png");
}

.field-conferences {
  background-image: url("../images/field-conferences.jpeg");
}

.field-documentaries {
  background-image: url("../images/field-documentaries.png");
}

/* ---------- Page hero (about / contact) ---------- */

.page-hero {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero p {
  margin: 0 auto;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- About ---------- */

.about-bio {
  background: #1a1a1a;
  color: #fff;
  padding: 4rem 0 3.5rem;
}

.about-bio__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 769px) {
  .about-bio__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-bio__copy h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
  opacity: 0;
  animation: about-fade 1.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.about-bio__copy p {
  margin: 0 0 1.1rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  line-height: 1.65;
  opacity: 0;
  transform: translateX(-28px);
  animation: about-swipe 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-bio__copy p:nth-of-type(1) { animation-delay: 0.35s; }
.about-bio__copy p:nth-of-type(2) { animation-delay: 0.55s; }
.about-bio__copy p:nth-of-type(3) { animation-delay: 0.75s; }
.about-bio__copy p:nth-of-type(4) { animation-delay: 0.95s; }

.about-bio__copy p:last-child {
  margin-bottom: 0;
}

.about-bio__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #111;
  opacity: 0;
  animation: about-fade 2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

@keyframes about-fade {
  to { opacity: 1; }
}

@keyframes about-swipe {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-bio__copy h1,
  .about-bio__copy p,
  .about-bio__photo {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.about-videos {
  background: #111;
}

.about-videos .trophy__item {
  border-radius: 0;
  background: #2a2a2a;
}

.about-videos .trophy__item img {
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.about-videos .trophy__item:hover img {
  opacity: 0.45;
  transform: scale(1.02);
}

.about-videos__feature {
  width: 100%;
}

.about-videos__pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 769px) {
  .about-videos__pair {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Contact ---------- */

.contact-section {
  background: var(--bg-contact);
  color: #fff;
  padding: 3.5rem 0;
  width: 100%;
}

.contact-section > .container {
  max-width: min(1280px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  box-sizing: border-box;
}

.site-footer .contact-section {
  margin: 0;
}

.contact-section h1,
.contact-section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-section > .container > p,
.contact-intro {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.contact-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
    justify-content: space-between;
  }

  .contact-main {
    grid-column: 1;
    width: 100%;
  }

  .contact-map-wrap {
    grid-column: 2;
    width: 85%;
    max-width: 85%;
    aspect-ratio: 1 / 1;
    align-self: start;
    justify-self: end;
  }
}

.contact-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #2a2a2a;
}

.contact-form label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #fff;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
}

.contact-form .contact-fields textarea {
  margin-bottom: 0;
  resize: vertical;
  min-height: 140px;
}

.contact-form button[type="submit"] {
  display: inline-block;
  align-self: start;
  margin-top: 0.25rem;
  padding: 0.75rem 2rem;
  border: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  opacity: 0.9;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-footer);
  color: #fff;
}

.footer-main {
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    text-align: center;
    justify-items: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-col a,
  .footer-col p {
    text-align: center;
  }
}

@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }

  .footer-logo {
    align-self: center;
    justify-self: center;
    justify-content: center;
    width: 100%;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  max-width: 220px;
  height: auto;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col a:hover {
  color: #fff;
  opacity: 1;
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-copy a,
.footer-copy__credit {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.footer-copy a:hover,
.footer-copy__credit:hover {
  color: inherit;
  opacity: 1;
  text-decoration: none;
}

/* ---------- Video modal ---------- */

.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal.is-open {
  display: flex;
}

.video-modal__inner {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__inner iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Work page hero (Photography, etc.) ---------- */

.work-hero {
  background: #1a1a1a;
  color: #fff;
  padding: 3.25rem 0;
}

.work-hero .container {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 2.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.work-hero h1 {
  margin: 0 0 0.2rem;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
}

.work-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
}

.rise-in {
  opacity: 0;
  transform: translateY(18px);
}

.rise-in.is-visible {
  animation: rise-in 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-hero .container,
  .rise-in {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Flush video grid under work hero (Construction) */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #111;
}

@media (min-width: 600px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.video-grid .trophy__item {
  border-radius: 0;
  background: #2a2a2a;
}

.video-grid .trophy__item img {
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.video-grid .trophy__item:hover img {
  opacity: 0.45;
  transform: scale(1.02);
}

.gallery-label {
  background: #fff;
  color: #111;
  padding: 2rem 0 0.5rem;
}

.gallery-label h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-wrap {
  background: #fff;
  padding: 1.5rem 0 3rem;
}

/* CSS-column masonry — natural image heights, all product galleries */
.gallery {
  column-count: 1;
  column-gap: 0.85rem;
  column-fill: balance;
  width: 100%;
  background: #fff;
}

@media (min-width: 600px) {
  .gallery {
    column-count: 2;
  }
}

.gallery__item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0;
  border: 0;
  background: #eee;
  cursor: pointer;
  overflow: hidden;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  vertical-align: top;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ---------- Lightbox ---------- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  line-height: 1;
}

.lightbox__prev {
  left: 0.5rem;
}

.lightbox__next {
  right: 0.5rem;
}

/* ---------- Thank you ---------- */

.thank-you-page {
  margin: 0;
  min-height: 100vh;
}

.thank-you {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--pad-x);
  box-sizing: border-box;
  background: #111 url("/images/thank-you/bg.jpg") center / cover no-repeat;
}

.thank-you::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  pointer-events: none;
}

.thank-you__panel {
  position: relative;
  z-index: 1;
  width: min(52rem, 100%);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid #fff;
  text-align: center;
}

.thank-you__panel h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

