/* ==========================================================================
   ROUNDGRID CREATIVE STUDIO
   Light Theme (Clean White & Studio Gray) - Inspired by Studio Rethink
   100% Vanilla CSS - Pure Web Standards, Zero Bloat, Instant Loading
   ========================================================================== */

/* Inter typography - Undistorted, pure modern geometric sans-serif */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f6f6f8;
  --bg-card: #f0f0f3;
  --bg-surface: #e8e8ed;
  
  --text-main: #0c0c0e;
  --text-muted: #52525c;
  --text-subtle: #888894;
  
  --border-color: #e5e5ea;
  --border-hover: #0c0c0e;
  
  --accent: #0c0c0e;
  --accent-teal: #10bfae;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --container-width: 1280px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

ul {
  list-style: none;
}

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

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

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f0f0f4;
}
::-webkit-scrollbar-thumb {
  background: #c8c8d2;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a0a0ad;
}

/* Contenedores */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.container-fluid {
  width: 94%;
  max-width: 1560px;
  margin: 0 auto;
}

/* ==========================================================================
   CURSOR PERSONALIZADO INTERACTIVO (LIGHT THEME)
   ========================================================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #0c0c0e;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.26s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.26s cubic-bezier(0.16, 1, 0.3, 1), 
              border-radius 0.26s ease,
              background-color 0.2s ease, 
              border-color 0.2s ease,
              box-shadow 0.26s ease,
              transform 0.08s ease;
}

.custom-cursor.cursor-hover {
  width: 136px;                 /* Increase from 118px for more horizontal space */
  height: 46px;                 /* Increase from 40px for more vertical space */
  padding: 0;
  background-color: #ffffff;
  color: #0c0c0e;
  border-radius: 999px;
  border: 1px solid rgba(12, 12, 14, 0.1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Yellow square pointer ONLY for carousel hover effect */
.custom-cursor.cursor-carousel-square {
  width: 28px;
  height: 28px;
  background-color: transparent !important;
  border: 2px solid #FFE600 !important;
  border-radius: 0 !important;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4) !important;
  padding: 0;
}

.custom-cursor.cursor-carousel-square .cursor-tooltip-text {
  display: none !important;
  opacity: 0 !important;
}

.cursor-tooltip-text {
  opacity: 0;
  color: #0c0c0e;
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  text-align: center;
  transition: opacity 0.15s ease;
}

.custom-cursor.cursor-hover .cursor-tooltip-text {
  opacity: 1;
  transition: opacity 0.2s ease 0.06s;
}

@media (max-width: 992px) {
  .custom-cursor {
    display: none !important;
  }
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.6rem 0;
  transition: var(--transition-smooth);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Official Roundgrid Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  height: 28px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.logo-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-subtle);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background-color: var(--bg-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 1.15 rem;  /* <-- INCREASE THIS font-size: 0.86rem;(e.g. 1rem or 1.1rem) */
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
  display: inline-block;
  height: 1.7rem;/* <-- INCREASE THIS height: 1.3rem; */
}

.nav-link-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link-hover {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.75);
}

.navbar.scrolled .nav-link-hover {
  color: #0c0c0e;
  text-shadow: none;
}

.nav-link:hover .nav-link-inner {
  transform: translateY(-50%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Botón magnético negro con texto blanco */
.btn-magnetic {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.45rem;
  background-color: #0c0c0e;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 40px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-magnetic:hover {
  background-color: #27272f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.power-icon {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-magnetic:hover .power-icon {
  transform: scale(1.18);
}

/* Mobile CTA default hidden on desktop */
.mobile-menu-cta {
  display: none !important;
}

/* Hamburguesa móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.menu-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
  display: block;
}

.menu-toggle.open .menu-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.open .menu-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (STUDIO RETHINK FULL-BLEED ARCHITECTURE)
   ========================================================================== */
.section-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0.75rem 1rem 0 1rem;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
}

.hero-container-frame {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: calc(100vh - 1.5rem);
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: #b6b6b8;
  border: 1px solid var(--border-color);
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.4s ease-out;
}

.hero-container-frame:hover .hero-bg-img {
  transform: scale(1.015);
}

/* Metadata Row: Based in Miami, FL | (©2026) | Scroll Down ↘ */
.hero-caption-grid {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 2.5rem;
  margin-bottom: 0.8rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-caption-left {
  text-align: left;
}

.hero-caption-center {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.hero-caption-right {
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.scroll-down-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #ffffff;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.scroll-down-link:hover {
  transform: translateY(2px);
}

/* Huge Headline: ROUNDGRID STUDIO (Edge-to-Edge with Inverted Difference Blend) */
.hero-title-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 2.5rem 1.8rem 2.5rem;
  mix-blend-mode: difference;
}

.hero-title-rethink {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 12rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
}

/* ==========================================================================
   SECCIONES GENERALES & ENCABEZADOS
   ========================================================================== */
.section {
  padding: 7rem 0;
  border-top: none;/* removed  border-top: 1px solid var(--border-color) */
  position: relative;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c0c0e;/* removed color: var(--text-muted); */
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.2rem;
  margin-bottom: 3rem;
  border-top: 1px solid #0c0c0e;
  padding-top: 25px;
}

.section-number {
 font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #0c0c0e; /* <-- BLACK BUBBLE OUTLINE */
  border-radius: 50px;       /* <-- MAKES IT A ROUNDED CAPSULE / BUBBLE */
  padding: 0.2rem 0.85rem;   /* <-- INNER SPACING */
  color: #0c0c0e;            /* <-- BLACK TEXT */
  line-height: 1;
  display: inline-block;
}

/* ==========================================================================
   MARQUESINA INFINITA (TICKER)
   ========================================================================== */
.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 100%;
  gap: 3rem;
  animation: scrollMarquee 25s linear infinite;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #eaeaf0;
  transition: color 0.3s ease;
}

.marquee-item:hover {
  color: #0c0c0e;
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Portfolio Transition Ticker (Web Design) */
.marquee-portfolio-ticker {
  margin-top: 4.5rem;
  margin-bottom: 0;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.marquee-portfolio-ticker .marquee-content {
  gap: 3.2rem;
  animation-duration: 45s;
}

.marquee-portfolio-ticker .marquee-item {
  word-spacing: 0.16em;
  letter-spacing: -0.01em;
}

#services {
  padding-bottom: 0 !important;
}

#portfolio {
  padding-top: 50px !important;
  padding-bottom: 0 !important;
}

#contact {
  padding-top: 50px !important;
}

/* ==========================================================================
   THE STORY (ABOUT) — STUDIO RETHINK ARCHITECTURE
   ========================================================================== */
/* Story Section Spacing & Thin Dividing Line (Added 150px separation from Hero) */
#story {
  padding-top: calc(3.5rem + 150px);
  border-top: 1px solid var(--border-color);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: start;
}

.story-grid > * {
  min-width: 0;
}

.story-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.story-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  border-top: 1px solid #0c0c0e; /* <-- FINE BLACK LINE */
  padding-top: 25px;              /* <-- 25PX SPACING BETWEEN LINE & (THE STORY) */
  margin-bottom: 0.6rem;
}

.story-title-text {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-main);
}

.story-title-number {
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #0c0c0e; /* <-- BLACK BUBBLE OUTLINE */
  border-radius: 50px;
  padding: 0.2rem 0.85rem;
  color: #0c0c0e;
  line-height: 1;
  display: inline-block;
}

/* Horizontal Text Animation (Inside Left Column) */
.marquee-story {
  overflow: hidden;
  user-select: none;
  display: flex;
  margin: 0.2rem 0 2.2rem 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.marquee-story-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  animation: scrollStoryMarquee 38s linear infinite;
}

.marquee-story-item {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ceced6;
  line-height: 1;
  cursor: default;
  transition: color 0.3s ease;
}

/* Hover effect to turn black (#0c0c0e) matching Services section */
.marquee-story-item:hover,
.marquee-story.marquee-hover:hover .marquee-story-item {
  color: #0c0c0e;
}

.marquee-story-separator {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #ceced6;
  padding: 0 0.25rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.marquee-story.marquee-hover:hover .marquee-story-separator {
  color: #0c0c0e;
}

@keyframes scrollStoryMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.story-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.8rem;
}

.story-text {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.stat-item h4 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item p {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  font-weight: 600;
}

/* Sharp Story Image (No Rounded Corners) */
.story-image-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: none;
  height: 100%;
  min-height: 560px;
  box-shadow: none;
}

.story-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.story-badge {
  position: absolute;
  bottom: 1.5rem;
  right: calc(1.5rem + 165px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

/* ==========================================================================
   MISSION (REDESIGN / REBUILD / RETHINK)
   ========================================================================== */
.mission-words-container {
  position: relative;
  width: 100%;
  margin: 3.5rem 0;
}
#mission {   /* Block added */
  padding-bottom: 0rem;
}
/* Background image card placed behind the titles, shifted 200px to the right as requested */
.mission-bg-poster {
  position: absolute;
  top: -2.5rem;
  bottom: 1rem;
  left: calc(50% + 200px);
  transform: translateX(-50%);
  width: clamp(340px, 38vw, 520px);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.mission-bg-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.mission-words {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-word-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  gap: 3rem;
  transition: border-color 0.3s ease;
}

/* REMOVES ONLY THE LAST LINE:border-color: var(--text-main); */
.mission-word-row:last-child {
  border-bottom: none;
}

.mission-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6.5vw, 6.8rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #0c0c0e;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.mission-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 520px;
  text-align: right;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mission-article-headline {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.mission-desc strong {
  color: var(--text-main);
}

/* ==========================================================================
   SERVICES (EXPERTISE)
   ========================================================================== */
.services-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  border-bottom: 1px solid var(--border-color);
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 80px 1.5fr 2fr 60px;
  align-items: center;
  gap: 2rem;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-row:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-main);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-subtle);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.service-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-icon-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--text-subtle);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-row:hover .service-icon-box {
  transform: rotate(45deg);
  color: var(--text-main);
}

/* Studio Rethink Inspired Sharp Portfolio Header */
.portfolio-hero-header {
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 3.5rem;
}

.portfolio-hero-main {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: clamp(110px, 9.5vw, 140px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.portfolio-hero-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: clamp(110px, 9.5vw, 140px);
  height: auto;
  color: #0c0c0e;
  align-self: end;
  margin-bottom: 0.25rem;
}

.portfolio-hero-arrow svg {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.portfolio-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.6vw, 5.1rem); /* 25% smaller as requested */
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #0c0c0e;
  text-align: left;
  margin: 0 0 2rem 0;
}

.portfolio-hero-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: left;
  max-width: 680px;
  margin: 0;
}

@media (max-width: 768px) {
  .portfolio-hero-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portfolio-hero-arrow {
    align-self: flex-start;
  }
}

.portfolio-list {
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   PORTFOLIO ITEMS (STUDIO RETHINK 2-COLUMN SPLIT WITH EMBEDDED PREVIEW)
   ========================================================================== */
.project-item {
  position: relative;
  border-bottom: 1px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.portfolio-list .project-item:last-child {
  border-bottom: none !important;
}

.project-item:hover {
  border-color: var(--text-main);
}

.project-item-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  padding: 3.8rem 0;
}

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-info {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.project-number {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.project-label-wrapper {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.project-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c0c0e;
  border: 1px solid #0c0c0e;
  border-radius: 50px;
  padding: 0.32rem 0.85rem;
  background-color: transparent;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.project-item:hover .project-label {
  background-color: #0c0c0e;
  color: #ffffff;
}

/* Live Site Button on Tag Line */
.project-live-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #0c0c0e;
  border: 1px solid #0c0c0e;
  border-radius: 50px;
  padding: 0.32rem 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.project-live-btn:hover {
  background-color: #ffffff;
  color: #0c0c0e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 12, 14, 0.15);
}

.project-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.8vw, 5.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: #0c0c0e;
  margin: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover .project-title {
  transform: translateX(10px);
}

/* 3 Action Buttons below Project Title */
.project-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.project-action-btn {
  background-color: transparent;
  border: 1px solid rgba(12, 12, 14, 0.22);
  border-radius: 50px;
  padding: 0.52rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0c0c0e;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.project-action-btn:hover {
  background-color: #0c0c0e;
  color: #ffffff;
  border-color: #0c0c0e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12, 12, 14, 0.12);
}

/* Right Column: Interactive Image Carousel */
.project-carousel-wrapper {
  position: relative;
  width: 100%;
}

.project-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background-color: #f1f1f5;
  box-shadow: 0 8px 24px rgba(12, 12, 14, 0.06);
  cursor: pointer;
  user-select: none;
}

@media (min-width: 993px) {
  .project-carousel {
    cursor: none;
  }
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-carousel:hover .carousel-slide.active img {
  transform: scale(1.04);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(12, 12, 14, 0.08);
  color: #0c0c0e;
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 5;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.project-carousel:hover .carousel-nav {
  opacity: 0.92;
}

.carousel-nav:hover {
  background: #ffffff;
  color: #0c0c0e;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.carousel-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(12, 12, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 4;
  pointer-events: none;
}

.carousel-expand-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #0c0c0e;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.project-carousel:hover .carousel-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   PORTFOLIO LIGHTBOX MODAL SYSTEM
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1040px;
  max-height: 92vh;
  margin: auto;
}

.lightbox-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-card {
  transform: scale(1) translateY(0);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.65rem;
  border-bottom: 1px solid rgba(12, 12, 14, 0.08);
  background: #ffffff;
}

.lightbox-header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0c0c0e;
  margin: 0;
}

.lightbox-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.65rem;
  border-radius: 20px;
  background: #f0f0f4;
  color: #0c0c0e;
}

.lightbox-header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lightbox-counter-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f4f4f7;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.lightbox-live-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0c0c0e;
  background: transparent;
  border: 1px solid rgba(12, 12, 14, 0.2);
  border-radius: 20px;
  padding: 0.25rem 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lightbox-live-link:hover {
  background: #0c0c0e;
  color: #ffffff;
}

.lightbox-close-btn {
  background: #f4f4f7;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c0c0e;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #0c0c0e;
  color: #ffffff;
  transform: rotate(90deg);
}

.lightbox-body {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.lightbox-media-wrapper {
  position: relative;
  background: #0c0c0e;
  width: 100%;
  height: 54vh;
  min-height: 320px;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-image-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox-image-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  color: #0c0c0e;
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-slide-prev {
  left: 18px;
}

.lightbox-slide-next {
  right: 18px;
}

.lightbox-slide-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.lightbox-info-pane {
  padding: 1.25rem 1.8rem;
  background: #ffffff;
  border-top: 1px solid rgba(12, 12, 14, 0.08);
}

.lightbox-caption-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0c0c0e;
  margin: 0 0 0.4rem 0;
}

.lightbox-caption-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Vertical Split-Screen Layout Mode (for 'Layout' button screens)
   Maximizes vertical screen height so full desktop layouts can be viewed large,
   with descriptive text docked on the left and full image stage on the right.
   ========================================================================== */
.lightbox-modal.modal-layout-mode .lightbox-container {
  width: 95%;
  max-width: 1420px;
  height: 92vh;
  max-height: 92vh;
}

.lightbox-modal.modal-layout-mode .lightbox-card {
  height: 100%;
}

.lightbox-modal.modal-layout-mode .lightbox-body {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100% - 68px);
  min-height: 0;
  overflow: hidden;
}

.lightbox-modal.modal-layout-mode .lightbox-info-pane {
  order: 1;
  border-top: none;
  border-right: 1px solid rgba(12, 12, 14, 0.08);
  background: #fbfbfd;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.lightbox-modal.modal-layout-mode .lightbox-caption-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  color: #0c0c0e;
}

.lightbox-modal.modal-layout-mode .lightbox-caption-desc {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #4b4b55;
}

.lightbox-modal.modal-layout-mode .lightbox-media-wrapper {
  order: 2;
  height: 100%;
  max-height: 100%;
  background: #08080a;
}

.lightbox-modal.modal-layout-mode .lightbox-image-stage {
  padding: 1.5rem 1rem;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}

.lightbox-modal.modal-layout-mode .lightbox-image-stage img {
  max-width: 95%;
  max-height: none;
  height: auto;
  object-fit: contain;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65);
}

@media (max-width: 900px) {
  .lightbox-modal.modal-layout-mode .lightbox-container {
    width: 96%;
    height: 94vh;
    max-height: 94vh;
  }
  .lightbox-modal.modal-layout-mode .lightbox-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    overflow-y: auto;
  }
  .lightbox-modal.modal-layout-mode .lightbox-media-wrapper {
    order: 1;
    height: 52vh;
    min-height: 280px;
  }
  .lightbox-modal.modal-layout-mode .lightbox-info-pane {
    order: 2;
    border-right: none;
    border-top: 1px solid rgba(12, 12, 14, 0.08);
    padding: 1.25rem 1.4rem;
  }
}

/* Editorial Article View (Description Mode) */
.lightbox-article-pane {
  background: #ffffff;
  padding: 3rem 2.5rem;
  max-height: 72vh;
  overflow-y: auto;
}

.lightbox-article-inner {
  max-width: 720px;
  margin: 0 auto;
}

.lightbox-article-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888892;
  margin-bottom: 0.75rem;
}

.lightbox-article-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0c0c0e;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem 0;
}

.lightbox-article-divider {
  width: 48px;
  height: 2px;
  background: #0c0c0e;
  margin-bottom: 2rem;
}

.lightbox-article-subheading {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: #0c0c0e;
  letter-spacing: -0.01em;
  margin: 0 0 1rem 0;
}

.lightbox-article-content p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: #383842;
  margin-bottom: 1.4rem;
  font-weight: 400;
}

.lightbox-article-content .article-section-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #0c0c0e;
  margin: 2.2rem 0 1.2rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(12, 12, 14, 0.1);
}

.lightbox-article-content .article-callout-card {
  background: #f8f8fb;
  border-left: 3px solid #0c0c0e;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.4rem;
}

.lightbox-article-content .article-callout-card h4 {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #0c0c0e;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lightbox-article-content .article-callout-card p {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #555562;
  margin-bottom: 0;
  font-style: italic;
}

.lightbox-article-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .lightbox-article-pane {
    padding: 2rem 1.4rem;
  }
  .lightbox-article-heading {
    font-size: 1.5rem;
  }
  .lightbox-article-content p {
    font-size: 0.98rem;
    line-height: 1.68;
  }
}

/* Floating Preview Image (Follows cursor on hover) */
.floating-preview {
  position: fixed;
  width: 400px;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: scale(0.85) translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-color);
  background-color: #fff;
}

.floating-preview.active {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%);
}

.floating-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-meta-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color 0.2s ease;
}

.contact-link-item:hover {
  color: var(--accent-teal);
}

/* Formulario limpio */
.contact-form {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--text-main);
  box-shadow: 0 0 0 2px rgba(12, 12, 14, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  background-color: #0c0c0e;
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  background-color: #27272f;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.88rem;
  background-color: rgba(16, 191, 174, 0.1);
  border: 1px solid var(--accent-teal);
  color: #0b8075;
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
  background-color: var(--bg-secondary);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.btn-scroll-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.btn-scroll-top:hover {
  background-color: #0c0c0e;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .story-image-card {
    height: 400px;
  }
  
  .service-row {
    grid-template-columns: 60px 1.2fr 1.8fr;
  }
  
  .service-icon-box {
    display: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  /* Inset navbar 15px inside from edges on mobile devices */
  .navbar {
    padding: 1.2rem 15px;
  }
  
  .navbar.scrolled {
    padding: 0.85rem 15px;
  }

  .nav-inner {
    position: relative;
    width: 100%;
  }

  .logo {
    position: relative;
    z-index: 1002;
  }

  .nav-actions {
    position: relative;
    z-index: 1002;
  }

  .nav-actions .btn-magnetic {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }

  /* Fullscreen mobile menu drawer */
  .nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 1001;
    gap: 1.4rem;
    padding: 5rem 1.5rem 3rem 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s;
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu .nav-link {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.02em;
    height: auto;
    overflow: visible;
    padding: 0.4rem 1.2rem;
    display: inline-block;
    text-align: center;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .nav-menu .nav-link:active {
    color: var(--accent-teal);
    transform: scale(0.96);
  }

  .nav-menu .nav-link .nav-link-inner {
    display: inline-block;
    transform: none !important;
  }

  .nav-menu .nav-link .nav-link-hover {
    display: none !important;
  }

  .nav-menu .mobile-menu-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.85rem 2rem;
    background-color: #0c0c0e;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .nav-menu .mobile-menu-cta:active {
    transform: scale(0.96);
    background-color: #27272f;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.menu-open .navbar {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }
  
  .hero-meta {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .hero-meta-right {
    display: none;
  }
  
  .hero-stage {
    height: 320px;
  }
  
  .hero-caption-grid {
    padding: 0 1rem;
    font-size: 0.74rem;
    grid-template-columns: auto 1fr auto;
    gap: 0.4rem;
  }

  .hero-title-wrap {
    padding: 0 1rem 1.25rem 1rem;
  }

  .hero-title-rethink {
    font-size: clamp(1.2rem, 8.2vw, 3.2rem);
    letter-spacing: -0.05em;
  }
  
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 2rem 0;
  }
  
  .project-item-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .lightbox-container {
    width: 96%;
    max-height: 94vh;
  }

  .lightbox-media-wrapper {
    height: 42vh;
    min-height: 240px;
  }

  .lightbox-header {
    padding: 0.85rem 1.1rem;
  }

  .lightbox-title {
    font-size: 1.1rem;
  }

  .lightbox-info-pane {
    padding: 1rem 1.1rem;
  }
  
  .mission-word-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .mission-desc {
    text-align: left;
  }

  .mission-bg-poster {
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    opacity: 0.7;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  
  .contact-form {
    padding: 1.8rem;
  }

  .story-badge {
    right: 1.5rem;
  }
}
