/* ═══════════════════════════════════════════════════
   MOGH STUDIO — PREMIUM CSS REBUILD
   Dark Cinematic · Editorial · Premium Agency Level
═══════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --black:        #050706;
  --forest:       #07110C;
  --dark-green:   #0D1A0F;
  --moss:         #435235;
  --olive:        #6F7A4A;
  --olive-light:  #8A9A5A;
  --gold:         #B6A06A;
  --gold-dim:     #8A7A50;
  --off-white:    #F3F0E8;
  --warm-white:   #EDE9DF;
  --muted:        #8A9085;
  --border-d:     #1A241B;
  --border-l:     rgba(13,26,15,0.12);

  --ff-head:  'Syne', sans-serif;
  --ff-serif: 'Playfair Display', serif;
  --ff-body:  'Inter', sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1320px;
  --pad:  clamp(1.25rem, 4vw, 3rem);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--black);
  color: var(--off-white);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  cursor: none;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ─── GRAIN TEXTURE (very subtle, static — no animation) ─── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* No animation — removes the TV static / chiando effect */
}

/* ─── CUSTOM CURSOR ─── */
#cursor { position: fixed; top: 0; left: 0; z-index: 9997; pointer-events: none; }
.cursor__dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--olive);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: transform 0.1s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  will-change: transform;
}
.cursor__ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 1px solid rgba(111,122,74,0.5);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: transform 0.45s var(--ease-out), width 0.4s var(--ease-out), height 0.4s var(--ease-out), opacity 0.3s, border-color 0.3s;
  will-change: transform;
}
body.cursor-hover .cursor__dot { width: 10px; height: 10px; background: var(--olive-light); }
body.cursor-hover .cursor__ring { width: 60px; height: 60px; border-color: rgba(111,122,74,0.8); }
body.cursor-press .cursor__dot { transform: translate(-50%,-50%) scale(0.7); }
body.cursor-press .cursor__ring { transform: translate(-50%,-50%) scale(0.8); }

/* ─── PRELOADER ─── */
#preloader {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__logo {
  width: 56px; height: 56px;
  color: var(--off-white);
  margin: 0 auto 2rem;
  animation: preloader-pulse 1.5s var(--ease-in-out) infinite;
}
@keyframes preloader-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.92); }
}
.preloader__bar {
  width: 200px; height: 1px;
  background: var(--border-d);
  margin: 0 auto 1rem;
  overflow: hidden;
}
.preloader__fill {
  height: 100%;
  background: var(--olive);
  width: 0;
  animation: preloader-fill 1.2s var(--ease-out) forwards;
}
@keyframes preloader-fill { to { width: 100%; } }
.preloader__text {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ─── HEADER ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 var(--pad);
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(5,7,6,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border-d);
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 76px;
  max-width: var(--wrap);
  margin: 0 auto;
  gap: 2rem;
}
.header__logo {
  display: flex; align-items: center; gap: 0.75rem;
}
/* ─── NEW LOGO WRAPPER ─── */
.logo-wrapper {
  width: 32px;
  height: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: transparent;
  transition: opacity 0.3s;
}
.logo-wrapper img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
}
.header__logo:hover .logo-wrapper {
  opacity: 0.8;
}
.logo-svg { width: 36px; height: 36px; color: var(--off-white); flex-shrink: 0; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--ff-head);
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--off-white);
}
.logo-tagline {
  font-size: 0.5rem; letter-spacing: 0.22em;
  color: var(--muted); margin-top: 2px;
}

.header__nav {
  display: flex; align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-item {
  font-family: var(--ff-body);
  font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(243,240,232,0.65);
  position: relative;
  transition: color 0.2s;
}
.nav-item::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--olive);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav-item:hover { color: var(--off-white); }
.nav-item:hover::after { transform: scaleX(1); }

.header__right { display: flex; align-items: center; gap: 1.25rem; }

/* ─── BUTTONS ─── */
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--off-white);
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(111,122,74,0.4);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--olive);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease-out);
  z-index: 0;
  border-radius: 100px;
}
.btn-cta__text, .btn-cta__arrow { position: relative; z-index: 1; }
.btn-cta:hover { border-color: var(--olive); }
.btn-cta:hover::before { transform: translateY(0); }
.btn-cta__arrow { font-size: 0.9rem; transition: transform 0.2s; }
.btn-cta:hover .btn-cta__arrow { transform: rotate(45deg); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-head);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--off-white);
  background: var(--olive);
  padding: 1rem 2rem;
  border-radius: 100px;
  border: 1px solid var(--olive);
  transition: all 0.3s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--olive-light);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
  border-radius: 100px;
  z-index: 0;
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { box-shadow: 0 0 40px rgba(111,122,74,0.35); }

.btn-primary--light {
  background: var(--off-white);
  color: var(--black);
  border-color: var(--off-white);
}
.btn-primary--light::before { background: var(--warm-white); }

.btn-contact {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--ff-body);
  font-size: 1.05rem;
  color: var(--off-white);
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(243,240,232,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
  text-decoration: none;
  width: fit-content;
}
.btn-contact:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(243,240,232,0.3);
}

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-head);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(243,240,232,0.7);
  padding: 1rem 2rem;
  border-radius: 100px;
  border: 1px solid rgba(243,240,232,0.18);
  transition: all 0.3s var(--ease-out);
}
.btn-ghost:hover { color: var(--off-white); border-color: rgba(243,240,232,0.45); background: rgba(243,240,232,0.06); }

/* Burger */
.burger {
  display: none; flex-direction: column;
  justify-content: center;
  gap: 6px; padding: 4px; width: 36px;
}
.burger span {
  display: block; height: 1.5px;
  background: var(--off-white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s, width 0.3s;
}
.burger span:last-child { width: 60%; margin-left: auto; }
.burger.open span:first-child { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-7.5px) rotate(-45deg); width: 100%; }

/* Mobile Nav */
.mobile-nav {
  position: absolute; top: 76px; left: 0; right: 0;
  background: rgba(5,7,6,0.97);
  backdrop-filter: blur(20px);
  padding: 0 var(--pad);
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.3s;
  border-bottom: 1px solid transparent;
}
.mobile-nav.open {
  max-height: 420px;
  padding: 1.5rem var(--pad) 2rem;
  border-bottom-color: var(--border-d);
}
.mobile-nav__link {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-d);
  color: rgba(243,240,232,0.75);
  transition: color 0.2s;
}
.mobile-nav__link:hover { color: var(--olive); }

/* ─── CONTAINERS ─── */
.section-container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ─── LABELS ─── */
.section-label-group {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 2rem;
}
.section-num {
  font-family: var(--ff-body);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--olive);
}
.section-num.dark { color: var(--moss); }
.section-tag {
  font-family: var(--ff-body);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.section-tag.dark { color: rgba(13,26,15,0.5); }

/* ─── SECTION TITLES ─── */
.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
.section-title.dark { color: var(--dark-green); }
.section-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--olive);
}

/* ─── LINK ARROW INLINE ─── */
.link-arrow-inline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s, gap 0.2s;
}
.link-arrow-inline:hover { color: var(--olive); gap: 0.75rem; }
.link-arrow-inline.light { color: rgba(243,240,232,0.55); }
.link-arrow-inline.light:hover { color: var(--off-white); }
.link-arrow-inline.no-click {
  cursor: default;
  pointer-events: none;
}
.link-arrow-inline.no-click:hover {
  gap: 0.5rem;
  color: rgba(243,240,232,0.55);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 76px;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  will-change: transform;
}
.hero__media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(5,7,6,0.95) 0%,
    rgba(5,7,6,0.80) 35%,
    rgba(7,17,12,0.55) 60%,
    rgba(7,17,12,0.30) 100%
  );
}

.hero__watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 36vw, 520px);
  color: var(--olive);
  opacity: 0.10;
  z-index: 1;
  pointer-events: none;
  animation: wm-breathe 10s ease-in-out infinite;
}
@keyframes wm-breathe {
  0%,100% { opacity: 0.08; transform: translateY(-50%) scale(1); }
  50%      { opacity: 0.14; transform: translateY(-50%) scale(1.02); }
}

.hero__content {
  position: relative; z-index: 2;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 4rem var(--pad) 7rem;
}

.hero__eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--ff-body);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(243,240,232,0.45);
  margin-bottom: 2.5rem;
  overflow: hidden;
}
.eyebrow-dash {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--olive);
  flex-shrink: 0;
}

.hero__headline {
  display: flex; flex-direction: column;
  font-family: var(--ff-head);
  /* Kept large but contained: max 5.5rem ≈ 88px — impactful without overflowing */
  font-size: clamp(2rem, 4.8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.hero__line {
  display: block;
}
.hero__line--accent { color: var(--olive); }
.hero__line--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(243,240,232,0.8);
  text-stroke: 1px rgba(243,240,232,0.8);
  -webkit-font-smoothing: antialiased;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
}
.hero__sub {
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: rgba(243,240,232,0.65);
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: flex-end;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: var(--pad);
  z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--ff-body);
  font-size: 0.6rem; letter-spacing: 0.25em;
  color: rgba(243,240,232,0.35);
}
.scroll-wheel {
  width: 20px; height: 32px;
  border: 1px solid rgba(243,240,232,0.2);
  border-radius: 100px;
  display: flex; justify-content: center;
  padding-top: 5px;
}
.scroll-wheel__dot {
  width: 3px; height: 6px;
  background: var(--olive);
  border-radius: 100px;
  animation: scroll-dot 2.5s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS (JS driven)
   Using opacity+translateY only — no clip-path to avoid subpixel aliasing
═══════════════════════════════════════ */
.reveal-line {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: transform, opacity;
}
.reveal-line.revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}
.reveal-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: transform, opacity;
}
.reveal-fade.revealed {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-strip {
  background: var(--olive);
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid rgba(111,122,74,0.3);
  border-bottom: 1px solid rgba(111,122,74,0.3);
}
.marquee-track {
  display: flex; gap: 2rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  font-family: var(--ff-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(5,7,6,0.85);
}
.marquee-dot { color: rgba(5,7,6,0.4); font-size: 0.5rem; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════
   SERVICES — SPLIT PANEL
═══════════════════════════════════════ */
.services {
  background: var(--black);
  border-top: 1px solid var(--border-d);
}

.services__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}
.services__hint {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243,240,232,0.28);
  font-family: var(--ff-body);
}

/* ─── SPLIT PANEL ─── */
.svc-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  border-top: 1px solid var(--border-d);
}

/* LEFT — the list */
.svc-panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-d);
}

.svc-panel__item {
  flex: 1;
  border-bottom: 1px solid var(--border-d);
  transition: background 0.3s ease;
}
.svc-panel__item:last-child { border-bottom: none; }

/* When any item is hovered, dim siblings */
.svc-panel__list:has(.svc-panel__item:hover) .svc-panel__item:not(:hover) {
  opacity: 0.35;
}

.svc-panel__link {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2.5rem;
  height: 100%;
  text-decoration: none;
  transition: padding-left 0.35s var(--ease-out);
}
.svc-panel__item:hover .svc-panel__link {
  padding-left: 3.5rem;
}

/* Accent bar on left edge */
.svc-panel__item {
  position: relative;
}
.svc-panel__item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: currentColor;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease-out);
}
.svc-panel__item:nth-child(1)::before { color: #00E5FF; }
.svc-panel__item:nth-child(2)::before { color: #A8E063; }
.svc-panel__item:nth-child(3)::before { color: #E8E4D8; }
.svc-panel__item:nth-child(4)::before { color: #D4A853; }
.svc-panel__item:nth-child(5)::before { color: #FF6B35; }
.svc-panel__item:nth-child(6)::before { color: #A0916B; }
.svc-panel__item:hover::before { transform: scaleY(1); }

.svc-panel__num {
  font-family: var(--ff-body);
  font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(243,240,232,0.22);
  flex-shrink: 0;
  transition: color 0.3s;
  min-width: 24px;
}
.svc-panel__item:hover .svc-panel__num {
  color: rgba(243,240,232,0.6);
}

.svc-panel__text {
  display: flex; flex-direction: column; gap: 0.35rem;
  flex: 1;
}

.svc-panel__name {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--off-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1;
  transition: color 0.3s;
}

.svc-panel__sub {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243,240,232,0.35);
  transition: color 0.3s;
}
.svc-panel__item:hover .svc-panel__sub {
  color: rgba(243,240,232,0.55);
}

.svc-panel__arrow {
  font-size: 1.2rem;
  color: rgba(243,240,232,0.15);
  transition: color 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.svc-panel__item:hover .svc-panel__arrow {
  color: var(--off-white);
  transform: translate(3px, -3px);
}

/* RIGHT — image panel */
.svc-panel__visual {
  position: relative;          /* contain absolute children */
  min-height: 70vh;
  overflow: hidden;
  background: #06080a;
  /* sticky scroll effect via JS or scroll-driven — layout is correct first */
}

.svc-panel__img {
  position: absolute;
  inset: 0;
  /* === THE FIX: flex so inner boxes center === */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.svc-panel__img.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* no overlay needed — each anim panel has its own bg */
.svc-panel__img-overlay { display: none; }



/* ═══════════════════════════════════════
   MANIFESTO
═══════════════════════════════════════ */
.manifesto {
  background: var(--warm-white);
  padding: clamp(5rem, 8vw, 10rem) 0;
}
.manifesto__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.manifesto__quote {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--dark-green);
  display: flex; flex-wrap: wrap;
  gap: 0.25em;
  align-items: baseline;
  -webkit-font-smoothing: antialiased;
}
.manifesto__word { display: inline-block; }
.manifesto__break { width: 100%; height: 0; }
.manifesto__word--accent { color: var(--olive); }
.manifesto__word--em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
}
.manifesto__right { padding-top: 1.5rem; }
.manifesto__text {
  font-size: 1rem; line-height: 1.8;
  color: rgba(13,26,15,0.65);
  margin-bottom: 2rem;
}
.manifesto__visual {
  margin-top: 3rem;
  width: 120px; height: 120px;
  color: rgba(67,82,53,0.4);
  animation: tree-rotate 30s linear infinite;
}
@keyframes tree-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════
   PROJECTS + SHOWCASE
═══════════════════════════════════════ */
.projects {
  background: var(--black);
  padding: clamp(5rem, 8vw, 9rem) 0;
  border-top: 1px solid var(--border-d);
}

.projects__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
  align-items: end;
}
.projects__header-right {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 1.5rem;
}

/* ─── NUMBERED PROJECT LIST ─── */
.proj-list {
  position: relative;
  border-top: 1px solid var(--border-d);
}

.proj-row {
  display: grid;
  grid-template-columns: 52px 1fr 200px 200px 100px;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-d);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: padding-left 0.35s var(--ease-out);
  cursor: default;
}
.proj-row::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--olive);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease-out);
}
.proj-row:hover {
  padding-left: 1.5rem;
}
.proj-row:hover::before {
  transform: scaleY(1);
}

/* Number */
.proj-row__num {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(243,240,232,0.2);
  transition: color 0.3s;
}
.proj-row:hover .proj-row__num {
  color: var(--olive);
}

/* Title + Tags */
.proj-row__info { display: flex; flex-direction: column; gap: 0.5rem; }
.proj-row__title {
  font-family: var(--ff-head);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--off-white);
  transition: color 0.3s;
  -webkit-font-smoothing: antialiased;
}
.proj-row:hover .proj-row__title { color: var(--off-white); }

.proj-row__tags {
  display: flex; gap: 0.45rem;
  flex-wrap: wrap;
}
.proj-row__tags span {
  font-size: 0.58rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(243,240,232,0.4);
  border: 1px solid rgba(243,240,232,0.12);
  padding: 0.18rem 0.5rem;
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s;
}
.proj-row:hover .proj-row__tags span {
  color: rgba(243,240,232,0.65);
  border-color: rgba(243,240,232,0.25);
}

.proj-row__tags span.tag-soon {
  background: rgba(111, 122, 74, 0.12);
  color: var(--olive);
  border-color: rgba(111, 122, 74, 0.3);
}
.proj-row:hover .proj-row__tags span.tag-soon {
  background: rgba(111, 122, 74, 0.22);
  color: #c5d392;
  border-color: rgba(111, 122, 74, 0.5);
}

/* Result metric */
.proj-row__result {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(243,240,232,0.35);
  transition: color 0.3s;
}
.proj-row:hover .proj-row__result {
  color: var(--olive);
}

/* Thumbnail — fades in on hover, absolutely positioned so it doesn't push content */
.proj-row__img {
  width: 200px;
  height: 120px;
  border-radius: 4px;
  background-image: var(--row-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(0.95) translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}
.proj-row:hover .proj-row__img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* CTA */
.proj-row__cta {
  font-family: var(--ff-body);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(243,240,232,0.2);
  transition: color 0.3s;
  text-align: right;
}
.proj-row:hover .proj-row__cta {
  color: var(--off-white);
}

/* ─── PROJECTS COMING SOON PLACEHOLDER ─── */
.projects__soon {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  background: radial-gradient(circle at top left, rgba(11, 29, 20, 0.12), transparent), rgba(10, 10, 10, 0.3);
  border: 1px solid var(--border-d);
  border-radius: 12px;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  align-items: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 991px) {
  .projects__soon {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.projects__soon-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.projects__soon-badge {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  background: rgba(111, 122, 74, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(111, 122, 74, 0.25);
}
.projects__soon-title {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--off-white);
  max-width: 480px;
}
.projects__soon-subtitle {
  font-family: var(--ff-body);
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 450px;
}
.projects__soon-graphic {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  background: #030303;
  border: 1px solid rgba(243,240,232,0.05);
}
@media (max-width: 991px) {
  .projects__soon-graphic {
    height: 240px;
  }
}
.soon-grid {
  position: absolute; inset: 0;
  background-image: 
    linear-gradient(rgba(111, 122, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 122, 74, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center;
  opacity: 0.8;
}
.soon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: float-orb 10s infinite ease-in-out;
}
.orb--1 {
  width: 180px; height: 180px;
  background: var(--olive);
  top: 15%; left: 10%;
  animation-duration: 12s;
}
.orb--2 {
  width: 220px; height: 220px;
  background: #143521;
  bottom: 10%; right: 10%;
  animation-duration: 8s;
  animation-delay: -2s;
}
@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-15px, 20px) scale(0.9);
  }
}



/* ═══════════════════════════════════════
   SERVICE PANEL ANIMATIONS — REBUILT
═══════════════════════════════════════ */

/* ─── SHARED anim panel: fills the parent flex container ─── */
.anim-panel {
  /* parent (.svc-panel__img) is already display:flex centered */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  padding: 2rem;
  box-sizing: border-box;
}

/* ════════════════════════════════════════
   01 CHATBOT — IA & AUTOMAÇÕES
════════════════════════════════════════ */
.anim-ia { background: #040b12; }

.chat-ui {
  width: 100%; max-width: 360px;
  background: #0d1520;
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,229,255,0.07), 0 28px 70px rgba(0,0,0,0.8);
}
.chat-ui__header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #182030;
  border-bottom: 1px solid rgba(0,229,255,0.12);
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #00E5FF, #0088aa);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: #040b12;
  flex-shrink: 0;
}
.chat-name { font-size: 0.8rem; font-weight: 600; color: #fff; }
.chat-status { display: flex; align-items: center; gap: 5px; font-size: 0.62rem; color: rgba(255,255,255,0.4); }
.chat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #00E5FF;
  animation: chat-pulse 1.5s ease-in-out infinite;
}
@keyframes chat-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.chat-ui__body {
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
}
.chat-msg {
  max-width: 80%;
  opacity: 0;
  animation: msg-in 0.35s ease forwards var(--cd, 0s);
}
.anim-ia:not(.is-active) .chat-msg,
.anim-ia:not(.is-active) .chat-typing { animation: none; opacity: 0; }
@keyframes msg-in { to { opacity: 1; transform: translateY(0); } }
.chat-msg span {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.75rem;
  line-height: 1.4;
}
.chat-msg--bot { align-self: flex-start; }
.chat-msg--bot span {
  background: #1e2e40;
  color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 3px;
}
.chat-msg--user { align-self: flex-end; }
.chat-msg--user span {
  background: #00E5FF;
  color: #040b12;
  font-weight: 600;
  border-bottom-right-radius: 3px;
}
.chat-typing {
  align-self: flex-start;
  opacity: 0;
  animation: msg-in 0.3s ease forwards var(--cd, 0s);
  display: flex; align-items: center; gap: 4px;
  background: #1e2e40;
  padding: 10px 14px;
  border-radius: 12px 12px 12px 3px;
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(0,229,255,0.6);
  animation: typing-bounce 1s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

.chat-ui__input {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0d1520;
}
.chat-ui__input input {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 8px 14px;
  font-size: 0.72rem; color: rgba(255,255,255,0.3);
  outline: none;
}
.chat-ui__input button {
  width: 32px; height: 32px; border-radius: 50%;
  background: #00E5FF; border: none;
  color: #040b12; font-size: 1rem; font-weight: 700;
  cursor: pointer; flex-shrink: 0;
}

/* ════════════════════════════════════════
   02 SERP — SEO
════════════════════════════════════════ */
.anim-seo { background: #07090b; }

.serp-ui {
  width: 100%; max-width: 440px;
  background: #111417;
  border: 1px solid rgba(168,224,99,0.15);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(168,224,99,0.05), 0 28px 70px rgba(0,0,0,0.8);
}
.serp-search {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #1a1e24;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.serp-glogo { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; flex-shrink: 0; }
.serp-bar {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 7px 14px;
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
}
.serp-results { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.serp-result {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  opacity: 0;
  animation: sr-slide 0.4s ease forwards var(--sd, 0s);
}
.anim-seo:not(.is-active) .serp-result { animation: none; opacity: 0; }
@keyframes sr-slide { to { opacity: 1; } }
.serp-result.serp-active {
  background: rgba(168,224,99,0.06);
  border: 1px solid rgba(168,224,99,0.2);
}
.sr-pos {
  font-size: 0.65rem; font-weight: 700;
  width: 26px; height: 26px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.35);
}
.sr-pos--top {
  background: #A8E063;
  color: #040b12;
  font-size: 0.7rem;
}
.sr-pos--hi { color: rgba(255,255,255,0.25); }
.sr-content { display: flex; flex-direction: column; gap: 3px; }
.sr-url { font-size: 0.6rem; color: rgba(255,255,255,0.3); }
.sr-url--green { color: #A8E063; font-weight: 600; }
.sr-title { font-size: 0.75rem; color: rgba(255,255,255,0.65); }
.sr-title--bold { color: #fff; font-weight: 600; }
.sr-desc { font-size: 0.62rem; color: rgba(255,255,255,0.3); line-height: 1.4; }
.serp-badge {
  margin: 0 16px 14px;
  background: rgba(168,224,99,0.1);
  border: 1px solid rgba(168,224,99,0.25);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.65rem; color: #A8E063; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.sb-arrow { font-size: 1rem; }

/* ════════════════════════════════════════
   03 MULTI-DEVICE — WEBSITES
════════════════════════════════════════ */
.anim-web { background: #07070e; }

/* Scene container */
.web-scene {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Shared build animation */
.dw-build {
  opacity: 0;
  animation: dw-appear 0.35s ease forwards var(--dw, 0s);
}
.anim-web:not(.is-active) .dw-build { animation: none; opacity: 0; }
@keyframes dw-appear {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Laptop ── */
.laptop-frame {
  position: absolute;
  left: 0; bottom: 30px;
  width: 360px;
}
.laptop-screen {
  background: #1c1c28;
  border: 2px solid rgba(232,228,216,0.16);
  border-radius: 10px 10px 0 0;
  padding: 10px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.6);
}
.laptop-inner {
  background: #eeecea;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
}
.laptop-base {
  background: #1c1c28;
  border: 2px solid rgba(232,228,216,0.12);
  border-top: none;
  border-radius: 0 0 6px 6px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.laptop-notch {
  width: 50px; height: 6px;
  background: rgba(232,228,216,0.1);
  border-radius: 0 0 4px 4px;
}

/* ── Phone ── */
.phone-frame {
  position: absolute;
  right: 10px; bottom: 0;
  width: 110px;
  background: #1c1c28;
  border: 2px solid rgba(232,228,216,0.18);
  border-radius: 18px;
  padding: 8px 6px;
  box-shadow: 0 0 0 4px rgba(232,228,216,0.04), 0 20px 50px rgba(0,0,0,0.8);
  z-index: 2;
}
.phone-notch {
  width: 32px; height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin: 0 auto 7px;
}
.phone-screen {
  background: #eeecea;
  border-radius: 10px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 180px;
}

/* ── Wireframe elements ── */
.dw-nav { height: 14px; background: rgba(0,0,0,0.1); border-radius: 3px; flex-shrink: 0; }
.dw-hero {
  background: rgba(0,0,0,0.06); border-radius: 6px; flex-shrink: 0;
  padding: 8px; display: flex; flex-direction: column; gap: 5px;
  height: 70px;
}
.dw-hero-wide {
  background: rgba(0,0,0,0.06); border-radius: 6px; flex-shrink: 0;
  padding: 10px; display: flex; flex-direction: column; gap: 6px;
  height: 90px;
}
.dw-h1 { height: 11px; background: rgba(0,0,0,0.15); border-radius: 3px; width: 65%; }
.dw-h2 { height: 8px; background: rgba(0,0,0,0.1); border-radius: 3px; width: 45%; }
.dw-btn { height: 18px; background: #6F7A4A; border-radius: 4px; width: 70px; }
.dw-card-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; flex-shrink: 0; }
.dw-card { height: 48px; background: rgba(0,0,0,0.07); border-radius: 5px; }

/* ── Floating badges ── */
.wb-badge {
  position: absolute;
  background: rgba(18,18,28,0.92);
  border: 1px solid rgba(232,228,216,0.18);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(232,228,216,0.8);
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  z-index: 3;
}
.wb-badge--1 { top: 12px; left: 0; }
.wb-badge--2 { top: 12px; right: 0; }
.wb-badge--3 { bottom: 48px; right: 0; }



/* ════════════════════════════════════════
   04 PRODUCT + CART — E-COMMERCE
════════════════════════════════════════ */
.anim-ecom { background: #0a0800; }

.ecom-ui {
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: 12px;
}
.ecom-product {
  background: #140f00;
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 0 50px rgba(212,168,83,0.05), 0 24px 60px rgba(0,0,0,0.75);
}
.ep-visual {
  width: 130px; flex-shrink: 0;
  background: linear-gradient(135deg, #2a1800, #3a2200);
  position: relative;
}
.ep-visual::after {
  content: '📦';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 2.5rem;
}
.ep-info {
  padding: 16px; flex: 1;
  display: flex; flex-direction: column; gap: 7px;
}
.ep-badge {
  font-size: 0.52rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #D4A853;
  background: rgba(212,168,83,0.12);
  display: inline-block; padding: 3px 8px; border-radius: 3px;
  width: fit-content;
}
.ep-title { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.85); }
.ep-stars { font-size: 0.65rem; color: #D4A853; }
.ep-stars span { color: rgba(255,255,255,0.35); }
.ep-price-block { display: flex; flex-direction: column; gap: 2px; }
.ep-old { font-size: 0.62rem; color: rgba(255,255,255,0.25); text-decoration: line-through; }
.ep-new { font-size: 1.1rem; font-weight: 800; color: #D4A853; }
.ep-btn {
  background: #D4A853;
  color: #0a0800;
  border: none; border-radius: 8px;
  padding: 9px 14px;
  font-size: 0.72rem; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  width: 100%;
  justify-content: center;
  transition: transform 0.15s ease, background 0.2s;
  animation: btn-pulse 3s ease-in-out infinite 2s;
}
@keyframes btn-pulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(212,168,83,0); }
  50%{ box-shadow: 0 0 0 6px rgba(212,168,83,0.25); }
}
.ecom-notification {
  background: rgba(100,200,100,0.15);
  border: 1px solid rgba(100,200,100,0.35);
  border-radius: 8px; padding: 10px 14px;
  font-size: 0.72rem; color: #7CFC00;
  display: flex; align-items: center; gap: 8px;
  opacity: 0;
  animation: notif-in 0.4s ease forwards 3.5s, notif-out 0.3s ease forwards 6s;
}
.anim-ecom:not(.is-active) .ecom-notification { animation: none; opacity: 0; }
@keyframes notif-in { to { opacity: 1; } }
@keyframes notif-out { to { opacity: 0; } }
.ecom-trust {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.ecom-trust span {
  font-size: 0.58rem; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 5px 9px; border-radius: 6px;
}

/* ════════════════════════════════════════
   05 INSTAGRAM AD — MARKETING DIGITAL
════════════════════════════════════════ */
.anim-mkt { background: #0e060e; }

.ig-ui {
  width: 100%; max-width: 320px;
  display: flex; flex-direction: column; gap: 10px;
}
.ig-post {
  background: #1a0e1a;
  border: 1px solid rgba(255,107,53,0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255,107,53,0.06), 0 24px 60px rgba(0,0,0,0.8);
}
.ig-post__header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
}
.ig-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6B35, #ff3580);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.ig-account { flex: 1; }
.ig-name { font-size: 0.72rem; font-weight: 700; color: #fff; }
.ig-sub { font-size: 0.55rem; color: rgba(255,255,255,0.35); }
.ig-more { color: rgba(255,255,255,0.3); font-size: 1rem; letter-spacing: 0.05em; }
.ig-post__img {
  background: linear-gradient(135deg, #1f0e0e, #2a0e1a);
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.ig-img-inner {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.ig-copy-line {
  height: 10px; width: 180px;
  background: rgba(255,255,255,0.2); border-radius: 4px;
}
.ig-copy-line.short { width: 120px; }
.ig-cta-block {
  background: #FF6B35; color: #fff;
  padding: 8px 22px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700;
}
.ig-post__actions {
  padding: 10px 14px 6px;
}
.ig-actions-left { display: flex; gap: 14px; }
.ig-heart { color: rgba(255,255,255,0.6); font-size: 1.1rem; cursor: pointer; }
.ig-bubble, .ig-share { color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.ig-post__stats {
  padding: 0 14px 12px;
  display: flex; justify-content: space-between;
  font-size: 0.65rem; color: rgba(255,255,255,0.5);
}
.ig-count { font-weight: 700; color: #FF6B35; }
.ig-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  background: rgba(255,107,53,0.07);
  border: 1px solid rgba(255,107,53,0.15);
  border-radius: 10px; overflow: hidden;
}
.ig-metric {
  padding: 12px 8px; text-align: center;
  border-right: 1px solid rgba(255,107,53,0.1);
  display: flex; flex-direction: column; gap: 3px;
}
.ig-metric:last-child { border-right: none; }
.igm-val { font-size: 1rem; font-weight: 800; color: #FF6B35; }
.igm-label { font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.3); }

/* ════════════════════════════════════════
   06 COPY EDITOR — CONTENT & COPYWRITING
════════════════════════════════════════ */
.anim-cnt { background: #0c0a05; }

.editor-ui {
  width: 100%; max-width: 440px;
  background: #160f04;
  border: 1px solid rgba(160,145,107,0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(160,145,107,0.04), 0 28px 70px rgba(0,0,0,0.8);
}
.editor-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #201608;
  border-bottom: 1px solid rgba(160,145,107,0.12);
}
.ed-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.ed-title {
  margin-left: 10px;
  font-size: 0.65rem; color: rgba(160,145,107,0.45);
  font-family: 'Courier New', monospace;
}
.editor-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.ed-label {
  font-size: 0.52rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(160,145,107,0.4);
  display: flex; align-items: center; gap: 8px;
}
.ed-label::before { content: ''; flex: 1; height: 1px; background: rgba(160,145,107,0.15); }
.ed-before {
  background: rgba(255,80,80,0.06);
  border: 1px solid rgba(255,80,80,0.12);
  border-radius: 8px; padding: 12px;
}
.ed-strike {
  font-size: 0.72rem; line-height: 1.55;
  color: rgba(255,255,255,0.3);
  text-decoration: line-through;
  text-decoration-color: rgba(255,80,80,0.5);
}
.ed-arrow {
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.15em; color: rgba(160,145,107,0.5);
  text-align: center;
}
.ed-after {
  background: rgba(160,145,107,0.07);
  border: 1px solid rgba(160,145,107,0.2);
  border-radius: 8px; padding: 12px;
  min-height: 60px;
}
.ed-typed {
  font-size: 0.8rem; line-height: 1.55;
  color: rgba(232,228,216,0.85);
  font-weight: 500;
}
.ed-cur {
  color: rgba(160,145,107,0.8);
  animation: blink 0.9s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */

.about {

  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.about__media {
  position: relative;
  overflow: hidden;
}
.about__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.about:hover .about__img { transform: scale(1.03); }
.about__media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(5,7,6,0.5) 0%, transparent 60%);
}
.about__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(243,240,232,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(243,240,232,0.25);
  color: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s var(--ease-out);
}
.about__play-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(243,240,232,0.15);
  animation: ring-pulse 3s ease-in-out infinite;
}
@keyframes ring-pulse {
  0%,100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.1); opacity: 0.2; }
}
.about__play:hover {
  background: rgba(111,122,74,0.25);
  border-color: var(--olive);
  transform: translate(-50%,-50%) scale(1.08);
}

.about__content {
  background: var(--forest);
  padding: clamp(4rem, 6vw, 7rem) clamp(3rem, 5vw, 6rem);
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.about__title {
  font-family: var(--ff-head);
  font-size: clamp(1.7rem, 2.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--off-white);
  margin-bottom: 1.75rem;
  -webkit-font-smoothing: antialiased;
}
.about__title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--olive);
}
.about__text {
  font-size: 0.95rem; line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.about__pillars {
  display: flex; flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-d);
}
.pillar-row {
  display: flex; align-items: flex-start; gap: 1rem;
}
.pillar-row__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-d);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--olive);
  transition: all 0.3s;
}
.pillar-row:hover .pillar-row__icon {
  background: rgba(111,122,74,0.15);
  border-color: rgba(111,122,74,0.4);
}
.pillar-row strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 0.2rem;
}
.pillar-row p {
  font-size: 0.8rem; color: var(--muted); line-height: 1.5;
}

/* ═══════════════════════════════════════
   PROCESS
═══════════════════════════════════════ */
.process {
  background: var(--off-white);
  padding: clamp(5rem, 8vw, 10rem) 0;
}
.process__header {
  margin-bottom: clamp(4rem, 6vw, 7rem);
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process__line {
  position: absolute;
  top: 36px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 1px;
  background: linear-gradient(90deg, var(--olive) 0%, rgba(67,82,53,0.15) 100%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out);
}
.process__line.animated { transform: scaleX(1); }

.process-step {
  padding: 0 2rem 2rem;
  display: flex; flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.process-step__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--off-white);
  border: 2px solid var(--olive);
  margin-bottom: 2rem;
  position: relative; z-index: 1;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 0 0 4px rgba(111,122,74,0.1);
}
.process-step:hover .process-step__dot {
  background: var(--olive);
  box-shadow: 0 0 0 8px rgba(111,122,74,0.15);
  transform: scale(1.3);
}
.process-step__num {
  font-family: var(--ff-body);
  font-size: 0.6rem; letter-spacing: 0.18em;
  color: var(--olive);
  margin-bottom: 1rem;
}
.process-step__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  border: 1px solid var(--border-l);
  display: flex; align-items: center; justify-content: center;
  color: var(--moss);
  margin-bottom: 1.5rem;
  background: white;
  box-shadow: 0 2px 12px rgba(13,26,15,0.06);
  transition: all 0.35s var(--ease-out);
}
.process-step:hover .process-step__icon {
  background: var(--olive);
  border-color: var(--olive);
  color: white;
  box-shadow: 0 8px 24px rgba(111,122,74,0.25);
}
.process-step__title {
  font-family: var(--ff-head);
  font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dark-green);
  margin-bottom: 0.6rem;
}
.process-step__desc {
  font-size: 0.82rem; color: rgba(13,26,15,0.55);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════ */
.final-cta {
  position: relative;
  min-height: 85vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.final-cta__media {
  position: absolute; inset: 0; z-index: 0;
}
.final-cta__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    125deg,
    rgba(5,7,6,0.96) 0%,
    rgba(7,17,12,0.90) 40%,
    rgba(5,7,6,0.85) 100%
  );
}
.final-cta__wm {
  position: absolute; left: -4%; bottom: -5%;
  width: clamp(240px, 35vw, 480px);
  color: var(--olive); opacity: 0.07;
  z-index: 1; pointer-events: none;
}
.final-cta__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: clamp(4rem, 6vw, 8rem) 0;
}
.final-cta__label {
  display: flex; flex-direction: column;
  gap: 0.5rem; padding-top: 0.5rem;
}
.final-cta__headline {
  font-family: var(--ff-head);
  font-size: clamp(1.7rem, 2.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  /* Removed text-transform: uppercase — long Portuguese words overflow at large sizes */
  color: var(--off-white);
  -webkit-font-smoothing: antialiased;
}
.final-cta__headline em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: 0;
  color: var(--olive);
}
.final-cta__right {
  display: flex; flex-direction: column;
  gap: 2rem; justify-content: center;
}
.final-cta__text {
  font-size: 1rem; line-height: 1.75;
  color: rgba(243,240,232,0.65);
  max-width: 380px;
}
.final-cta__bullets {
  display: flex; flex-direction: column; gap: 0.625rem;
  padding-left: 0;
}
.final-cta__bullets li {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: rgba(243,240,232,0.7);
}
.final-cta__bullets li span { color: var(--olive); font-weight: 700; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--dark-green);
  border-top: 1px solid var(--border-d);
  padding: 0 var(--pad);
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border-d);
}
.footer__logo {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer__about {
  font-size: 0.82rem; color: var(--muted); line-height: 1.7;
  max-width: 300px;
}
.footer__nav {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.footer__col {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.footer__col-title {
  font-family: var(--ff-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 0.5rem;
}
.footer__col a {
  font-size: 0.82rem; color: var(--muted);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--olive); }
.footer__email {
  font-size: 0.88rem; font-weight: 500;
  color: var(--off-white) !important;
}
.footer__socials {
  display: flex; gap: 0.625rem; margin-top: 0.5rem;
}
.footer__social {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-d);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-body);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: all 0.2s;
  text-transform: uppercase;
}
.footer__social:hover {
  border-color: var(--olive);
  color: var(--olive);
  background: rgba(111,122,74,0.1);
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--wrap); margin: 0 auto;
  padding: 1.5rem 0;
}
.footer__sig {
  font-family: var(--ff-head);
  font-size: 0.65rem; letter-spacing: 0.14em;
  color: rgba(138,144,133,0.4);
}
.footer__legal {
  display: flex; gap: 1.5rem;
}
.footer__legal a {
  font-size: 0.7rem; color: rgba(138,144,133,0.4);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--muted); }

/* ═══════════════════════════════════════
   SCROLL-DRIVEN (CSS native, progressive)
═══════════════════════════════════════ */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  .hero__img {
    animation: hero-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0% 50%;
  }
  @keyframes hero-parallax {
    from { transform: translateY(0) scale(1.05); }
    to   { transform: translateY(15%) scale(1.1); }
  }

  .proj-card {
    animation: card-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  @keyframes card-reveal {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .service-item {
    animation: service-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
  @keyframes service-reveal {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .proj-card--large { grid-column: span 2; }
  .proj-card--wide  { grid-column: span 2; }
  .about { grid-template-columns: 1fr; min-height: auto; }
  .about__media { aspect-ratio: 16/9; min-height: 0; }
  .final-cta__inner { grid-template-columns: auto 1fr; }
  .final-cta__right { grid-column: 2; }
  .final-cta__headline { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .section-header { grid-template-columns: 1fr; }
  .manifesto__layout { grid-template-columns: 1fr; gap: 3rem; }
  .projects__header { grid-template-columns: 1fr; }
  .projects__header-right { align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 3rem; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
  .process__line { display: none; }
  .process-step { padding: 0 0 3rem 1.5rem; border-left: 1px solid var(--border-l); }
  .process-step__dot { position: absolute; left: -6px; top: 0; margin-bottom: 0; }
  
  .svc-panel { grid-template-columns: 1fr; gap: 1rem; }
  .svc-panel__visual { display: none; }
  .svc-panel__item { padding: 1.5rem 0; }
  .svc-panel__name { font-size: 1.3rem; }
}

@media (max-width: 700px) {
  :root {
    --pad: 1.2rem;
  }
  
  /* Anti-zoom / anti-overflow constraints */
  body, html {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
  h1, h2, h3, h4, p, span, a, div {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .header__nav { display: none; }
  .btn-cta { display: none; }
  .burger { display: flex; z-index: 501; }

  .hero__headline { font-size: clamp(2.2rem, 10vw, 4rem); }
  .hero__bottom { grid-template-columns: 1fr; gap: 2rem; }
  .hero__ctas { justify-content: flex-start; }

  .projects__grid { grid-template-columns: 1fr; }
  .proj-card--large, .proj-card--wide { grid-column: span 1; }
  .metrics-strip__grid { flex-direction: column; gap: 0; }
  .metric { padding: 1.5rem 0; border-bottom: 1px solid var(--border-l); }
  .metric:last-child { border-bottom: none; }
  .metric-sep { display: none; }

  .final-cta__inner { grid-template-columns: 1fr; gap: 2rem; }
  .final-cta__right { grid-column: 1; }
  .final-cta__label { display: none; }

  .footer__nav { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .process__steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .grain { animation: none; }
}
