@import url("https://fonts.googleapis.com/css2?family=Petit+Formal+Script&display=swap");
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* Crisp White */
  color: #111111;
  /* Almost Black */
  font-family: "Montserrat", sans-serif;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* ----- Site Loader ----- */
#site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#site-loader img {
  max-width: 25em;
  height: auto;
}

/* Full-Page Scroll Container */
#fp-container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* Individual Full-Page Sections */
.fp-section {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  padding: 15vh 5vw;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  overflow: hidden;
  will-change: transform, opacity, visibility;
  display: flex;
}

.fp-section.active {
  visibility: visible;
  opacity: 1;
  z-index: 2;
}

/* Minimalist Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 5vw;
  z-index: 100;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
}

/* Slide out when scrolling down */
header.hide-top {
  transform: translateY(-100%);
}

/* Slide in at the bottom */
header.scrolled-bottom {
  top: auto;
  bottom: 0;
  transform: translateY(100%);
  padding: 20px 5vw;
}

header.scrolled-bottom.show-bottom {
  transform: translateY(0);
}

header.scrolled-bottom .logo-img.logo-full {
  display: none;
}

header.scrolled-bottom .logo-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: brightness(1.1) blur(2px) url(#liquid-light);
  -webkit-backdrop-filter: brightness(1.1) blur(2px) url(#liquid-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

header.scrolled-bottom .logo-img.logo-icon {
  display: block;
  height: 2em;
  width: auto;
}

.logo {
  cursor: pointer;
  z-index: 110;
  position: relative;
}

.logo-img {
  height: 6em;
  transition: height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-img.logo-icon,
.logo-icon-container {
  display: none;
}

/* Navigation Panel (Bottom-Left) */
.nav-menu {
  position: fixed;
  bottom: 0;
  left: 30px;
  width: 380px;
  max-height: calc(100vh - 60px);
  background-color: #111111;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 30px;
  border-radius: 12px 12px 0 0; /* Flat bottom, rounded top like a card */
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  will-change: transform, opacity;
  /* Start fully below the screen */
  transform: translate3d(0, 100%, 0);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.7s;
}
.nav-menu::-webkit-scrollbar {
  width: 4px;
}
.nav-menu::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.nav-menu.nav-active {
  visibility: visible;
  /* Slide up and snap to bottom */
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-close-btn {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.nav-heading {
  font-family: "Petit Formal Script", cursive;
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
}

.nav-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #ccc;
  margin: 0;
}

.nav-menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.nav-menu nav a {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
  line-height: 1;
  opacity: 0;
  transform: translateX(-20px);
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

/* Entrance staggered animations */
.nav-menu.nav-active nav a:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.3s + 1 * 0.05s), opacity 0.4s ease calc(0.3s + 1 * 0.05s);
}

.nav-menu.nav-active nav a:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.3s + 2 * 0.05s), opacity 0.4s ease calc(0.3s + 2 * 0.05s);
}

.nav-menu.nav-active nav a:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.3s + 3 * 0.05s), opacity 0.4s ease calc(0.3s + 3 * 0.05s);
}

.nav-menu.nav-active nav a:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.3s + 4 * 0.05s), opacity 0.4s ease calc(0.3s + 4 * 0.05s);
}

.nav-menu.nav-active nav a:nth-child(5) {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.3s + 5 * 0.05s), opacity 0.4s ease calc(0.3s + 5 * 0.05s);
}

.nav-menu.nav-active nav a:nth-child(6) {
  opacity: 1;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) calc(0.3s + 6 * 0.05s), opacity 0.4s ease calc(0.3s + 6 * 0.05s);
}

.nav-menu.interactive {
  pointer-events: all;
}

.nav-menu.interactive nav a {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.nav-menu.interactive nav a:hover {
  transform: translateX(15px);
  color: #e60000;
}

.nav-footer {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.nav-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-socials a {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  color: #aaa;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}
.nav-socials a:hover {
  color: #fff;
}

.nav-qr {
  width: 60px;
  height: 60px;
  background: #fff;
  padding: 3px;
  border-radius: 4px;
}
.nav-qr img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Red line hover effect for nav */
nav a::after,
.rate-card a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e60000;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-menu.interactive nav a:hover::after,
.rate-card a:hover::after {
  transform: scaleX(1);
}

/* Accessibility: Support for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav-menu,
  .nav-menu.nav-active,
  nav a,
  .nav-menu.nav-active nav a,
  .nav-menu.interactive nav a,
  .rate-card a {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    transform: none !important;
  }
}
/* The Hero Section */
.hero {
  /* padding and position are handled by .fp-section now, but we align content */
  align-items: center;
  justify-content: flex-start;
}

/* Mixed Typography */
.hero-h1 .serif {
  font-family: "Montserrat", sans-serif;
  font-size: 7vw;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -2px;
  font-weight: 900;
}

.hero-h1 {
  font-family: "Petit Formal Script", cursive;
  font-weight: normal;
  text-transform: lowercase;
  font-size: 7vw;
  color: #111111;
  letter-spacing: 0;
  margin-bottom: -5vh;
}

/* Hover effect on specific words */
.hover-red {
  transition: color 0.3s ease;
  cursor: pointer;
}

.hover-red:hover {
  color: #e60000;
  /* Artinova Red */
}

.menu-disclaimer {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 3px;
  color: #e60000;
  /* Artinova Red */
  display: block;
}

/* The Spinning Badge */
.badge-container {
  position: absolute;
  bottom: 20%;
  left: 90%;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinning-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: spin 10s linear infinite;
  pointer-events: none;
}

/* The Arrow inside the badge */
.arrow-link {
  font-family: "Petit Formal Script", cursive;
  text-decoration: none;
  cursor: pointer;
  font-size: 4rem;
  font-weight: 100;
  color: #e60000;
  /* Red Accent */
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/* A playful hand-drawn SVG arrow */
.scribble-arrow {
  position: absolute;
  top: -30px;
  right: 20%;
  width: 80px;
  stroke: #e60000;
  fill: none;
  stroke-width: 2;
}

/* ----- Liquid Glass Cursor System ----- */
@media (pointer: fine) {
  body,
  html,
  a,
  button,
  .logo {
    cursor: none !important;
  }
}
#liquid-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  margin-top: -32px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  backdrop-filter: brightness(1.1) blur(0.5px) url(#liquid-light);
  -webkit-backdrop-filter: brightness(1.1) blur(0.5px) url(#liquid-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease-out, opacity 0.3s ease, width 0.3s ease, height 0.3s ease, margin 0.3s ease;
  opacity: 0;
  will-change: transform;
}

#liquid-cursor.visible {
  opacity: 1;
}

#liquid-cursor.hovering {
  width: 128px;
  height: 128px;
  margin-left: -64px;
  margin-top: -64px;
  backdrop-filter: brightness(1.3) blur(0px) url(#liquid-light);
  -webkit-backdrop-filter: brightness(1.3) blur(0px) url(#liquid-light);
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.08);
}

.cursor-inner-border {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
  #liquid-cursor {
    display: none;
  }
  body {
    cursor: auto !important;
  }
}
/* The Layout Grid */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Massive Ethos Statement */
.ethos h2 {
  font-size: 5vw;
  line-height: 1;
  margin: 0 0 30px 0;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.ethos .serif {
  font-family: "Petit Formal Script", cursive;
  font-weight: normal;
  text-transform: lowercase;
  font-style: italic;
  color: #111111;
}

.ethos p {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 400px;
  color: #555;
  font-weight: 400;
}

/* The Data & Identity Blocks */
.data-art {
  display: flex;
  flex-direction: column;
  gap: 60px;
  border-left: 1px solid #ddd;
  /* Sleek editorial divider */
  padding-left: 50px;
}

/* Animated Number */
.stat-block {
  position: relative;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #e60000;
  /* Artinova Red */
  font-weight: bold;
  display: block;
  margin-bottom: -10px;
}

.stat-number {
  font-size: 12vw;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -5px;
  margin: 0;
  display: inline-block;
}

.stat-suffix {
  font-family: "Petit Formal Script", cursive;
  font-size: 4vw;
  font-style: italic;
  font-weight: normal;
}

/* The Identity Block */
.identity-block h3 {
  font-size: 4vw;
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Interaction: Text bleeds red and hollows out on hover */
.identity-block h3:hover {
  color: #e60000;
  transform: scale(1.02);
  transform-origin: left center;
}

.black-span:hover {
  color: #111111;
}

/* Services Full-Page Section */
.fp-section.services-section {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto; /* allow inner scroll if content taller than viewport */
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
}

.services-section {
  padding: 10vh 5vw;
}

.section-title {
  font-size: clamp(2rem, 4vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-top: 0;
  margin-bottom: clamp(24px, 4vh, 60px);
  width: 80%;
}

.services-right {
  display: flex;
  align-items: flex-end;
  -webkit-overflow-scrolling: touch; /* smooth on iOS */
  width: 100%;
}

.section-title .serif {
  font-family: "Petit Formal Script", cursive;
  font-style: italic;
  text-transform: lowercase;
  font-weight: normal;
}

/* Rate Card Button */
.rate-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7em;
  height: 7em;
  border-radius: 50%;
  border: 1px solid #e60000;
  margin-bottom: 2em;
}

.rate-card a {
  font-family: "Petit Formal Script", cursive;
  text-decoration: none;
  color: #111111;
  font-size: 2rem;
  text-transform: lowercase;
  line-height: 1;
  will-change: transform, opacity;
  transform: translateX(-40px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
}

/* The Interactive Index (Accordion) */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid #111;
  width: 100%;
}

.service-item {
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  /* Keeps the expanding content neat */
}

/* The clickable row */
.service-header {
  display: flex;
  align-items: center;
  padding: clamp(18px, 3vh, 40px) 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Editorial Numbering */
.service-number {
  font-family: "Petit Formal Script", cursive;
  font-style: italic;
  font-size: 2rem;
  width: 10%;
  color: #888;
  transition: color 0.3s ease;
}

/* Service Title */
.service-title {
  font-size: 4vw;
  margin: 0;
  width: 85%;
  text-transform: uppercase;
  letter-spacing: -1px;
  transition: all 0.3s ease;
}

/* The Plus Icon */
.service-icon {
  font-size: 2rem;
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* HOVER EFFECTS */
.service-header:hover .service-title {
  color: #e60000;
  /* Artinova Red */
}

.service-header:hover .service-number {
  color: #e60000;
}

/* ACTIVE (OPEN) STATE */
.service-item.active .service-icon {
  transform: rotate(45deg);
  /* Turns the + into an X */
  color: #e60000;
}

.service-item.active .service-title {
  color: #e60000;
  -webkit-text-stroke: 0px;
}

/* The Hidden Content Panel */
.service-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding-left: 10%;
  /* Aligns with the title */
  padding-right: 5vw;
}

.service-item.active .service-content {
  max-height: 200px;
  /* Expands open */
  opacity: 1;
  padding-bottom: 40px;
}

.service-desc {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  max-width: 600px;
  margin: 0 0 20px 0;
}

/* Playful Action Button */
.action-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111;
  text-decoration: none;
  border-bottom: 2px solid #e60000;
  padding-bottom: 5px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.action-link:hover {
  color: #e60000;
}

/* Work / Portfolio Section */
.fp-section.work-section {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 15vh 5vw;
}

/* Portfolio Typography & Grid */
.portfolio-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid #111;
  width: 100%;
}

.portfolio-item {
  border-bottom: 2px solid transparent;
  overflow: hidden;
  margin-bottom: 0px;
}

.portfolio-header {
  cursor: pointer;
  padding: 10px 0;
  transition: all 0.3s ease;
  opacity: 0.3; /* inactive state */
}

.portfolio-title {
  font-family: "Petit Formal Script", cursive;
  font-size: clamp(2rem, 2vw, 3rem);
  margin: 0;
  font-weight: 100;
  line-height: 1;
  color: #000000;
  transition: color 0.3s ease, transform 0.3s ease;
}

.portfolio-title .sans {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
}

/* Hover states */
@media (pointer: fine) {
  .portfolio-header:hover {
    opacity: 0.6;
  }
  .portfolio-header:hover .portfolio-title {
    color: #e60000;
  }
}
/* Active state */
.portfolio-item.active {
  border-bottom: 1px solid #111;
}

.portfolio-item.active .portfolio-header {
  opacity: 1;
}

.portfolio-item.active .portfolio-title {
  color: #111;
}

.portfolio-content {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
  padding-bottom: 0;
  overflow: hidden;
}

.portfolio-item.active .portfolio-content {
  max-height: 3500px; /* enough to fit images gracefully */
  opacity: 1;
  padding-bottom: 60px;
  padding-top: 40px;
}

/* Portfolio Meta Info */
.portfolio-meta-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  color: #111;
  flex-wrap: wrap;
  gap: 20px;
}

.portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.portfolio-meta-link {
  color: #111;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-meta-link:hover {
  color: #e60000;
}

/* Portfolio Images Grid */
.portfolio-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.portfolio-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
  background-color: #fafafa;
}

.portfolio-img:hover {
  transform: translateY(-10px);
}

/* Responsive Portfolio */
@media (max-width: 1024px) {
  .portfolio-images {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .portfolio-images {
    grid-template-columns: 1fr;
  }
  .portfolio-meta-container {
    flex-direction: column;
  }
}
/* Custom Thin Scrollbar */
.fp-section {
  scroll-behavior: smooth;
}

.service-item.active .service-title {
  color: #e60000;
  -webkit-text-stroke: 0px;
}

/* The Hidden Content Panel */
.service-content {
  max-height: 0;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  padding-left: 10%;
  /* Aligns with the title */
  padding-right: 5vw;
}

.service-item.active .service-content {
  max-height: 200px;
  /* Expands open */
  opacity: 1;
  padding-bottom: 40px;
}

.service-desc {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  max-width: 600px;
  margin: 0 0 20px 0;
}

/* Playful Action Button */
.action-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111;
  text-decoration: none;
  border-bottom: 2px solid #e60000;
  padding-bottom: 5px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.action-link:hover {
  color: #e60000;
}

/* Work / Portfolio Section */
.fp-section.work-section {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 15vh 5vw;
}

/* Portfolio Typography & Grid */
.portfolio-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid #111;
  width: 100%;
}

.portfolio-item {
  border-bottom: 2px solid transparent;
  overflow: hidden;
  margin-bottom: 0px;
}

.portfolio-header {
  cursor: pointer;
  padding: 10px 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  opacity: 1; /* Always fully visible/black when inactive */
}

/* Animating Line underneath/strikethrough */
.portfolio-header::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #e60000;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(-50%);
  z-index: 1;
}

.portfolio-title {
  font-family: "Petit Formal Script", cursive;
  font-size: clamp(0.8rem, 2vw, 3rem);
  margin: 0;
  font-weight: 100;
  line-height: 1;
  color: #000000;
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 2;
}

.portfolio-title .sans {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* Hover states */
@media (pointer: fine) {
  .portfolio-header:hover .portfolio-title {
    color: #e60000;
    transform: translateX(30px);
  }
  .portfolio-header:hover::after {
    width: 50%;
  }
}
/* Active state */
.portfolio-item.active {
  border-bottom: 1px solid #111;
}

.portfolio-item.active .portfolio-header {
  opacity: 1;
}

.portfolio-item.active .portfolio-title {
  color: #111;
}

.portfolio-content {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
  padding-bottom: 0;
  overflow: hidden;
}

.portfolio-item.active .portfolio-content {
  max-height: 3500px; /* enough to fit images gracefully */
  opacity: 1;
  padding-bottom: 60px;
  padding-top: 40px;
}

/* Portfolio Meta Info */
.portfolio-meta-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  color: #111;
  flex-wrap: wrap;
  gap: 20px;
}

.portfolio-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Portfolio Images Grid */
.portfolio-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.portfolio-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 3/4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
  background-color: #fafafa;
}

.portfolio-img:hover {
  transform: translateY(-10px);
}

/* Responsive Portfolio */
@media (max-width: 1024px) {
  .portfolio-images {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .portfolio-images {
    grid-template-columns: 1fr;
  }
  .portfolio-meta-container {
    flex-direction: column;
  }
}
/* Custom Thin Scrollbar */
.fp-section {
  scroll-behavior: smooth;
}

.fp-section::-webkit-scrollbar {
  width: 4px;
}

.fp-section::-webkit-scrollbar-track {
  background: transparent;
}

.fp-section::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.2);
  border-radius: 4px;
}

.fp-section::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 0, 0, 0.8);
}

/* --- Laptop Mockup Container --- */
.portfolio-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  background: #dedede;
  border-radius: 8px;
}

.portfolio-mockup-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: blur(8px) brightness(0.85);
  z-index: 0;
  transition: transform 0.6s ease;
}

.portfolio-mockup-wrapper:hover .portfolio-mockup-bg {
  transform: scale(1.05);
}

.desk-surface {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(to bottom, #dcdcdc 0%, #ededed 100%);
  z-index: 1;
  border-top: 1px solid #d0d0d0;
  box-shadow: inset 0 15px 15px -15px rgba(0, 0, 0, 0.1);
}

.laptop-device {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease;
  z-index: 2;
  filter: drop-shadow(0 25px 15px rgba(0, 0, 0, 0.25));
  transform: translate(-10%, 5%);
}

.mobile-device {
  position: absolute;
  bottom: 5%;
  right: -2%;
  width: 100px;
  height: 211px; /* 100 * (19/9) */
  background: #111;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 2px;
  box-shadow: -8px 15px 25px rgba(0, 0, 0, 0.5);
  z-index: 4;
  box-sizing: border-box;
  transition: transform 0.4s ease;
}

.mobile-device * {
  pointer-events: none;
}

.mobile-device .mobile-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.mobile-device iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 375px; /* Forced mobile resolution */
  height: 812px;
  border: none;
  overflow: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: scale(0.256); /* Scales 375px to fit the ~96px screen width */
  transform-origin: top left;
}

.mobile-device iframe::-webkit-scrollbar {
  display: none;
}

.mockup-instruction {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #e60000;
  font-family: "poppins", sans-serif;
  font-weight: 500;
  z-index: 5;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .laptop-device {
    width: 95%;
  }
}
/* Prevent laptop inner elements from intercepting pointer events */
.laptop-device * {
  pointer-events: none;
}

.laptop-screen {
  width: 100%;
  aspect-ratio: 16/10;
  background: #111;
  border: 3px solid #333;
  border-radius: 6px 6px 0 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.laptop-browser-bar {
  width: 100%;
  height: 20px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 8px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
}
.laptop-browser-bar .dots {
  display: flex;
  gap: 3px;
}
.laptop-browser-bar .dots .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbb;
}
.laptop-browser-bar .tab {
  height: 14px;
  background: #fff;
  margin-left: 10px;
  padding: 0 10px;
  border-radius: 3px 3px 0 0;
  font-size: 7px;
  display: flex;
  align-items: center;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100px;
}

.laptop-screen iframe {
  width: 360%; /* 100% * 3.6 = approx 1440px if container is 400px */
  height: 360%;
  border: none;
  border-radius: 0;
  background: #fff;
  overflow: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transform: scale(0.2777777778); /* 1 / 3.6 */
  transform-origin: top left;
  flex: none;
}

.laptop-screen iframe::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.laptop-base {
  width: 112%;
  height: 10px;
  background: #c0c0c0;
  border-radius: 0 0 8px 8px;
  position: relative;
  z-index: 3;
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
}

.laptop-trackpad {
  width: 20%;
  height: 3px;
  background: #a0a0a0;
  border-radius: 0 0 3px 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Tooltip and Link */
.laptop-mockup-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: block;
  outline: none;
  cursor: none; /* Let the custom liquid cursor handle it */
}

.mockup-tooltip {
  position: fixed; /* For JS positioning relative to viewport */
  z-index: 10000;
  pointer-events: none;
  background: rgba(17, 17, 17, 0.95);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Fallback/Keyboard Focus state styling */
.laptop-mockup-link:focus-visible .mockup-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  opacity: 1;
  visibility: visible;
}

.laptop-mockup-link:focus-visible {
  box-shadow: inset 0 0 0 4px #e60000;
  border-radius: 8px;
}

/* --- Contact Section --- */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.contact-section .contact-container {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-section .section-title {
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
}
.contact-section .qrcode-wrapper {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.contact-section .qrcode-wrapper .qrcode-label {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-top: 15px;
  color: #111;
}
.contact-section .contact-info-item {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.contact-section .contact-info-item .contact-label {
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.contact-section .contact-info-item .contact-link {
  color: #111;
  text-decoration: none;
  font-weight: 200;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}
.contact-section .contact-info-item .contact-link:hover {
  border-color: #111;
}
.contact-section .contact-info-item .contact-link[href^="tel:"]:hover {
  border-color: #e60000;
}/*# sourceMappingURL=style.css.map */