/* ===================================================
   AHRAR STUDIO — Ray Romano / Marquee Parallax Engine
   Font Family: Helvetica Neue
   =================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

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

ul,
ol {
  list-style: none;
}


/* ===================================================
   BUFFER / LOADING SCREEN
   =================================================== */
.preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1),
    visibility 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  pointer-events: all;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.preloader__spinner {
  width: 72px;
  height: auto;
  max-width: 80px;
  animation: rotateClockwise 1.6s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
  will-change: transform;
}

@keyframes rotateClockwise {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* ===================================================
   NAVBAR (Fixed Top)
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 45px;
}

/* Logo */
.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 24px;
  width: auto;
}

/* Right Controls */
.navbar__right {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Menu Button */
.navbar__menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.navbar__menu-btn:hover {
  opacity: 0.7;
}

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  width: 16px;
}

.navbar__hamburger span {
  display: block;
  height: 1.5px;
  background: #1a1a1a;
  border-radius: 1px;
}

.navbar__hamburger span:nth-child(1) {
  width: 100%;
}

.navbar__hamburger span:nth-child(2) {
  width: 100%;
}

.navbar__hamburger span:nth-child(3) {
  width: 100%;
}

.navbar__menu-label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #1a1a1a;
}

/* Contact Us Button */
.navbar__contact-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 24px;
  background: #7a151e;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  transition: background 0.3s ease;
}

.navbar__contact-btn:hover {
  background: #5e0f17;
}


/* ===================================================
   FULLSCREEN DARK MENU OVERLAY
   =================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1e1e1e;
  z-index: 500;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Menu Header */
.menu-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 45px;
  width: 100%;
}

.menu-overlay__logo img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.menu-overlay__logo:hover img {
  opacity: 0.8;
}

/* Close Button (✕) */
.menu-overlay__close-btn {
  position: relative;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  transition: transform 0.3s ease;
}

.menu-overlay__close-btn:hover {
  transform: rotate(90deg);
}

.menu-overlay__close-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1.5px;
  background: #888888;
  border-radius: 1px;
  transition: background-color 0.2s ease;
}

.menu-overlay__close-btn span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-overlay__close-btn span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-overlay__close-btn:hover span {
  background-color: #ffffff;
}

/* Menu Body */
.menu-overlay__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 45px 60px;
}

.menu-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-overlay__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.menu-overlay__item {
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-overlay.active .menu-overlay__item {
  opacity: 1;
  transform: translateY(0);
}

.menu-overlay.active .menu-overlay__item:nth-child(1) {
  transition-delay: 0.1s;
}

.menu-overlay.active .menu-overlay__item:nth-child(2) {
  transition-delay: 0.18s;
}

.menu-overlay.active .menu-overlay__item:nth-child(3) {
  transition-delay: 0.26s;
}

/* Links */
.menu-overlay__link {
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(5.5rem, 12vw, 20rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: #555555;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
}

.menu-overlay__link:hover,
.menu-overlay__link:focus,
.menu-overlay__link.active {
  color: #ffffff;
}


/* ===================================================
   FLOATING PARALLAX DOT NAVIGATION (#parallax-nav)
   (Matching Ray Romano Contracting right dot navigation)
   =================================================== */
#parallax-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: auto;
}

.parallax-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 5px;
}

.parallax-nav-item .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.parallax-nav-item:hover .dot {
  background: #6b1520;
  border-color: #6b1520;
  transform: scale(1.4);
}

.parallax-nav-item.active .dot {
  background: #6b1520;
  border-color: #6b1520;
  transform: scale(1.55);
  box-shadow: 0 0 8px rgba(107, 21, 32, 0.6);
}

/* Tooltip on dot hover */
.parallax-nav-item .nav-title {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(20, 20, 20, 0.9);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 3px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.parallax-nav-item:hover .nav-title {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* ===================================================
   SQUARESPACE MARQUEE PARALLAX WINDOW ENGINE
   =================================================== */
.parallax-item {
  position: relative;
  width: 100%;
}

/* The Viewport Window: Uses clip-path to create a hardware-accelerated fixed parallax portal */
.parallax-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 550px;
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
  overflow: hidden;
}

/* The Fixed Image Holder: stays pinned in the window during scrolling */
.parallax-banner__image-holder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.parallax-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 0.1s linear;
}

/* Fixed Overlay */
.parallax-banner__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.22) 0%,
      rgba(0, 0, 0, 0.0) 35%);
  pointer-events: none;
}

/* Content over image window */
.parallax-banner__content {
  position: absolute;
  z-index: 5;
}

.parallax-banner__content.bottom-left {
  bottom: 45px;
  left: 45px;
}

/* Tagline Badge */
.badge-tagline {
  display: inline-block;
}

.badge-tagline__line {
  display: inline-block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #111111;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 13px 26px;
  line-height: 1.2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Scroll Arrow on Hero */
.scroll-arrow {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.scroll-arrow:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

.scroll-arrow span {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.scroll-arrow__icon {
  width: 12px;
  height: 12px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  animation: bounceArrow 2s infinite ease-in-out;
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
  }

  50% {
    transform: rotate(45deg) translate(4px, 4px);
  }
}


/* ===================================================
   CURTAIN CONTENT CARDS (.parallax-content)
   =================================================== */
.parallax-content {
  position: relative;
  background: #ffffff;
  z-index: 10;
}

.parallax-content__inner {
  max-width: 1230px;
  margin: 0 auto;
  padding: 120px 0px;
  text-align: center;
}

.content-heading {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #1a1a1a;
  margin-bottom: 18px;
  text-align: center;
}

.content-paragraph,
.philosophy__text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.75;
  color: #222222;
  letter-spacing: 0.15px;
  text-align: center;
}

/* Projects / Work Page Styles */
.project-content .parallax-content__inner {
  padding: 95px 30px;
}

.project-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  text-align: center;
}

.project-subtitle {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #555555;
  margin-bottom: 22px;
  line-height: 1.5;
  text-align: center;
}

.project-link {
  display: inline-block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.project-link:hover {
  color: #7a151e;
  transform: translateY(-1px);
}

.philosophy__divider {
  display: none;
}


/* ===================================================
   FAQ ACCORDION SECTION
   =================================================== */
.faq-section {
  position: relative;
  background: #ffffff;
  padding: 120px 40px 100px;
  z-index: 10;
}

.faq__container {
  max-width: 680px;
  margin: 0 auto;
}

.faq__title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 2px;
  text-align: center;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-bottom: 1px solid #e8e8e8;
}

.faq__item {
  background: #ffffff;
  border: none;
  border-top: 1px solid #e8e8e8;
  border-radius: 0;
  overflow: hidden;
  transition: none;
}

.faq__item:hover {
  border-color: #e8e8e8;
  box-shadow: none;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.faq__question-text {
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  letter-spacing: 0.1px;
  padding-right: 20px;
}

.faq__icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: #333333;
}

/* Horizontal bar */
.faq__icon::before {
  top: 5.5px;
  left: 0;
  width: 12px;
  height: 1px;
}

/* Vertical bar */
.faq__icon::after {
  top: 0;
  left: 5.5px;
  width: 1px;
  height: 12px;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__question[aria-expanded="true"] .faq__question-text {
  color: #111111;
  font-weight: 500;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__question[aria-expanded="true"]+.faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
  padding: 0;
  transition: padding 0.35s ease;
}

.faq__question[aria-expanded="true"]+.faq__answer .faq__answer-inner {
  padding: 0 0 20px 0;
}

.faq__answer-inner p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #666666;
}


/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: #ffffff;
  color: #1a1a1a;
  padding: 85px 45px 35px;
  border-top: none;
  position: relative;
  z-index: 10;
}

.footer__container {
  max-width: 1620px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 75px;
  border-bottom: none;
}

.footer__brand {
  flex-shrink: 0;
}

.footer__logo img {
  height: 38px;
  width: auto;
  display: block;
}

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

.footer__nav-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #111111;
  transition: color 0.2s ease;
}

.footer__nav-link:hover {
  color: #7a151e;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.footer__social-btn:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

.footer__social-btn svg {
  display: block;
  width: 28px;
  height: 28px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 0;
}

.footer__contact-info {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
}

.footer__contact-label {
  color: #999999;
  font-weight: 400;
  font-size: 13px;
}

.footer__contact-link {
  color: #111111;
  font-weight: 500;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer__contact-link:hover {
  color: #7a151e;
}

.footer__copyright {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #777777;
  letter-spacing: 0.2px;
}


/* ===================================================
   ABOUT US PAGE STYLES
   =================================================== */
.about-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 80px 0 100px;
  z-index: 10;
}

.about-container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 45px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 60px 80px;
  align-items: stretch;
}

.about-info-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}

.about-text {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.68;
  color: #1f1f1f;
  max-width: 880px;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  align-items: flex-start;
  padding-top: 20px;
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 22px;
  border-left: 1px solid #e2e2e2;
}

.about-stat-item:first-child {
  padding-left: 0;
  border-left: none;
}

.about-stat-number {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(34px, 3.2vw, 42px);
  font-weight: 700;
  color: #111111;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.about-stat-label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #888888;
  line-height: 1.35;
  letter-spacing: 0.1px;
}

.about-image-col {
  display: flex;
  justify-content: flex-end;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 3.8 / 4.7;
  overflow: hidden;
  box-shadow: none;
}

.about-portrait-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 15%;
}


/* ===================================================
   PROJECT DETAIL PAGE & GALLERY STYLES
   =================================================== */
.project-detail-intro {
  position: relative;
  background: #ffffff;
  padding: 120px 45px 100px;
  z-index: 10;
}

.project-detail-container {
  max-width: 1620px;
  margin: 0 auto;
}

.project-detail-text-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.project-detail-description {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #222222;
  letter-spacing: 0.1px;
}

.project-gallery-section {
  position: relative;
  background: #ffffff;
  padding: 0 0 140px;
  z-index: 10;
}

.project-gallery-container {
  max-width: 1620px;
  margin: 0 auto;
  padding: 0 45px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-item__inner {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f4f4f4;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

/* Back to Projects Navigation */
.project-navigation-section {
  position: relative;
  background: #ffffff;
  padding: 10px 0 110px;
  text-align: center;
  z-index: 10;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #111111;
  padding: 14px 32px;
  border: 1px solid #111111;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.project-back-link:hover {
  background-color: #111111;
  color: #ffffff;
  transform: translateY(-2px);
}

.project-back-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.project-back-link:hover .project-back-arrow {
  transform: translateX(-4px);
}


/* ===================================================
   CONTACT FORM MODAL POPUP
   =================================================== */
.contact-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 2;
  width: 860px;
  max-width: 92vw;
  max-height: 90vh;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}

.contact-modal.active .contact-modal__dialog {
  transform: scale(1) translateY(0);
}

/* Image Side */
.contact-modal__image-side {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
  background: #f0f0f0;
}

.contact-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Form Side */
.contact-modal__form-side {
  padding: 34px 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.contact-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.contact-modal__logo {
  height: 40px;
  width: auto;
}

.contact-modal__close-btn {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  transition: transform 0.25s ease;
}

.contact-modal__close-btn:hover {
  transform: rotate(90deg);
}

.contact-modal__close-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: #222222;
  border-radius: 1px;
}

.contact-modal__close-btn span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-modal__close-btn span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Form Elements */
.contact-modal__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-modal__form .form-group {
  width: 100%;
}

.contact-modal__form .form-control {
  width: 100%;
  padding: 13px 16px;
  background: #f5f5f7;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13.5px;
  color: #1a1a1a;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.contact-modal__form .form-control::placeholder {
  color: #555555;
  font-size: 13px;
}

.contact-modal__form .form-control:focus {
  background: #ffffff;
  border-color: #7a151e;
}

.contact-modal__form textarea.form-control {
  min-height: 110px;
  resize: none;
}

.contact-modal__submit-btn {
  width: 100%;
  padding: 14px 20px;
  margin-top: 4px;
  background: #8a151b;
  color: #ffffff;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.contact-modal__submit-btn:hover {
  background: #6a0f14;
}

.contact-modal__submit-btn:active {
  transform: scale(0.99);
}

.contact-modal__submit-btn:disabled {
  cursor: not-allowed;
  background: #666666 !important;
}

.form-success-message {
  display: none;
  padding: 12px 14px;
  margin-top: 8px;
  background: #eef7ee;
  border: 1px solid #b7deb7;
  color: #1b631b;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
  border-radius: 2px;
}

.form-error-message {
  display: none;
  padding: 12px 14px;
  margin-top: 8px;
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  color: #9b1c1c;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
  border-radius: 2px;
}

.form-success-message.visible,
.form-error-message.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===================================================
   SCROLL REVEALS & ANIMATIONS
   =================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}