* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b0b0b;
  color: #fff;
}

/* HEADER */

.site-header {
  height: 110px;
  padding: 16px 7%;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: white;
}

.brand img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  display: block;
}

.brand strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.brand span {
  display: block;
  margin-top: 7px;
  color: #f5a915;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.05rem;
}

.nav .nav-quote {
  background: #f5a915;
  color: #000;
  padding: 18px 28px;
  border-radius: 9px;
}

/* HERO */

.hero {
  position: relative;
  min-height: calc(92vh - 110px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 7% 65px;
  isolation: isolate;
  background: #000;
}

/* The HTML image is hidden so the hero background can be controlled cleanly here */
.hero-monkeys {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("images/original_background.png");
  background-repeat: no-repeat;
  background-size: clamp(1050px, 82vw, 1450px) auto;
  background-position: right center;
  opacity: 0.98;

  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 54%,
    rgba(0, 0, 0, 0.96) 66%,
    rgba(0, 0, 0, 0.74) 78%,
    rgba(0, 0, 0, 0.36) 90%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 54%,
    rgba(0, 0, 0, 0.96) 66%,
    rgba(0, 0, 0, 0.74) 78%,
    rgba(0, 0, 0, 0.36) 90%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #000 0%,
      #000 18%,
      rgba(0, 0, 0, 0.92) 32%,
      rgba(0, 0, 0, 0.58) 46%,
      rgba(0, 0, 0, 0.18) 60%,
      rgba(0, 0, 0, 0.06) 72%,
      rgba(0, 0, 0, 0.18) 84%,
      rgba(0, 0, 0, 0.56) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 690px;
  transform: translateY(-18px);
}

.eyebrow {
  color: #f5a915;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 26px;
}

.center {
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 5.2vw, 5.9rem);
  line-height: 0.94;
  font-weight: 900;
  margin: 0 0 30px;
  letter-spacing: -0.045em;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn,
button,
.footer a,
.quick-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn-primary,
button,
.footer a,
.quick-contact a:first-child {
  background: #f5a915;
  color: #000;
}

.btn-secondary,
.quick-contact a:last-child {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

/* SERVICES */

.services {
  padding: 85px 7%;
  background: radial-gradient(circle at top, #242424, #101010 62%);
  text-align: center;
  scroll-margin-top: 130px;
}

.services h2,
.projects h2,
.animation h2,
.quote h2 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1;
  margin: 0 0 34px;
  letter-spacing: -0.04em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.service-grid article {
  min-height: 180px;
  background: linear-gradient(145deg, #242424, #111);
  padding: 28px 18px;
  border-radius: 15px;
  border: 1px solid #424242;
  text-align: center;
  display: grid;
  place-items: center;
}

.service-grid span {
  font-size: 2rem;
}

.service-grid h3 {
  margin: 10px 0 0;
  font-size: 1.05rem;
}

.service-grid p {
  color: #cfcfcf;
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

/* PROJECTS */

.projects {
  padding: 85px 7%;
  background: #121212;
  scroll-margin-top: 130px;
}

.projects-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 720px;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

.section-heading {
  max-width: 850px;
}

.section-copy {
  color: #cfcfcf;
  font-size: 1.15rem;
  line-height: 1.55;
}

.projects-side-art {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  min-height: 420px;
}

.projects-side-art img {
  width: min(48vw, 760px);
  max-width: 760px;
  max-height: 520px;
  height: auto;
  object-fit: contain;
  transform: translate(-70px, -8px);
  mix-blend-mode: screen;
  opacity: 0.98;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
}

.project-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 46px;
  padding: 0 20px;
  background: #1f1f1f;
  color: white;
  border: 1px solid #3a3a3a;
}

.filter-btn.active,
.filter-btn:hover {
  background: #f5a915;
  color: #000;
}

.project-pairs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-pair {
  background: #1c1c1c;
  border: 1px solid #3a3a3a;
  border-radius: 18px;
  overflow: hidden;
}

.project-pair.hide {
  display: none;
}

.pair-heading {
  padding: 22px 22px 0;
}

.pair-heading p {
  margin: 0 0 8px;
  color: #f5a915;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.pair-heading h3 {
  margin: 0 0 18px;
  font-size: 1.7rem;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #111;
}

.before-after.single-photo {
  grid-template-columns: 1fr;
}

.photo-side {
  position: relative;
  width: 100%;
  height: 300px;
  background: #101010;
  border: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  display: block;
}

.photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #090909;
  display: block;
}

.single-photo .photo-side img {
  object-fit: contain;
  padding: 10px;
}

.photo-side span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(0, 0, 0, 0.78);
  color: #f5a915;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 1rem;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 50%;
  background: #f5a915;
  color: #000;
  font-size: 2rem;
  line-height: 1;
}

/* CREW */

.animation {
  padding: 95px 7%;
  min-height: calc(100vh - 110px);
  background: #050505;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: 130px;
}

.animation-text {
  position: relative;
  z-index: 2;
}

.animation-text p {
  color: #d7d7d7;
  font-size: 1.15rem;
  line-height: 1.6;
}

.coming-soon {
  margin-top: 18px;
  color: #f5a915 !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.animation-art {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

.crew-single-art {
  width: 100%;
}

.crew-card {
  width: 100%;
  max-width: 720px;
  height: 620px;
  background: #000;
  border: 1px solid #2f2f2f;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.crew-card-wide {
  height: 620px;
}

.crew-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 18px;
  background: #000;
}

/* Defensive layout if quote accidentally ends up inside crew */
.animation > .quote {
  grid-column: 1 / -1;
  width: 100%;
}

/* QUOTE */

.quote {
  position: relative;
  z-index: 2;
  padding: 95px 7%;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.98) 0%,
      rgba(0, 0, 0, 0.94) 42%,
      rgba(0, 0, 0, 0.88) 100%
    ),
    url("images/original_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 560px);
  gap: 58px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 130px;
  overflow: hidden;
}

.quote-text {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.quote-text p {
  color: #d7d7d7;
  font-size: 1.15rem;
  line-height: 1.6;
}

.quick-contact {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.quick-contact a {
  width: auto;
}

form {
  width: 100%;
  max-width: 560px;
  justify-self: end;
  display: grid;
  gap: 14px;
  background: rgba(18, 18, 18, 0.96);
  border: 1px solid #3a3a3a;
  border-radius: 18px;
  padding: 30px;
  position: relative;
  z-index: 3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.hidden {
  display: none;
}

input,
select,
textarea {
  width: 100%;
  min-height: 58px;
  padding: 16px;
  border-radius: 9px;
  border: 0;
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 155px;
  resize: vertical;
}

form button {
  min-height: 62px;
  width: 100%;
}

/* FOOTER */

.footer {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 34px 7%;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  clear: both;
}

/* Defensive layout if footer accidentally ends up inside quote */
.quote > .footer {
  grid-column: 1 / -1;
  justify-self: stretch;
  margin-top: 30px;
}

.footer h3,
.footer p {
  margin: 0;
}

.footer p {
  margin-top: 6px;
  color: #aaa;
}

.footer-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .animation,
  .quote,
  .projects-top {
    grid-template-columns: 1fr;
  }

  .quote {
    gap: 34px;
  }

  form {
    justify-self: start;
    max-width: 620px;
  }

  .project-pairs {
    grid-template-columns: 1fr;
  }

  .projects-side-art {
    justify-content: flex-start;
    padding-left: 0;
    min-height: auto;
  }

  .projects-side-art img {
    width: min(78vw, 420px);
    max-width: 420px;
    transform: translateX(0);
  }

  .hero::before {
    background-size: clamp(920px, 96vw, 1280px) auto;
    background-position: calc(100% + 80px) center;
    opacity: 0.72;
  }

  .crew-card,
  .crew-card-wide {
    max-width: 760px;
    height: 500px;
  }
}

@media (max-width: 950px) {
  .site-header {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .brand img {
    width: 76px;
    height: 76px;
  }

  .brand strong {
    font-size: 1.65rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav .nav-quote {
    padding: 15px 22px;
  }

  .hero {
    min-height: auto;
    padding: 90px 6% 70px;
  }

  .hero::before {
    background-size: cover;
    background-position: center right;
    opacity: 0.30;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero::after {
    background: rgba(0, 0, 0, 0.74);
  }

  .hero-content {
    transform: translateY(0);
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 13vw, 5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .animation {
    min-height: auto;
    padding: 85px 6%;
  }

  .crew-card,
  .crew-card-wide {
    height: 430px;
  }

  .quote {
    padding: 85px 6%;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .photo-side {
    height: 300px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding: 14px 6%;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 66px;
    height: 66px;
  }

  .brand strong {
    font-size: 1.45rem;
  }

  .brand span {
    font-size: 0.72rem;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 0.95rem;
  }

  .hero {
    padding: 78px 6% 64px;
  }

  .hero::before {
    opacity: 0.22;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .services,
  .projects,
  .animation,
  .quote {
    padding-left: 6%;
    padding-right: 6%;
  }

  .crew-card,
  .crew-card-wide {
    height: 320px;
  }

  .crew-card img {
    padding: 8px;
  }

  .quick-contact {
    flex-direction: column;
    align-items: flex-start;
  }

  form {
    padding: 22px;
  }
}
/* WIDE HANDMADE CABINET GALLERY CARD */

.project-pair.project-wide {
  grid-column: 1 / -1;
}

.handmade-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #111;
}

.handmade-gallery .photo-side {
  height: 340px;
}

.handmade-gallery .photo-side img {
  object-fit: cover;
  object-position: center;
}

.project-note {
  color: #cfcfcf;
  font-size: 1rem;
  line-height: 1.5;
  margin: -8px 22px 20px;
  max-width: 900px;
}

@media (max-width: 1100px) {
  .handmade-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .handmade-gallery {
    grid-template-columns: 1fr;
  }

  .handmade-gallery .photo-side {
    height: 300px;
  }
}
/* LIGHTBOX ARROWS + ZOOM */

.lightbox {
  overflow: hidden;
}

.lightbox-frame {
  width: min(92vw, 1450px);
  height: min(86vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox-frame.dragging {
  cursor: grabbing;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.08s ease-out;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 76px;
  min-height: 76px;
  padding: 0;
  border-radius: 12px;
  background: rgba(245, 169, 21, 0.95);
  color: #000;
  font-size: 3.2rem;
  font-weight: 900;
  z-index: 110;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-help {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.72);
  color: #f5a915;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.9rem;
  z-index: 110;
}

@media (max-width: 700px) {
  .lightbox-arrow {
    width: 46px;
    height: 58px;
    min-height: 58px;
    font-size: 2.4rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-help {
    width: calc(100% - 24px);
    text-align: center;
    font-size: 0.78rem;
  }
}
/* LIGHTBOX ARROWS + ZOOM */

.lightbox {
  overflow: hidden;
}

.lightbox-frame {
  width: min(92vw, 1450px);
  height: min(86vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox-frame.dragging {
  cursor: grabbing;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.08s ease-out;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 76px;
  min-height: 76px;
  padding: 0;
  border-radius: 12px;
  background: rgba(245, 169, 21, 0.95);
  color: #000;
  font-size: 3.2rem;
  font-weight: 900;
  z-index: 110;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-help {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.72);
  color: #f5a915;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.9rem;
  z-index: 110;
}

@media (max-width: 700px) {
  .lightbox-arrow {
    width: 46px;
    height: 58px;
    min-height: 58px;
    font-size: 2.4rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-help {
    width: calc(100% - 24px);
    text-align: center;
    font-size: 0.78rem;
  }
}
/* UPDATED HERO TEXT */

.hero .hero-title {
  color: #fff;
  font-size: clamp(3.6rem, 5.8vw, 6.5rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.052em;
  margin: 0 0 24px;
}

.hero-subtitle {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 36px;
}

.hero-subtitle br {
  display: block;
}

@media (max-width: 700px) {
  .hero .hero-title {
    font-size: clamp(2.85rem, 12vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-subtitle br {
    display: none;
  }
}

/* SITE CREDIT */

.footer {
  flex-wrap: wrap;
}

.site-credit {
  flex-basis: 100%;
  margin: -8px 0 0;
  color: #777;
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-credit a {
  display: inline;
  min-height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: #f5a915;
  font-size: inherit;
  font-weight: 900;
  text-decoration: none;
}

.site-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .site-credit {
    margin-top: 0;
  }
}