/* ==========================================================================
   La Rock | 3D Studio — design system
   ========================================================================== */

:root {
  --bg: #fafafa;
  --bg-alt: #f1f1ef;
  --ink: #1f1f1f;
  --ink-soft: #5c5c5c;
  --white: #ffffff;
  --black: #0a0a0a;
  --accent: #88b04b;
  --accent-dark: #6c8f39;
  --line: #e5e5e2;

  --font-head: "Montserrat", sans-serif;
  --font-body: "Lato", sans-serif;

  --container: 1200px;
  --nav-h: 88px;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 3.4rem); font-weight: 300; }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 500; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide { max-width: 1640px; }
.container-fluid { max-width: 1800px; margin: 0 auto; padding: 0 5%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 40px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  transition: all 0.3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--white); transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 34px rgba(0,0,0,0.22); }
.btn.btn-light { border-color: rgba(255,255,255,0.6); color: var(--white); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.btn.btn-light:hover { background: var(--white); color: var(--black); box-shadow: 0 16px 34px rgba(0,0,0,0.35); }
.btn.btn-accent { border-color: var(--accent); background: var(--accent); color: var(--black); box-shadow: 0 10px 24px rgba(108,143,57,0.25); }
.btn.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); box-shadow: 0 16px 34px rgba(108,143,57,0.4); }

.btn-arrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--ink); border: 0; background: none; padding: 0; cursor: pointer; }
.btn-arrow .arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.btn-arrow:hover .arrow { transform: translateX(8px); }

/* ---------- header ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow .35s var(--ease);
}
#site-header.is-scrolled {
  background: rgba(250,250,250,0.98);
  padding: 14px 0;
  box-shadow: none;
}
#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#site-header .logo img { height: 34px; width: auto; }
#site-header .logo .logo-dark { display: none; }
#site-header.is-scrolled .logo .logo-light { display: none; }
#site-header.is-scrolled .logo .logo-dark { display: block; }

body.light-header #site-header .logo .logo-dark,
.page-inner #site-header .logo .logo-dark { display: block; }
body.light-header #site-header .logo .logo-light,
.page-inner #site-header .logo .logo-light { display: none; }

.header-actions { display: flex; align-items: center; gap: 26px; }

.header-socials { display: flex; align-items: center; gap: 15px; }
.header-socials a { color: var(--white); display: inline-flex; transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.header-socials a:hover { color: var(--accent); transform: translateY(-2px); }
.header-socials svg { width: 16px; height: 16px; fill: currentColor; display: block; }
#site-header.is-scrolled .header-socials a,
body.light-header .header-socials a,
.page-inner .header-socials a { color: var(--ink); }

.menu-trigger {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 16px rgba(0,0,0,0.45);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.menu-trigger:hover { transform: scale(1.07); }

.menu-trigger-lines { display: flex; flex-direction: column; gap: 5px; width: 17px; }
.menu-trigger-lines span {
  height: 2px; background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
body.offcanvas-open .menu-trigger-lines span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.offcanvas-open .menu-trigger-lines span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 720px) {
  .header-socials { display: none; }
}

/* ---------- off-canvas navigation ---------- */
.offcanvas-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
body.offcanvas-open .offcanvas-backdrop { opacity: 1; pointer-events: auto; }

.offcanvas-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(460px, 86vw);
  background: var(--black);
  color: var(--white);
  z-index: 900;
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
}
body.offcanvas-open .offcanvas-nav { transform: translateX(0); }

.offcanvas-close {
  position: absolute; top: 30px; right: 34px;
  background: none; border: 0; color: var(--white);
  font-size: 2.2rem; line-height: 1; cursor: pointer;
}

.offcanvas-links { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }
.offcanvas-links a {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s var(--ease);
}
body.offcanvas-open .offcanvas-links a { opacity: 1; transform: translateX(0); transition-delay: var(--i, 0ms); }
.offcanvas-links a:hover, .offcanvas-links a.active { color: var(--accent); }

.offcanvas-meta { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 26px; }
.offcanvas-meta a { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.offcanvas-meta a:hover { color: var(--accent); }
.offcanvas-socials { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.offcanvas-socials a { color: rgba(255,255,255,0.7); display: inline-flex; transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.offcanvas-socials a:hover { color: var(--accent); transform: translateY(-2px); }
.offcanvas-socials svg { width: 18px; height: 18px; fill: currentColor; display: block; }

body.offcanvas-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--black) center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.86) 100%);
}
.hero .hero-content { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; text-align: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 5.6rem); white-space: nowrap; }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 950px; margin: 0 auto; }

@media (max-width: 720px) {
  .hero h1 { white-space: normal; font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* load-in word stagger (hero headline / paragraph) */
.load-stagger span {
  display: inline-block; opacity: 0; transform: translateY(0.5em);
  animation: word-in 0.7s var(--ease) forwards;
}
@keyframes word-in { to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 200px; height: 200px;
}
.scroll-cue img { width: 100%; height: 100%; opacity: 0.9; animation: spin-loop 16s linear infinite; }
@keyframes spin-loop { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 720px) {
  .scroll-cue { width: 130px; height: 130px; bottom: -65px; }
}

/* page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-h) + 90px) 0 90px;
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero.with-bg { background-size: cover; background-position: center; }
.page-hero.with-bg::before { content:""; position:absolute; inset:0; background: rgba(0,0,0,0.6); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero p.lead { max-width: 640px; color: rgba(255,255,255,0.8); font-size: 1.1rem; }

/* ---------- sections ---------- */
section { padding: 110px 0; }
section.tight { padding: 70px 0; }
.section-bg-alt { background: var(--bg-alt); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .ink-soft { color: rgba(255,255,255,0.65); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.stat { display: flex; gap: 18px; align-items: baseline; margin-top: 2em; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.4rem, 2.6vw, 3.6rem); font-weight: 700; color: var(--accent-dark); }
.section-dark .stat .num { color: var(--accent); }
.stat .label { font-size: 0.95rem; color: var(--ink-soft); max-width: 160px; }
.section-dark .stat .label { color: rgba(255,255,255,0.65); }

/* full-bleed split section: text column + edge-to-edge image column with a
   floating second image straddling the seam (matches Salient's full_width_content
   row with a plain background-image column plus an absolutely-positioned one) */
.split-bleed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 92vh;
}
.split-bleed .split-text { padding: 60px 7% 60px 9%; }
.split-bleed.reverse .split-text { padding: 60px 9% 60px 7%; }

.split-media { position: relative; height: 92vh; overflow: visible; }
/* base is inset 20% on the seam side (away from center), flush to the outer viewport edge */
.media-base { position: absolute; top: 0; bottom: 0; left: 20%; right: 0; overflow: hidden; }
.media-base img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.split-bleed.reverse .media-base { left: 0; right: 20%; }

/* float starts right at the seam (more centered) and reaches into the base */
.media-float {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 40%; height: 52vh; overflow: hidden; z-index: 2;
  box-shadow: 0 50px 110px rgba(0,0,0,0.45);
}
.media-float img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.26); will-change: transform; }
.split-bleed.reverse .media-float { left: auto; right: 0; }

@media (max-width: 980px) {
  .split-bleed { grid-template-columns: 1fr; min-height: 0; }
  .split-bleed .split-text { padding: 50px 8%; order: 2; }
  .split-media { height: 70vh; order: 1; }
  .media-base { left: 12%; }
  .split-bleed.reverse .media-base { right: 12%; }
  .media-float { height: 38vh; width: 46%; }
}
@media (max-width: 720px) {
  .split-media { height: 58vh; }
  .media-base { left: 10%; }
  .split-bleed.reverse .media-base { right: 10%; }
  .media-float { height: 32vh; width: 55%; }
}

/* inline images within body text (animated in on scroll, small circular) */
.inline-images-text {
  font-size: clamp(1.7rem, 3.2vw, 3.6rem); font-weight: 300; line-height: 1.6;
  font-family: var(--font-head); text-align: center; max-width: 1300px; margin: 0 auto;
}
.inline-images-text .inline-img {
  display: inline-block; width: 1.3em; height: 1.3em; border-radius: 50%; overflow: hidden;
  vertical-align: middle; margin: 0 0.12em; transform: translateY(-0.1em);
}
.inline-images-text .inline-img img { width: 100%; height: 100%; object-fit: cover; }
.inline-images-text .inline-img.reveal { transform: translateY(0.1em) scale(0.5); }
.inline-images-text .inline-img.reveal.in { transform: translateY(-0.1em) scale(1); }

.text-highlight {
  font-weight: 700; text-decoration: underline; text-underline-offset: 5px;
  text-decoration-thickness: 2px; color: var(--ink); transition: color 0.25s var(--ease);
}
.text-highlight:hover { color: var(--accent-dark); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 6px 0 18px;
}
.marquee-track {
  display: inline-flex;
  gap: 2.83vw;
  animation: marquee 60s linear infinite;
}
.marquee-track.slower { animation-duration: 80s; }
.marquee-track.slowest { animation-duration: 110s; }
.marquee-track span {
  font-family: var(--font-head);
  font-size: 10vw;
  line-height: 1.05;
  font-weight: 700;
  color: var(--ink-soft);
  opacity: 0.55;
  white-space: nowrap;
}
.section-dark .marquee-track span { color: rgba(255,255,255,0.55); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-track.rtl { animation-direction: reverse; }
.marquee-track.outline span {
  color: var(--bg);
  font-size: 11vw;
  -webkit-text-stroke: 2.5px var(--ink);
  text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  opacity: 1;
}
@media (max-width: 720px) {
  .marquee-track.outline span { font-size: 15vw; }
  .gradient-section .marquee-track span { font-size: 11vw; }
}

/* ---------- badge pills ---------- */
.badge-pill {
  display: inline-flex; align-items: center;
  background: #efefef; color: #1e1c1c;
  font-size: 0.85rem; font-weight: 500;
  padding: 10px 20px; border-radius: 20px;
  margin: 0 12px 12px 0;
}

/* ---------- draggable project carousel (full-bleed) ---------- */
.carousel-wrap { position: relative; padding: 0 6%; }
.carousel-track {
  display: flex; gap: 28px; overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  -ms-overflow-style: none; scrollbar-width: none;
  cursor: grab; user-select: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track .c-card {
  flex: 0 0 auto; width: clamp(280px, 26vw, 460px); scroll-snap-align: start;
}
.carousel-track .c-card .c-img { aspect-ratio: 6/5; border-radius: 3px; overflow: hidden; background: var(--black); }
.carousel-track .c-card .c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.carousel-track .c-card:hover .c-img img { transform: scale(1.06); }
.carousel-track .c-card .c-title {
  display: inline-block; position: relative; margin: 20px 0 6px; font-size: 1.2rem; font-weight: 600;
}
.carousel-track .c-card .c-title::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--ink);
  transition: width 0.3s var(--ease);
}
.carousel-track .c-card:hover .c-title::after { width: 100%; }
.carousel-track .c-card .c-caption { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.carousel-arrow {
  position: absolute; top: calc(50% - 20px); transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1; color: var(--ink);
  cursor: pointer; z-index: 5;
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.carousel-arrow:hover { background: var(--ink); color: var(--white); transform: translateY(-50%) scale(1.06); }
.carousel-arrow.prev { left: 1%; }
.carousel-arrow.next { right: 1%; }
.carousel-arrow[disabled] { opacity: 0; pointer-events: none; }

.carousel-progress { height: 3px; background: var(--line); border-radius: 3px; margin: 26px 6% 0; overflow: hidden; }
.carousel-progress .bar { height: 100%; width: 25%; background: var(--accent); border-radius: 3px; transition: transform 0.15s linear; transform-origin: left; }

@media (max-width: 720px) {
  .carousel-wrap { padding: 0 5%; }
  .carousel-arrow { display: none; }
  .carousel-progress { margin: 22px 5% 0; }
}

/* ---------- gradient ticker section ---------- */
.gradient-section {
  background: linear-gradient(183deg, rgb(158,190,231) 5%, rgb(220,240,255) 90%);
  overflow: hidden; position: relative;
  padding: 3vw 0 0;
}
.gradient-section .marquee-track span { color: rgba(255,255,255,0.9); opacity: 1; }
.gradient-section .marquee:first-of-type { position: relative; z-index: 3; }
.gradient-section .overlap-img {
  display: block; width: 100%; max-width: 1850px; margin: -20vw auto 0; position: relative; z-index: 2;
}
.gradient-section .overlap-img img { width: 100%; display: block; image-rendering: -webkit-optimize-contrast; }

/* ---------- portfolio split (heading/button + vertical card stack) ---------- */
.portfolio-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; min-width: 0; padding: 0 6%; }
.portfolio-split > * { min-width: 0; }
.portfolio-split-text { position: sticky; top: 130px; }
.portfolio-split .stack { display: grid; gap: 35px; min-width: 0; }
.portfolio-split .p-card .p-img { aspect-ratio: auto; height: 46vh; position: relative; }
.portfolio-split .p-card .p-img .view-tag {
  position: absolute; padding: 8px 18px; border-radius: 30px; background: var(--accent);
  color: var(--black); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 3; white-space: nowrap;
}
.portfolio-split .p-card:hover .view-tag { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- sobre: hero + anchor nav ---------- */
.sobre-hero { padding: 6% 6% 5%; }
.sobre-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.sobre-hero h1 { font-size: clamp(3rem, 9vw, 9rem); margin: 0; flex: 1 1 auto; }
.sobre-anchor-nav { display: flex; flex-direction: column; gap: 16px; flex-shrink: 0; }
.sobre-anchor-nav a {
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 500;
  position: relative; display: inline-block; width: fit-content;
}
.sobre-anchor-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--ink);
  transition: width 0.3s var(--ease);
}
.sobre-anchor-nav a:hover::after { width: 100%; }
@media (max-width: 720px) {
  .sobre-hero { padding: 18% 6% 6%; }
  .sobre-hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ---------- video hero ---------- */
.video-hero { position: relative; padding: 0 6%; margin-top: -4%; }
.video-hero-inner { position: relative; height: 100vh; overflow: hidden; }
.video-hero video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) { .video-hero-inner { height: 70vh; } }
@media (max-width: 720px) { .video-hero { padding: 0 4%; margin-top: 0; } .video-hero-inner { height: 50vh; } }

/* ---------- empresa statement ---------- */
.empresa-statement { padding: 6% 15% 4%; text-align: center; }
.empresa-statement .eyebrow { display: block; }
.empresa-statement h1 { font-size: clamp(1.8rem, 4vw, 4.6rem); font-weight: 600; max-width: 1300px; margin: 0 auto; }
@media (max-width: 720px) {
  .empresa-statement { padding: 16% 6% 8%; }
  .empresa-statement h1 { font-size: clamp(1.8rem, 10vw, 3rem); }
}

/* ---------- team section (sticky intro + 2x2 grid) ---------- */
.team-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding: 4% 6%; align-items: start; }
.team-intro-sticky { position: sticky; top: 130px; }
.team-intro-sticky p { color: var(--ink-soft); margin-top: 14px; }
.team-intro-sticky hr { border: 0; border-top: 1px solid var(--line); margin-top: 40px; }
.team-grid-2x2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-left: 6%; }
.team-card-v2 { text-align: center; }
.team-card-v2 .avatar { position: relative; width: 190px; height: 190px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; background: var(--black); }
.team-card-v2 .avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.team-card-v2:hover .avatar img { transform: scale(1.08); }
.team-card-v2 .info .name { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.team-card-v2 .info .role { font-size: 0.82rem; color: var(--ink-soft); margin-top: 2px; }
.team-card-v2 .card-socials { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.team-card-v2 .card-socials a { color: var(--ink-soft); transition: color 0.2s var(--ease); }
.team-card-v2 .card-socials a:hover { color: var(--ink); }
.team-card-v2 .card-socials svg { width: 15px; height: 15px; fill: currentColor; display: block; }
@media (max-width: 980px) {
  .team-layout { grid-template-columns: 1fr; gap: 30px; }
  .team-intro-sticky { position: static; }
  .team-grid-2x2 { padding-left: 0; }
}
@media (max-width: 560px) {
  .team-grid-2x2 { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .team-card-v2 .avatar { width: 140px; height: 140px; }
}

/* ---------- solutions split (image 7/12 + text 5/12, equal height) ---------- */
.solutions-split { display: grid; grid-template-columns: 7fr 5fr; align-items: stretch; min-height: 70vh; }
.solutions-media { position: relative; height: 100%; min-height: 70vh; overflow: hidden; }
.solutions-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.13); will-change: transform; }
.solutions-text { padding: 6% 6%; display: flex; flex-direction: column; justify-content: center; }
.solutions-text p { color: var(--ink-soft); }
@media (max-width: 980px) {
  .solutions-split { grid-template-columns: 1fr; min-height: 0; }
  .solutions-media { height: 60vh; min-height: 0; }
  .solutions-text { padding: 50px 8%; }
}

/* ---------- cultura hero ---------- */
.cultura-hero { padding: 4% 6% 0; }
.cultura-hero h1 { font-size: clamp(3rem, 9vw, 9rem); margin: 0; }

/* ---------- values v2 (3-item highlighted list with numbers) ---------- */
.values-v2 { padding: 3% 6% 3%; }
.values-v2 .value-row-new {
  display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center;
  padding: 45px 0; border-top: 1px solid var(--line);
}
.values-v2 .value-row-new:last-child { border-bottom: 1px solid var(--line); }
.values-v2 .value-row-new.in .highlighted-heading em { background-size: 100% 0.85em; }
.values-v2 .highlighted-heading { font-size: clamp(1.5rem, 2.2vw, 2.4rem); font-weight: 600; margin: 0 0 16px; line-height: 1.3; }
.values-v2 .highlighted-heading em {
  font-style: normal; background-image: linear-gradient(90deg, var(--accent), #b4fc6c);
  background-repeat: no-repeat; background-size: 0% 0.85em; background-position: 0 65%;
  transition: background-size 0.9s cubic-bezier(0.15, 0.75, 0.4, 1);
  transition-delay: 0.2s;
  padding: 0 0.05em;
}
.values-v2 p { color: var(--ink-soft); margin: 0; max-width: 640px; }
.values-v2 .value-number { font-family: var(--font-head); font-size: clamp(2.5rem, 7vw, 6.5rem); font-weight: 700; text-align: right; color: var(--ink); line-height: 1; }
@media (max-width: 720px) {
  .values-v2 .value-row-new { grid-template-columns: 1fr; gap: 14px; }
  .values-v2 .value-number { text-align: left; font-size: 3rem; }
}

/* ---------- portfolio ---------- */
.portfolio-intro { max-width: 900px; margin: 0 auto 60px; text-align: center; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.portfolio-grid.wide { grid-template-columns: repeat(3, 1fr); }
.portfolio-grid .p-card.wide-card { grid-column: span 2; }
.p-card { display: block; }
.p-card .p-img { position: relative; overflow: hidden; border-radius: 10px; height: 50vh; background: var(--black); }
.p-card .p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.p-card:hover .p-img img { transform: scale(1.06); }
.portfolio-grid .p-card .p-img .view-tag {
  position: absolute; top: 50%; left: 50%; width: 74px; height: 74px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 3;
}
.portfolio-grid .p-card:hover .p-img .view-tag { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.p-card .p-info { padding-top: 20px; }
.p-card .p-tags { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; display: block; }
.p-card .p-title {
  font-family: var(--font-head); font-size: clamp(1.25rem, 1.5vw, 1.7rem); font-weight: 600; margin: 0;
  color: var(--ink); position: relative; display: inline-block;
}
.p-card .p-title::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 1px; background: var(--ink);
  transition: width 0.35s var(--ease);
}
.p-card:hover .p-title::after { width: 100%; }
.section-dark .p-card .p-title,
.section-dark .p-card .p-title::after { color: var(--white); background: var(--white); }
.section-dark .p-card .p-tags { color: var(--accent); }

/* ---------- projects filter sidebar ---------- */
.projects-layout { display: grid; grid-template-columns: 200px 1fr; gap: 50px; align-items: start; }
.projects-filter-sidebar { position: sticky; top: 130px; }
.projects-filter-sidebar h4 {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 20px;
}
.filter-bar { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.filter-bar button {
  background: none; border: none; padding: 0; margin: 0; text-align: left;
  display: inline-block; width: fit-content; position: relative;
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 500;
  color: var(--ink-soft); cursor: pointer; transition: color 0.2s var(--ease);
}
.filter-bar button::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px; background: var(--accent-dark);
  transition: width 0.3s var(--ease);
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button.active { color: var(--accent-dark); }
.filter-bar button.active::after { width: 100%; }
.p-card.hidden { display: none; }
@media (max-width: 980px) {
  .projects-layout { grid-template-columns: 1fr; gap: 26px; }
  .projects-filter-sidebar { position: static; }
  .filter-bar { flex-direction: row; flex-wrap: wrap; gap: 10px 24px; }
}

/* ---------- 360 tour ---------- */
.tour-wrap { border-radius: 4px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.35); }
.tour-wrap iframe { width: 100%; height: 74vh; min-height: 520px; max-height: 800px; border: 0; display: block; }
.tour-hint { text-align: center; margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }
.section-dark .tour-hint { color: rgba(255,255,255,0.6); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 60px; }
.team-card { text-align: center; }
.team-card .photo { border-radius: 50%; overflow: hidden; aspect-ratio: 1; margin-bottom: 18px; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
.team-card .role { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- values ---------- */
.values-list { display: grid; gap: 0; margin-top: 50px; }
.value-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 30px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.value-row:last-child { border-bottom: 1px solid var(--line); }
.value-row .idx { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--accent-dark); }
.value-row h3 { margin-bottom: 0.4em; }
.value-row p { color: var(--ink-soft); margin: 0; max-width: 640px; }

/* ---------- quote ---------- */
.quote-block { max-width: 700px; margin: 60px auto 0; text-align: center; }
.quote-block blockquote { font-family: var(--font-head); font-size: 1.5rem; font-weight: 300; font-style: italic; margin: 0 0 20px; }
.quote-block cite { font-style: normal; font-size: 0.85rem; color: var(--ink-soft); }
.quote-block cite b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.section-dark .quote-block cite { color: rgba(255,255,255,0.6); }
.section-dark .quote-block cite b { color: var(--white); }

/* ---------- project detail ---------- */
.project-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.project-meta span {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(136,176,75,0.5); padding: 5px 12px; border-radius: 30px;
}
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery a { display: block; overflow: hidden; border-radius: 3px; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
.gallery .span-2 { grid-column: span 2; }
.gallery .span-2 img { aspect-ratio: 16/9; }

/* ---------- project hero (centered, dark parallax bg) ---------- */
.project-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 80px) 10% 110px;
  background: var(--black); color: var(--white); text-align: center;
}
.project-hero .bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  animation: project-hero-zoom 16s ease-out forwards;
}
.project-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.4), rgba(10,10,10,0.95));
}
@keyframes project-hero-zoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.project-hero-inner { position: relative; z-index: 2; }
.project-hero h1 { font-size: clamp(2.6rem, 8vw, 6.5rem); margin: 0; }
.project-hero .hr-line { display: block; width: 50px; height: 1px; background: rgba(255,255,255,0.5); margin: 32px auto; }
.project-hero p.lead { max-width: 520px; margin: 0 auto; color: rgba(255,255,255,0.85); font-size: clamp(0.95rem, 1.1vw, 1.15rem); line-height: 1.6; }
@media (max-width: 720px) {
  .project-hero { padding: calc(var(--nav-h) + 60px) 6% 70px; }
  .project-hero .hr-line { margin: 24px auto; }
}

/* ---------- project intro split (image 7/12 + text 5/12) ---------- */
.project-intro-split { display: grid; grid-template-columns: 7fr 5fr; align-items: center; padding: 10% 5% 5%; gap: 0; }
.project-intro-media { height: 70vh; overflow: hidden; border-radius: 3px; margin-right: 3%; }
.project-intro-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); will-change: transform; }
.project-intro-text { padding-left: 3%; }
.project-intro-text h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin: 0 0 14px; }
.project-intro-text p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }
.project-intro-text hr { border: 0; border-top: 1px solid var(--line); margin-top: 32px; }
@media (max-width: 980px) {
  .project-intro-split { grid-template-columns: 1fr; padding: 12% 6%; gap: 30px; }
  .project-intro-media { height: 50vh; margin-right: 0; }
  .project-intro-text { padding-left: 0; }
}

/* ---------- project testimonial (within intro split) ---------- */
.project-testimonial { margin-top: 28px; }
.project-testimonial p { font-size: 1rem; color: var(--ink); line-height: 1.5; margin: 0 0 16px; }
.project-testimonial .author { display: flex; align-items: center; gap: 12px; }
.project-testimonial .avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--black); }
.project-testimonial .avatar img { width: 100%; height: 100%; object-fit: cover; }
.project-testimonial .name { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; }
.project-testimonial .role { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- project gallery carousel (fixed height, drag) ---------- */
.carousel-track.gallery-track { gap: 10px; }
.carousel-track .g-card {
  flex: 0 0 auto; height: 70vh; scroll-snap-align: start;
  border-radius: 4px; overflow: hidden; background: var(--black);
}
.carousel-track .g-card img { height: 100%; width: auto; display: block; object-fit: cover; }
@media (max-width: 980px) { .carousel-track .g-card { height: 55vh; } }
@media (max-width: 720px) { .carousel-track .g-card { height: 42vh; } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,6,6,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 88vw; max-height: 82vh; object-fit: contain;
  border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.lightbox.open img { opacity: 1; transform: scale(1); }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--white);
  cursor: pointer; opacity: 0.75; transition: opacity 0.2s var(--ease);
}
.lightbox button:hover { opacity: 1; }
.lightbox-close { top: 26px; right: 30px; font-size: 2.4rem; line-height: 1; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); font-size: 2.8rem; padding: 10px 16px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-counter {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.65); font-size: 0.78rem; letter-spacing: 0.1em;
}
body.lightbox-open { overflow: hidden; }
@media (max-width: 720px) {
  .lightbox-prev, .lightbox-next { font-size: 2rem; padding: 8px 10px; }
}

.project-nav {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 50px; margin-top: 60px; border-top: 1px solid var(--line);
}
.project-nav a { font-family: var(--font-head); font-weight: 600; }
.project-nav .dir { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.project-nav .next { text-align: right; }

/* ---------- footer ---------- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 30px;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.12); }
footer .logo img { height: 32px; margin-bottom: 18px; }
footer h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
footer a:hover { color: var(--accent); }
.socials { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.socials a { color: rgba(255,255,255,0.75); display: inline-flex; transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.socials a:hover { color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 0.82rem; flex-wrap: wrap; gap: 14px; }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- privacy page ---------- */
.policy { max-width: 820px; margin: 0 auto; }
.policy h2 { font-size: 1.3rem; font-weight: 700; margin-top: 2.2em; }
.policy p, .policy li { color: var(--ink-soft); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .portfolio-split { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-split .p-card .p-img { height: 42vh; }
  .portfolio-split-text { position: static; }
}

@media (max-width: 720px) {
  .offcanvas-nav { padding: 50px 32px; width: 100%; }
  .offcanvas-links a { font-size: 1.6rem; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .p-card.wide-card { grid-column: span 1; }
  .p-card .p-img { height: 40vh; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .value-row { grid-template-columns: 1fr; gap: 10px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .span-2 { grid-column: span 1; }
  section { padding: 70px 0; }
  .tour-wrap iframe { height: 380px; }
}
