@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Petit+Formal+Script&display=swap");
@import url("https://use.typekit.net/bzm8tln.css");
body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* Crisp White */
  color: #111111;
  /* Almost Black */
  font-family: poppins, sans-serif;
  /* Full-page scroll defaults (index page) */
}
body:not(.portfolio-page):not(.has-parallax-footer),
html:not(.portfolio-page):not(.has-parallax-footer) {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* Ensure subpages can scroll naturally */
body.portfolio-page,
body.has-parallax-footer,
html.portfolio-page,
html.has-parallax-footer {
  overflow-y: auto !important;
  touch-action: auto !important;
  height: auto !important;
  -webkit-overflow-scrolling: touch;
}

/* ----- 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: "megrim", sans-serif;
  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) 0.35s, opacity 0.4s ease 0.35s;
}

.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) 0.4s, opacity 0.4s ease 0.4s;
}

.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) 0.45s, opacity 0.4s ease 0.45s;
}

.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) 0.5s, opacity 0.4s ease 0.5s;
}

.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) 0.55s, opacity 0.4s ease 0.55s;
}

.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) 0.6s, opacity 0.4s ease 0.6s;
}

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

.rate-card a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 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: "megrim", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  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: "megrim", sans-serif;
  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: "megrim", sans-serif;
  font-weight: normal;
  text-transform: uppercase;
  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: "megrim", sans-serif;
  font-size: 4vw;
  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%;
  color: #111111;
}

.section-title .serif {
  font-family: "megrim", sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  color: #e60000;
}

/* 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: "megrim", sans-serif;
  text-decoration: none;
  color: #e60000;
  font-size: 2rem;
  text-transform: uppercase;
  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: "megrim", sans-serif;
  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 {
  overflow: hidden;
  padding: 0;
  flex-direction: row;
  align-items: stretch;
}

.work-container {
  display: grid;
  grid-template-columns: 30% 70%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Left sticky title column */
.portfolio-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15vh clamp(20px, 3vw, 60px) 15vh clamp(24px, 5vw, 80px);
  box-sizing: border-box;
  border-right: 1px solid #eee;
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

/* Right scrollable list column */
#portfolio-scroll-col {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.2) transparent;
  padding: 10vh clamp(24px, 5vw, 80px) 20vh clamp(24px, 4vw, 60px);
  box-sizing: border-box;
  border-top: none;
}

#portfolio-scroll-col::-webkit-scrollbar {
  width: 4px;
}

#portfolio-scroll-col::-webkit-scrollbar-track {
  background: transparent;
}

#portfolio-scroll-col::-webkit-scrollbar-thumb {
  background: rgba(17, 17, 17, 0.2);
  border-radius: 4px;
}

#portfolio-scroll-col::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 0, 0, 0.8);
}

/* ===== Portfolio Items ===== */
.portfolio-item {
  border-bottom: 1px solid #e5e5e5;
  will-change: transform, opacity;
  transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden siblings when an item expands */
.portfolio-item.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Expanded full-viewport overlay — initial positioned-fixed state applied by JS */
.portfolio-item.is-expanded {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  padding: 80px clamp(24px, 8vw, 120px) 120px;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Sidebar push-to-top when item is expanded */
.portfolio-sidebar.is-pushed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Close button injected by JS */
.portfolio-close-btn {
  position: fixed;
  top: clamp(15px, 3vh, 30px);
  right: clamp(15px, 4vw, 30px);
  z-index: 10001;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 350ms cubic-bezier(0.4, 0, 0.2, 1), transform 350ms cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.portfolio-close-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-close-btn:hover {
  background: #e60000;
}

/* Prev/Next navigation bars inside expanded item */
.portfolio-nav-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  cursor: pointer;
  padding: 18px 0;
  border-top: 1px solid #eee;
  transition: color 0.3s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.portfolio-nav-bar:hover {
  color: #e60000;
}

.portfolio-nav-bar.prev-bar {
  margin-bottom: 20px;
  border-top: none;
  border-bottom: 1px solid #eee;
}

.portfolio-nav-bar.next-bar {
  margin-top: 40px;
}

.portfolio-nav-bar .nav-arrow {
  font-size: 1.1rem;
}

.portfolio-nav-bar .nav-project-name {
  font-family: "megrim", sans-serif;
  font-size: 1.1rem;
  color: #111;
  letter-spacing: 0;
  text-transform: none;
}

@media (min-width: 769px) {
  .portfolio-item.is-expanded .portfolio-nav-bar.next-bar {
    position: absolute;
    top: 90px;
    right: clamp(24px, 8vw, 120px);
    margin-top: 0;
    border-top: none;
    padding: 0;
    z-index: 100;
  }
}
/* 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;
}

/* ===== Portfolio Header & Content (accordion inside right column) ===== */
.portfolio-header {
  cursor: pointer;
  padding: 16px 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

/* Animated red underline on hover */
.portfolio-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #e60000;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.portfolio-title {
  font-family: "megrim", sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 2.8rem);
  margin: 0;
  font-weight: 100;
  line-height: 1.1;
  color: #000;
  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;
  font-size: 0.55em;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  color: #555;
  margin-top: 4px;
}

/* Hover states */
@media (pointer: fine) {
  .portfolio-header:hover .portfolio-title {
    color: #e60000;
    transform: translateX(16px);
  }
  .portfolio-header:hover::after {
    width: 40%;
  }
}
/* Content panel — hidden by default, shown when item is expanded */
.portfolio-content {
  display: none;
  padding-bottom: 60px;
  padding-top: 30px;
}

.portfolio-item.is-expanded .portfolio-content {
  display: block;
}

/* 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 breakpoints ===== */
@media (max-width: 1024px) {
  .portfolio-images {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .work-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    height: 100vh;
  }
  .portfolio-sidebar {
    position: relative;
    height: auto;
    padding: 6vh 6vw 3vh;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  #portfolio-scroll-col {
    height: calc(100vh - 140px);
  }
}
@media (max-width: 600px) {
  .portfolio-images {
    grid-template-columns: 1fr;
  }
  .portfolio-meta-container {
    flex-direction: column;
  }
}
/* ===== Reduced Motion fallback ===== */
@media (prefers-reduced-motion: reduce) {
  .portfolio-item,
  .portfolio-header,
  .portfolio-header::after,
  .portfolio-title,
  .portfolio-sidebar,
  .portfolio-close-btn,
  .portfolio-nav-bar {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
  }
}
/* 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);
}

/* --- Visit-card fallback (for sites that block iframe embedding) --- */
.portfolio-visit-card .portfolio-visit-card-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 30px;
}

.portfolio-visit-card-url {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1.3rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 18px;
  border-radius: 30px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.portfolio-visit-card-arrow {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-visit-card:hover .portfolio-visit-card-arrow {
  transform: translate(4px, -4px) scale(1.1);
}

/* --- 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(2px) brightness(0.75);
  z-index: 0;
  transition: transform 0.6s ease;
}

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

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

/* ----- Portfolio Fullscreen Page Styles ----- */
body.portfolio-page {
  overflow-y: auto;
  touch-action: auto;
  -webkit-overflow-scrolling: touch;
  background-color: #f0f0f0;
}

.portfolio-fullscreen-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f0f0f0; /* Ensure solid background */
}

.portfolio-fullscreen-img {
  width: 100vw;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  -o-object-fit: cover;
     object-fit: cover;
  background-color: #f0f0f0;
}

.portfolio-story-container {
  height: 90vh;
  display: flex;
  background-color: #f0f0f0;
  background-image: url(../img/portfolio/bheka/bheka-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: end;
  align-items: start;
  z-index: 100;
  padding: 100px;
}

.zambak-story-container {
  height: 90vh;
  display: flex;
  background-color: #f0f0f0;
  background-image: url(../img/portfolio/zambak/zambak-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: end;
  align-items: start;
  z-index: 100;
  padding: 100px;
}

.portfolio-story-text {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  text-align: left;
  width: 55%;
  color: #fafafa;
  font-weight: 100;
}

.portfolio-story-text .bheka-span {
  color: #e60000;
  font-family: "megrim", serif;
  font-size: 3.5rem;
}

.red-span {
  color: #e60000;
}

/* Sticky Project Info Component */
.project-info-container {
  position: fixed;
  top: 2em;
  right: 2em;
  z-index: 1000;
  width: 600px;
  display: flex;
  flex-direction: column;
  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);
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-info-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.project-info-btn {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  position: relative;
}
.project-info-btn .project-name {
  color: #e60000;
  font-family: "megrim", serif;
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
}
.project-info-btn .more-info {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  border-bottom: 1px dotted currentColor;
  text-transform: lowercase;
}

.project-info-panel-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-info-container.active .project-info-panel-wrapper {
  grid-template-rows: 1fr;
}

.project-info-panel-inner {
  min-height: 0;
  overflow: hidden;
}

.project-info-content {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 15px;
}

.project-info-title {
  font-family: "megrim", sans-serif;
  color: #fafafa;
  font-size: 1.8rem;
  margin: 0;
  text-transform: uppercase;
}

.project-info-meta p {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  margin: 5px 0;
  color: #fafafa;
  font-weight: 300;
}

.project-info-meta strong {
  color: #e60000;
  font-weight: 600;
}

.project-info-desc {
  font-family: "poppins", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 200;
  color: #fafafa;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #c70000;
}

/* ============================================================
   WHAT WE DO SECTION  (wwd-*)
   Dark panel with sticky-header kicking scroll mechanic.
   Uses its own internal scroll column so GSAP ScrollTrigger
   can reference #wwd-scroll-col as the scroller.
   ============================================================ */
/* ---- Section shell ---- */
.fp-section.wwd-section {
  padding: 0;
  background-color: #fdfcfc;
  color: rgba(17, 17, 17, 0.0666666667);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ---- Internal scroll column ---- */
.wwd-scroll-col {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 1.6rem;
  box-sizing: border-box;
  /* Smooth momentum scroll on iOS */
  scroll-behavior: auto;
}

.wwd-scroll-col::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .wwd-scroll-col {
    padding: 16rem 3.2rem 19rem;
  }
}
@media (min-width: 1200px) {
  .wwd-scroll-col {
    padding: 16rem 4.8rem 7.8rem;
  }
}
/* ---- Section index badge ---- */
.wwd-section-index {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-family: poppins, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: #e60000;
  margin-bottom: 4rem;
  letter-spacing: 0;
}

.wwd-si-sep {
  display: inline-block;
  height: 0.1rem;
  width: 1.6rem;
  background-color: #fffde2;
}

/* ---- 6/8/14-column responsive grid ---- */
.wwd-services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
}

@media (min-width: 768px) {
  .wwd-services-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 3.2rem;
  }
}
@media (min-width: 1200px) {
  .wwd-services-grid {
    grid-template-columns: repeat(14, 1fr);
    gap: 2.4rem;
  }
}
/* ---- Sticky Images Container ---- */
.wwd-image-sticky {
  display: none;
}

@media (min-width: 1200px) {
  .wwd-image-sticky {
    display: block;
    grid-column: 1/4;
    position: sticky;
    top: 25vh;
    height: 60vh;
    border-radius: 12px;
    overflow: hidden;
    z-index: 10;
  }
}
.wwd-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: scale(1.05);
  border-radius: inherit;
}

.wwd-img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* ---- Content wrapper — offset from left on large screens ---- */
.wwd-content-wrapper {
  grid-column: 1/-1;
}

@media (min-width: 768px) {
  .wwd-content-wrapper {
    grid-column: 3/-1;
  }
}
@media (min-width: 1200px) {
  .wwd-content-wrapper {
    grid-column: 4/-1;
  }
}
/* ---- Individual service block ---- */
.wwd-service-item {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.6rem;
  color: rgba(255, 253, 226, 0.8);
  transition: color 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin-bottom: 2rem;
}

.wwd-service-item.wwd-active {
  color: #e60000;
}

@media (min-width: 768px) {
  .wwd-service-item {
    gap: 3.2rem;
  }
}
@media (min-width: 1200px) {
  .wwd-service-item {
    grid-template-columns: repeat(11, 1fr);
    gap: 2.4rem;
    margin-bottom: 0;
    padding-bottom: 35rem;
    position: relative;
  }
}
/* ---- Pin header (number + category) ---- */
.wwd-pin-header {
  display: none;
}

@media (min-width: 1200px) {
  .wwd-pin-header {
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    height: -moz-fit-content;
    height: fit-content;
    z-index: 5;
  }
}
.wwd-num-label,
.wwd-cat-label {
  display: none;
  font-family: Megrim, serif;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  color: inherit;
  opacity: 0.3;
  transform: scale(0.9);
  transform-origin: left center;
  transition: opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (min-width: 1200px) {
  .wwd-num-label,
  .wwd-cat-label {
    display: block;
  }
}
.wwd-service-item.wwd-active .wwd-num-label,
.wwd-service-item.wwd-active .wwd-cat-label {
  opacity: 1;
  transform: scale(1);
}

/* ---- Details column ---- */
.wwd-details {
  grid-column: 1/-1;
}

@media (min-width: 1200px) {
  .wwd-details {
    grid-column: span 7;
  }
}
/* ---- Mobile label (sticky top on small screens) ---- */
.wwd-mobile-label {
  display: flex;
  gap: 1.6rem;
  font-family: Megrim, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 1.6rem;
  position: sticky;
  top: 2rem;
  z-index: 10;
  padding: 1rem 0;
  color: #e60000;
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.wwd-service-item:not(.wwd-active) .wwd-mobile-label {
  opacity: 1;
}

.wwd-service-item.wwd-active .wwd-mobile-label {
  opacity: 1;
}

@media (min-width: 1200px) {
  .wwd-mobile-label {
    display: none;
  }
}
/* ---- Large-type service list ---- */
.wwd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.096rem;
  text-transform: uppercase;
  color: #111111;
}

@media (min-width: 768px) {
  .wwd-list {
    font-size: 2.4rem;
    letter-spacing: -0.06rem;
  }
}
@media (min-width: 1200px) {
  .wwd-list {
    font-size: 4rem;
    letter-spacing: -0.12rem;
  }
}
.wwd-list li {
  will-change: opacity, filter, transform;
  opacity: 0;
  filter: blur(1.5rem);
  transform: translateY(3rem);
}

/*# sourceMappingURL=style.css.map */