:root {
  --bg-white: #ffffff;
  --bg-black: #080808;
  --text-dark: #111111;
  --text-light: #f9f9f9;
  --text-muted: #666666;
  --text-muted-light: #999999;
  --line-light: rgba(0, 0, 0, 0.1);
  --line-dark: rgba(255, 255, 255, 0.15);
  --display: 'Poppins', sans-serif;
  --body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--body);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img,
video,
embed {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

embed {
  object-fit: contain;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h4 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
}

.large-heading {
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

p {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 22px);
  color: var(--text-muted);
}

.black-section p {
  color: var(--text-muted-light);
}

strong {
  font-weight: 600;
  color: inherit;
}

em {
  font-style: italic;
}

small {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mt-4 {
  margin-top: 2rem;
}

/* Header */
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6vw;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, background 0.3s ease;
}

.brand {
  font: 600 22px var(--display);
  letter-spacing: -0.04em;
  color: var(--text-dark);
}

.desktop {
  display: flex;
  gap: 40px;
  font: 500 13px var(--body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.desktop a {
  position: relative;
  padding-bottom: 4px;
}

.desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--text-dark);
  transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.desktop a:hover::after {
  width: 100%;
}

.talk {
  border: 1px solid var(--text-dark);
  padding: 12px 24px;
  border-radius: 99px;
  font: 500 13px var(--body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.talk:hover {
  background: var(--text-dark);
  color: var(--bg-white);
}

/* Mobile Menu */
button#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 101;
}

button#menu-toggle .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  left: 0;
  transition: all 0.3s ease;
}

button#menu-toggle .line:first-child {
  top: 0;
}

button#menu-toggle .line:last-child {
  bottom: 0;
}

button#menu-toggle.open .line:first-child {
  transform: translateY(9px) rotate(45deg);
}

button#menu-toggle.open .line:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6vw;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

#mobile-menu.open {
  transform: translateX(0);
}

#mobile-menu a {
  font: 500 48px var(--display);
  letter-spacing: -0.04em;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

/* Layout Sections */
section {
  padding: 160px 6vw;
  position: relative;
}

.white-section {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.black-section {
  background-color: var(--bg-black);
  color: var(--text-light);
}

.max-w {
  max-width: 1400px;
  margin: 0 auto;
}

/* ============================================================
   HERO – Asymmetric Editorial Collage (matches Aldenaire reference)

   Hero = flex row:  [TEXT BLOCK] [5-COL COLLAGE GRID]

   Collage grid (5 equal columns, 2 rows):
     Row 1: [ empty ][ empty ][ IMG1  ][ IMG2  ][ IMG3  ]
     Row 2: [   IMG4 (span 3)          ][ IMG5  ][ IMG6  ]

   This creates the reference's key asymmetry: top images are
   shifted RIGHT; the large landscape "sticks out LEFT" below them.
   ============================================================ */

.immersive-hero {
  position: relative;
  background: var(--bg-white);
  /* generous top padding for fixed header, generous sides */
  padding: 140px 6vw 100px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 6vw;
  overflow: hidden;
}

/* ---- TEXT BLOCK ---- */
.immersive-hero .hero-content {
  flex: 0 0 clamp(280px, 32vw, 460px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 8px;
}

.immersive-hero h1 {
  font-size: clamp(32px, 4.5vw, 54px) !important;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--text-dark);
}

.immersive-hero .hero-content > p {
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--text-muted);
  margin: 0 0 40px;
  line-height: 1.55;
}

/* ---- COLLAGE GRID ---- */
.hero-collage {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  /* 5 equal columns – each portrait image occupies 1 column */
  grid-template-columns: repeat(5, 1fr);
  /* 2 rows with the same fixed height for visual consistency */
  grid-template-rows: clamp(140px, 19vw, 240px) clamp(140px, 19vw, 240px);
  gap: 10px;
}

/* ---- Top row: portrait images at cols 3, 4, 5 ---- */
/* cols 1 & 2 are intentionally empty (white space) */
.hc-p1 { grid-column: 3; grid-row: 1; }
.hc-p2 { grid-column: 4; grid-row: 1; }
.hc-p3 { grid-column: 5; grid-row: 1; }

/* ---- Bottom row: landscape at cols 1-3, smalls at 4 & 5 ---- */
.hc-landscape { grid-column: 1 / 4; grid-row: 2; }
.hc-s1        { grid-column: 4;     grid-row: 2; }
.hc-s2        { grid-column: 5;     grid-row: 2; }

/* ---- Shared image cell styles ---- */
.hc-img {
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}

.hc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hc-landscape img {
  object-position: center 11%;
}

.hc-s1 img {
  object-position: 30% center;
}

/* ---- Legacy classes – hidden (old structure) ---- */
.hero-top-row,
.hero-bottom-row,
.hero-bg,
.hero-img-portrait,
.hero-img-landscape,
.hero-img-small,
.collage-grid,
.grid-img,
.img-main,
.img-tr,
.img-mr,
.img-br,
.img-tc,
.hero-overlay {
  display: none;
}

/* ---- CTA link ---- */
.cta-link {
  display: inline-flex;
  align-items: center;
  font: 500 13px var(--body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 4px;
  transition: opacity 0.3s;
  align-self: flex-start;
}

.cta-link:hover {
  opacity: 0.6;
}

.cta-link-light {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}

.cta-link-light:hover {
  color: var(--text-dark);
  opacity: 0.8;
}



/* Intro */
.center-intro {
  text-align: center;
  padding-top: 140px;
  padding-bottom: 180px;
}

.intro-desc {
  max-width: 800px;
  margin: 60px auto 0;
}

.intro-desc p {
  margin-bottom: 24px;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--text-dark);
  font-weight: 400;
}

/* About (Black section) */
.animation-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#dotted-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 40px;
}

.about-content p {
  font-size: clamp(20px, 2vw, 32px);
  color: var(--text-muted-light);
}

/* Story */
.split-story {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10vw;
  align-items: center;
  padding-top: 180px;
  padding-bottom: 180px;
}

.story-left h2 {
  line-height: 1.1;
}

.story-right p {
  margin-bottom: 24px;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.6;
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 80px;
  border-top: 1px solid var(--line-light);
  padding-top: 140px;
  padding-bottom: 140px;
}

.approach-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.approach-item {
  background: #fdfdfd;
  border: 1px solid rgba(0,0,0,0.04);
  padding: 48px;
  border-radius: 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.approach-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  background: #ffffff;
}

.approach-item h3 {
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
}

.approach-item p {
  font-size: 18px;
  line-height: 1.6;
}

/* PORTFOLIO PREVIEW */
.portfolio-preview {
  padding-top: 160px;
  padding-bottom: 120px;
  overflow: hidden;
  background-color: #fafafa;
}

.portfolio-preview-header {
  margin-bottom: 80px;
}

.portfolio-preview-header p {
  margin-top: 20px;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--text-muted);
}

.portfolio-preview-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.preview-row {
  display: flex;
  gap: 32px;
}

.preview-row.row-horizontal {
  flex-direction: row;
}

.preview-row.row-vertical {
  flex-direction: row;
}

@media (max-width: 768px) {
  .preview-row {
    flex-direction: column;
  }
}

.pp-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-black);
  flex: 1;
  transform: translateZ(0);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pp-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  z-index: 10;
}

.row-horizontal .pp-card {
  height: clamp(250px, 35vh, 450px);
}

.row-vertical .pp-card {
  height: clamp(400px, 55vh, 700px);
}

.pp-card img,
.pp-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pp-card:hover img,
.pp-card:hover video {
  transform: scale(1.08);
}

/* Aspect Ratios to enforce different widths in the reel */
.aspect-standard {
  flex: 1.5;
}

.aspect-wide {
  flex: 2;
}

.aspect-portrait {
  flex: 1;
}

.pp-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.pp-card:hover .pp-overlay-gradient {
  opacity: 1;
}

.pp-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.pp-info-overlay h4 {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.pp-info-overlay p {
  font-family: var(--body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

@media (max-width: 768px) {
  .pp-card {
    height: 35vh;
  }
}

/* COMPLETE PORTFOLIO */
.complete-portfolio {
  padding-top: 60px;
  padding-bottom: 160px;
}

.portfolio-showcase-header {
  margin-bottom: 80px;
}

.portfolio-showcase-header p {
  margin-top: 16px;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--text-muted);
}

.cp-categories {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.category-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 20px;
}

.cp-projects {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.cp-project {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8vw;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.cp-project.alt-layout {
  flex-direction: row-reverse;
}

.cp-info {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cp-number {
  font-family: var(--display);
  font-size: 16px;
  color: var(--text-muted-light);
  margin-bottom: 12px;
  display: block;
}

.cp-client {
  font-family: var(--body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark);
  font-weight: 600;
}

.cp-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cp-desc {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
}

.cp-media {
  flex: 0 0 55%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cp-media video,
.cp-media img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.cp-media .portfolio-media {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 80vh !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {

  .cp-project,
  .cp-project.alt-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .cp-info,
  .cp-media {
    flex: 0 0 100%;
    width: 100%;
  }
}

/* Services (Datalands inspired) */
.services-section {
  position: relative;
}

.services-header {
  margin-bottom: 100px;
  max-width: 800px;
}

.services-header p {
  margin-top: 30px;
  font-size: clamp(20px, 2vw, 28px);
}

.services-list {
  border-top: 2px solid var(--line-dark);
  position: relative;
  z-index: 2;
  /* Keep above follower */
}

.service-row {
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
  transition: background 0.4s ease;
  overflow: hidden;
}

.service-row:hover {
  background: rgba(0, 0, 0, 0.03);
}

.service-row-content {
  display: flex;
  align-items: flex-start;
  padding: 80px 0;
  gap: 40px;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), padding-left 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), padding-right 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-row-content::after {
  content: '→';
  position: absolute;
  right: 2vw;
  top: 50%;
  transform: translateY(-50%) translateX(-20px);
  font-size: 32px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (min-width: 1024px) {
  .service-row:hover .service-row-content {
    padding-left: 4vw;
    padding-right: 6vw;
  }
  .service-row:hover .service-row-content::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.service-num {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--text-muted-light);
  line-height: 1.1;
  width: 80px;
  flex-shrink: 0;
  transition: color 0.4s ease, transform 0.4s ease;
}

.service-row:hover .service-num {
  color: var(--text-dark);
  transform: scale(1.1);
}

.service-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  flex-grow: 1;
}

@media (min-width: 1024px) {
  .service-info {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }
}

.service-info h3 {
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 56px);
  margin: 0;
  line-height: 1;
  font-weight: 500;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-row:hover .service-info h3 {
  transform: translateX(15px);
}

.service-info p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 500px;
}



/* Clients */
.clients-header {
  margin-bottom: 80px;
  text-align: center;
}

.marquee-wrapper {
  overflow: hidden;
  width: calc(100% + 12vw);
  margin-left: -6vw;
  display: flex;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding: 80px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 35s linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
  }
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 8vw;
  padding-right: 8vw;
  /* Same as gap to ensure continuous flow */
}

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

.logo-item img,
.logo-item embed {
  height: 70px;
  /* consistent visual height */
  width: auto;
  max-width: 250px;
  object-fit: contain;
  pointer-events: none;
  /* ensures hover works seamlessly over embeds */
}

.text-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 70px;
  padding: 0 10px;
}

.invert-dark-logo {
  filter: invert(1);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Contact */
.contact-section {
  padding-bottom: 80px;
}

.closing-text {
  margin-bottom: 120px;
  max-width: 1000px;
}

.closing-text p {
  color: var(--text-muted-light);
  font-size: clamp(18px, 2vw, 32px);
  margin-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding-top: 80px;
  border-top: 1px solid var(--line-dark);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 60px;
}

.contact-info a {
  font-size: 18px;
  font-weight: 500;
  transition: opacity 0.3s;
}

.contact-info a:hover {
  opacity: 0.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
  color: var(--text-light);
  font-family: var(--body);
  font-size: 18px;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.03);
}

.contact-form textarea {
  resize: vertical;
}

.submit-btn {
  background: var(--text-light);
  color: var(--bg-black);
  border: none;
  padding: 20px 40px;
  border-radius: 99px;
  font: 600 15px var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 24px;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.submit-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
  background: #ffffff;
}

/* Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals inside a container */
.reveal-container .reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-container .reveal-item:nth-child(2) { transition-delay: 0.1s; }
.reveal-container .reveal-item:nth-child(3) { transition-delay: 0.2s; }
.reveal-container .reveal-item:nth-child(4) { transition-delay: 0.3s; }
.reveal-container .reveal-item:nth-child(5) { transition-delay: 0.4s; }
.reveal-container .reveal-item:nth-child(6) { transition-delay: 0.5s; }
.reveal-container .reveal-item:nth-child(7) { transition-delay: 0.6s; }
.reveal-container .reveal-item:nth-child(8) { transition-delay: 0.7s; }

/* Responsive */
@media (max-width: 1024px) {
  .immersive-hero {
    padding-top: 110px;
    padding-bottom: 60px;
    gap: 4vw;
  }

  .immersive-hero .hero-content {
    flex: 0 0 clamp(200px, 28vw, 300px);
  }

  /* Shrink to 4 columns on tablet: top images at 2, 3, 4; large spans 1-3 */
  .hero-collage {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: clamp(120px, 18vw, 200px) clamp(120px, 18vw, 200px);
  }

  .hc-p1 { grid-column: 2; grid-row: 1; }
  .hc-p2 { grid-column: 3; grid-row: 1; }
  .hc-p3 { grid-column: 4; grid-row: 1; }

  .hc-landscape { grid-column: 1 / 4; grid-row: 2; }
  .hc-s1        { grid-column: 4;     grid-row: 2; }
  .hc-s2        { display: none; } /* hide last small on tablet */

  .split-story,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .approach-items {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 24px;
  }

  /* Hero mobile: stack vertically, text on top, images below */
  .immersive-hero {
    flex-direction: column;
    gap: 32px;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .immersive-hero .hero-content {
    flex: none;
    width: 100%;
  }

  .immersive-hero h1 {
    font-size: clamp(22px, 5.5vw, 30px) !important;
    margin-bottom: 14px;
  }

  .immersive-hero .hero-content > p {
    font-size: clamp(13px, 3.5vw, 16px);
    margin-bottom: 24px;
  }

  /* Mobile collage: 3-col grid, flat layout */
  .hero-collage {
    width: 100%;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: clamp(100px, 28vw, 160px) clamp(100px, 28vw, 160px);
    gap: 8px;
  }

  /* Remap positions for simpler 3-col mobile layout */
  .hc-p1 { grid-column: 2; grid-row: 1; }
  .hc-p2 { grid-column: 3; grid-row: 1; }
  .hc-p3 { display: none; }

  .hc-landscape { grid-column: 1; grid-row: 1 / 3; }
  .hc-s1        { grid-column: 2; grid-row: 2; }
  .hc-s2        { grid-column: 3; grid-row: 2; display: block; }

  section {
    padding: 100px 6vw;
  }

  .desktop {
    display: none;
  }

  .talk {
    display: none;
  }

  button#menu-toggle {
    display: block;
  }

  .approach-items {
    grid-template-columns: 1fr;
  }
}


/* Custom Cursor */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  will-change: transform;
  display: none;
  mix-blend-mode: difference;
}

#custom-cursor.cursor-hover {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

@media (hover: hover) and (pointer: fine) {
  #custom-cursor {
    display: block;
  }
}