﻿@font-face {
  font-family: "Lamoric Rowen";
  src: url("Lamoric Rowen TTF.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LEMON MILK Light";
  src: url("LEMONMILK-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ececec;
  --surface: #b0b3b8;
  --surface-strong: #4a4f57;
  --text: #141619;
  --muted: #4a4f57;
  --line: rgba(74, 79, 87, 0.35);
  --accent: #7b1e2b;
  --accent-strong: #651925;
  --accent-soft: rgba(123, 30, 43, 0.2);
  --inverse: #ececec;
  --font-main: "Lamoric Rowen", serif;
  --font-text: "LEMON MILK Light", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.site-custom-cursor,
body.site-custom-cursor * {
  cursor: none !important;
}

.site-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  pointer-events: none;
  z-index: 2147483647;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  background: center / contain no-repeat url("pan.svg?v=5");
  transition: opacity 120ms ease;
  will-change: transform;
}

.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor[data-mode="normal"],
.site-cursor[data-mode="pan"],
.site-cursor[data-mode="zoom"] {
  background-image: url("pan.svg?v=5");
}

.site-cursor[data-mode="rotate"] {
  background-image: url("rotate.svg?v=5");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 94%);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

h1,
h2,
h3 {
  font-family: var(--font-main);
  margin: 0 0 14px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  background: var(--accent);
  color: var(--inverse);
  box-shadow: 0 6px 18px rgba(123, 30, 43, 0.35);
}

.primary-btn:hover {
  background: var(--accent-strong);
}

.ghost-btn {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--inverse);
  box-shadow: 0 4px 12px rgba(123, 30, 43, 0.2);
}

.ghost-btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  width: 99%;
  max-width: none;
}

.header-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  line-height: 1;
  white-space: nowrap;
  max-width: min(44vw, 370px);
}

.logo-icon {
  width: clamp(70px, 6vw, 84px);
  height: clamp(74px, 6.7vw, 90px);
  overflow: hidden;
  flex: 0 0 auto;
}

.logo-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  mix-blend-mode: normal;
}

.logo-wordmark {
  position: relative;
  display: inline-block;
  width: clamp(220px, 21vw, 330px);
  transform: translateY(-7px);
}

.logo-wordmark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 7px 6px rgba(23, 25, 30, 0.22));
}

.logo-wordmark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 100%;
  background: url("logo-wordmark-base.png?v=8") no-repeat top center / contain;
  transform: translateY(5px) scaleY(-1);
  transform-origin: top;
  opacity: 0.62;
  filter: blur(2px);
  mix-blend-mode: multiply;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 70%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 70%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a,
.nav-dropdown-toggle {
  font-family: var(--font-main);
  color: var(--inverse);
  font-size: 1rem;
  line-height: 1.2;
  position: relative;
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(123, 30, 43, 0.82);
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(123, 30, 43, 0.28);
  transition: color 160ms ease, text-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

@media (max-width: 1240px) {
  .nav {
    gap: 10px;
  }

  .nav a,
  .nav-dropdown-toggle {
    font-size: 0.95rem;
    padding: 9px 15px;
  }
}

.nav-dropdown-toggle {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.nav a:hover,
.nav-dropdown-toggle:hover {
  color: var(--inverse);
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  box-shadow: 0 8px 18px rgba(123, 30, 43, 0.34);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 170px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(123, 30, 43, 0.22);
  background: rgba(236, 236, 236, 0.97);
  box-shadow: 0 10px 18px rgba(20, 22, 25, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 20;
}

.nav-submenu a {
  font-family: var(--font-text);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--inverse);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 10px;
  box-shadow: none;
  padding: 8px 12px;
}

.nav-submenu a:hover {
  background: var(--inverse);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
  transform: none;
  text-shadow: none;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cta-btn {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
  justify-self: end;
  padding: 8px 15px;
  font-size: 0.86rem;
  box-shadow: 0 4px 12px rgba(123, 30, 43, 0.18);
}

.cta-btn:hover {
  background: var(--accent);
  color: var(--inverse);
}

.cta-icon {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 0;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  box-shadow: none;
}

.cta-icon:hover {
  transform: translateY(-50%);
  background: var(--text);
  border-color: var(--text);
  box-shadow: none;
}

.cta-btn.cta-icon:hover {
  background: var(--text);
  border-color: var(--text);
}

.cta-icon img {
  width: 26px;
  height: 26px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 12px;
  background: var(--text);
}

.hero {
  padding-top: 0;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  display: none;
  grid-template-columns: 1.03fr 0.97fr;
  min-height: clamp(520px, 78vh, 740px);
  position: relative;
}

.hero-slide.is-active {
  display: grid;
}

.hero-panel {
  position: relative;
  background-color: var(--surface);
  background-size: cover;
  background-position: center;
}

.main-panel {
  background-position: center;
}

.side-panel {
  border-left: 1px solid rgba(236, 236, 236, 0.35);
}

.hero-slide::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 51.5%;
  width: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 4;
}

.hero-copy {
  position: absolute;
  left: clamp(20px, 4vw, 60px);
  top: clamp(16px, 3vw, 34px);
  bottom: clamp(22px, 5vw, 54px);
  max-width: min(680px, 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--inverse);
}

.hero-copy .kicker,
.hero-copy h1,
.hero-copy p {
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.58);
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.9rem);
  line-height: 1.03;
}

.hero-copy p {
  color: rgba(236, 236, 236, 0.95);
}

.kicker {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.9rem, 1.2vw, 1.08rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--accent);
  background: var(--accent);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 8px 16px rgba(20, 22, 25, 0.22);
  transition: opacity 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
  opacity: 0.95;
}

.hero-arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.hero-arrow:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(20, 22, 25, 0.2);
  transform: translateY(-50%) scale(1.03);
}

.hero-arrow:hover::before {
  border-top-color: rgba(20, 22, 25, 0.92);
  border-right-color: rgba(20, 22, 25, 0.92);
}

.hero-arrow.prev {
  left: 14px;
}

.hero-arrow.next {
  right: 14px;
}

.hero-arrow.prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.hero-arrow.next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 6;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  background: rgba(123, 30, 43, 0.45);
  padding: 0;
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(123, 30, 43, 0.2);
}

.hero-bottom-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
  background: var(--accent);
  z-index: 5;
}

.section-label {
  margin: 0 0 12px;
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent);
}

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.values {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.values li {
  margin-bottom: 8px;
}

.about-icons {
  display: grid;
  gap: 12px;
}

.about-icons article {
  background: var(--accent);
  border: 1px solid rgba(123, 30, 43, 0.9);
  border-radius: 14px;
  padding: 24px 20px 20px;
}

.about-icons span {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: transparent;
  margin-bottom: 16px;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(20, 22, 25, 0.25);
}

.about-icons span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-icons h3,
.about-icons p {
  color: var(--inverse);
}

.about-icons h3 {
  font-size: clamp(1.1rem, 3.6vw, 1.5rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.about-icons p {
  font-size: clamp(0.96rem, 2.9vw, 1.08rem);
  line-height: 1.45;
}

.story {
  background: #dfe2e6;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.story-steps {
  display: grid;
  gap: 12px;
}

.story-steps article {
  background: #141619;
  border: 1px solid rgba(236, 236, 236, 0.12);
  border-radius: 14px;
  padding: 20px;
}

.story-steps span {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(236, 236, 236, 0.8);
  margin-bottom: 8px;
}

.story-steps h3,
.story-steps p {
  color: var(--inverse);
}

.story-steps h3 {
  margin: 0 0 8px;
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.story-steps ul {
  margin: 0;
  padding-left: 18px;
  color: var(--inverse);
}

.story-steps li {
  margin-bottom: 6px;
}

.works {
  background: #c9ccd1;
}

.works-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 320px));
  justify-content: center;
  gap: 16px;
  perspective: 1200px;
}

.work-card {
  background: #f3f3f4;
  border: 4px solid rgba(123, 30, 43, 0.92);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(20, 22, 25, 0.16);
  cursor: pointer;
  position: relative;
  aspect-ratio: 284 / 414;
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.work-card:hover {
  box-shadow: 0 14px 24px rgba(20, 22, 25, 0.2);
  border-color: var(--accent);
}

.work-card img,
.work-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #201d22;
}

.work-video-hoodie {
  object-position: 56% center;
  transform: none;
  transform-origin: center;
  filter: contrast(1.05) saturate(1.06);
}

.work-center-badge {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 134px;
  height: 134px;
  transform: translate(-50%, -50%) rotateY(0deg) scaleX(1);
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: visible;
  background: rgba(247, 247, 247, 0.96);
  border: 2px solid rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(20, 22, 25, 0.22);
  z-index: 3;
  pointer-events: none;
  transition: transform 820ms cubic-bezier(0.2, 0.72, 0.24, 1), opacity 820ms ease, box-shadow 820ms ease;
  will-change: transform, opacity;
}

.work-card:hover .work-center-badge {
  transform: translate(-50%, -50%) rotateY(540deg) scaleX(0.16);
  opacity: 0;
  box-shadow: none;
}

.work-center-badge span {
  color: #444;
  font-family: var(--font-text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.03em;
}

.work-card-body {
  display: none;
}

.work-card-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.work-card h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(1.06rem, 2.2vw, 1.34rem);
  line-height: 1.12;
}

.work-card p {
  margin: 0 0 12px;
  color: var(--accent);
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work-tags span {
  border: 1px solid rgba(123, 30, 43, 0.6);
  color: var(--accent);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.72rem;
  font-weight: 700;
}

.works-carousel {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.works-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.works-arrow[hidden],
.works-dots[hidden] {
  display: none;
}

.works-arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--inverse);
  border-right: 2px solid var(--inverse);
}

.works-arrow-prev::before {
  transform: rotate(-135deg);
  margin-left: 2px;
}

.works-arrow-next::before {
  transform: rotate(45deg);
  margin-right: 2px;
}

.works-arrow:hover:not(:disabled) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.works-arrow:hover:not(:disabled)::before {
  border-top-color: var(--inverse);
  border-right-color: var(--inverse);
}

.works-arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

.works-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.works-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(123, 30, 43, 0.45);
  padding: 0;
  cursor: pointer;
}

.works-dots button.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(123, 30, 43, 0.2);
}

.works-expand-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.works-expand-btn {
  border: 1px solid rgba(123, 30, 43, 0.78);
  color: var(--inverse);
  background: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(123, 30, 43, 0.24);
}

.works-expand-btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.cenario-3d {
  position: relative;
  overflow: hidden;
  background: #8bc8f3 url("ceu-showcase-3d.png?v=1") center center / cover no-repeat;
}

.cenario-3d::before,
.cenario-3d::after {
  content: none;
  display: none;
}

.cenario-3d-wrap {
  position: relative;
  z-index: 1;
}

.cenario-3d .section-label {
  color: var(--accent);
}

.cenario-3d h2 {
  color: var(--accent-strong);
}

.cenario-3d p {
  color: var(--accent);
}

.cenario-3d-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 14px;
}

.cenario-3d-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(123, 30, 43, 0.82);
  background: var(--accent);
  color: var(--inverse);
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(76, 12, 25, 0.2);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.cenario-3d-toggle:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  transform: translateY(-1px);
}

.cenario-3d-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.82);
  outline-offset: 2px;
}

.cenario-3d-toggle[data-state="running"] {
  background: #215f31;
  border-color: #1a4c27;
  box-shadow: 0 8px 20px rgba(25, 76, 39, 0.22);
}

.cenario-3d-toggle[data-state="running"]:hover {
  background: #1a4c27;
  border-color: #153f20;
}

.cenario-3d-toggle:disabled {
  opacity: 0.74;
  cursor: wait;
  transform: none;
}

.cenario-3d-viewer {
  position: relative;
  width: 100%;
  height: clamp(360px, 60vh, 680px);
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid rgba(37, 85, 124, 0.24);
  background: #8bc8f3 url("ceu-showcase-3d.png?v=1") center center / cover no-repeat;
  box-shadow: 0 16px 40px rgba(31, 63, 95, 0.22);
  overflow: hidden;
  touch-action: none;
}

.cenario-3d-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  background:
    url("previa.png?v=2") center center / contain no-repeat,
    #8bc8f3 url("ceu-showcase-3d.png?v=1") center center / cover no-repeat;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.cenario-3d-viewer.is-loaded .cenario-3d-preview {
  opacity: 0;
  visibility: hidden;
}

.cenario-3d-canvas {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  image-rendering: auto;
  transform: none;
  filter: none;
  opacity: 0;
  transition: opacity 420ms ease;
}

.cenario-3d-viewer.is-loaded .cenario-3d-canvas {
  opacity: 1;
}

.cenario-3d-status {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(123, 30, 43, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 22px rgba(76, 12, 25, 0.35);
  color: #f4f7fa;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  pointer-events: none;
}

.cenario-3d-status.is-hidden {
  display: none;
}

.cenario-3d-status.is-error {
  background: rgba(95, 16, 30, 0.95);
}

.cenario-3d-fallback {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  opacity: 0;
  transition: opacity 420ms ease;
}

.cenario-3d-viewer.is-loaded .cenario-3d-fallback {
  opacity: 1;
}

.cenario-3d,
.cenario-3d-wrap,
.cenario-3d-viewer {
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  transition: none !important;
  will-change: auto !important;
  perspective: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform-style: flat !important;
  zoom: 1;
}

.cenario-3d-canvas {
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  will-change: opacity !important;
  perspective: none !important;
  animation: none !important;
  transform-style: flat !important;
  zoom: 1;
}

.services {
  background: #4a4f57;
}

.services h2 {
  color: var(--inverse);
}

.services .section-label {
  color: var(--inverse);
}

.services-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 14px;
}

.service-card {
  background: var(--bg);
  border: 2px solid rgba(123, 30, 43, 0.78);
  border-radius: 14px;
  padding: 22px;
}

.service-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-top h3 {
  color: var(--accent);
}

.service-card p {
  color: var(--accent);
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--inverse);
  display: inline-grid;
  place-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(123, 30, 43, 0.28);
}

.service-btn {
  border: 1px solid var(--accent);
  color: var(--inverse);
  background: var(--accent);
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(123, 30, 43, 0.26);
}

.service-btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--inverse);
}

.service-more {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 210ms ease, opacity 210ms ease;
}

.service-card.is-open .service-more {
  max-height: 130px;
  opacity: 1;
  margin-top: 10px;
}

.contact {
  background: var(--surface);
}

.contact .section-label,
.contact h2 {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 255, 255, 0.72);
}

.contact p,
.contact li,
.contact li strong {
  text-shadow: 0 0 9px rgba(255, 255, 255, 0.85), 0 0 16px rgba(255, 255, 255, 0.55);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.contact-list li {
  margin-bottom: 8px;
}

.site-footer {
  background: var(--accent);
  border-top: 1px solid rgba(236, 236, 236, 0.25);
  color: var(--inverse);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--inverse);
}

.site-footer p {
  color: var(--inverse);
  margin: 0;
}

.floating-ad {
  position: fixed;
  left: 0;
  bottom: clamp(68px, 11.5vh, 182px);
  width: clamp(160px, 16.5vw, 250px);
  height: clamp(172px, 18.5vw, 272px);
  background: transparent;
  border-radius: 0;
  overflow: visible;
  z-index: 80;
  box-shadow: none;
}

.floating-ad-right {
  left: auto;
  right: 0;
}

.floating-ad img {
  position: absolute;
  left: clamp(-220px, -13vw, -132px);
  bottom: clamp(4px, 1.1vw, 20px);
  width: 250%;
  max-width: none;
  height: auto;
  mix-blend-mode: screen;
  pointer-events: none;
}

.floating-ad:not(.floating-ad-right) img {
  width: 280%;
}

.floating-ad-right img {
  left: auto;
  right: clamp(-220px, -13vw, -132px);
}

.floating-ad-close {
  position: fixed;
  top: clamp(120px, 18vh, 260px);
  left: 12px;
  transform: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: block;
  background-color: transparent;
  background-image: url("close-x-btn.png?v=4");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  z-index: 90;
}

.floating-ad-close-right {
  left: auto;
  right: 12px;
}

.floating-ad-close:hover {
  filter: brightness(1.05);
}

.floating-ad.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .cta-btn {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 98px;
  }

  .logo-icon {
    width: 58px;
    height: 68px;
  }

  .logo-wordmark {
    width: clamp(150px, 35vw, 220px);
    transform: translateY(-7px);
  }

  .logo-wordmark::after {
    transform: translateY(3px) scaleY(-1);
    opacity: 0.4;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    position: absolute;
    left: 3%;
    right: 3%;
    top: 98px;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    text-align: left;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 8px;
    padding: 0;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-submenu a {
    display: inline-flex;
    justify-content: center;
    width: 100%;
  }

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-slide::after {
    display: none;
  }

  .side-panel {
    min-height: 230px;
  }

  .hero-copy {
    left: 20px;
    right: 20px;
    top: 24px;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(1.7rem, 8.2vw, 3rem);
    line-height: 1.05;
  }

  .hero-arrow {
    font-size: 1.8rem;
  }

  .hero-arrow.prev {
    left: 10px;
  }

  .hero-arrow.next {
    right: 10px;
  }

  .floating-ad {
    left: 0;
    bottom: clamp(26px, 6.8vh, 84px);
    width: clamp(128px, 34vw, 178px);
    height: clamp(140px, 37vw, 198px);
  }

  .floating-ad-right {
    right: 0;
  }

  .floating-ad img {
    left: clamp(-112px, -18vw, -76px);
    width: 212%;
  }

  .floating-ad:not(.floating-ad-right) img {
    width: 236%;
  }

  .floating-ad-right img {
    left: auto;
    right: clamp(-112px, -18vw, -76px);
  }

  .floating-ad-close {
    width: 44px;
    height: 44px;
    top: clamp(94px, 18vh, 140px);
    left: 10px;
  }

  .floating-ad-close-right {
    left: auto;
    right: 10px;
  }

  .works-carousel {
    gap: 8px;
  }

  .works-arrow {
    width: 30px;
    height: 30px;
  }

  .works-grid {
    width: min(100%, 320px);
  }

  .cenario-3d-viewer {
    height: clamp(300px, 55vh, 500px);
  }

  .about-grid,
  .story-grid,
  .works-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Typewriter – restrito ao hero slider ────────────────────────────────── */
.slider-typewriter-title::after {
  content: "|";
  display: inline-block;
  margin-left: 3px;
  font-weight: 300;
  animation: sliderBlinkCursor 0.7s step-start infinite;
}

.slider-typewriter-title.typing-done::after {
  animation: sliderBlinkCursor 0.7s step-start infinite;
}

@keyframes sliderBlinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ── Borda decorativa entre seções ──────────────────────────────────────── */
.section-divider {
  --divider-top: var(--bg);
  --divider-bottom: var(--bg);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 128px;
  transform: none !important;
  overflow: hidden;
  line-height: 0;
  display: block;
  font-size: 0;
  background-image:
    url('border-divider.svg?v=5'),
    linear-gradient(
      to bottom,
      var(--divider-top) 0 50%,
      var(--divider-bottom) 50% 100%
    );
  background-repeat: repeat-x, no-repeat;
  background-position: left center, left top;
  background-size: auto 100%, 100% 100%;
}

.section-divider.divider-flip {
  transform: none !important;
}

/* Cores de transição de cada divisor (metade superior + metade inferior) */
.hero + .section-divider {
  --divider-top: var(--bg);
  --divider-bottom: var(--bg);
}

.about + .section-divider {
  --divider-top: var(--bg);
  --divider-bottom: #dfe2e6;
}

.story + .section-divider {
  --divider-top: #dfe2e6;
  --divider-bottom: var(--bg);
}

.sk-section + .section-divider {
  --divider-top: var(--bg);
  --divider-bottom: #c9ccd1;
}

.works + .section-divider {
  --divider-top: #c9ccd1;
  --divider-bottom: #dff3ff;
}

.cenario-3d + .section-divider {
  --divider-top: #b8dcfb;
  --divider-bottom: #4a4f57;
}

.services + .section-divider {
  --divider-top: #4a4f57;
  --divider-bottom: var(--surface);
}

/* ══════════════════════════════════════════════════════════════════════════
   SKILLS — Bar chart staircase + sprite avatar
   Prefixo sk- em todos os seletores para evitar conflitos
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper da seção ── */
.sk-section {
  background: var(--bg);
  padding: 128px 0 150px;
}

.sk-container { max-width: 1200px; }

.sk-heading {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 10px;
  color: var(--text);
}

.sk-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 44px;
}

/* ── Grid: chart (esquerda) + panel (direita) ── */
.sk-layout {
  display: grid;
  grid-template-columns: 1fr 295px;
  gap: 32px;
  align-items: start;
  margin-top: 112px;
}

/* ══════════════════════════
   CHART CARD (área do gráfico)
   ══════════════════════════ */
.sk-chart-section { min-width: 0; }

.sk-chart-card {
  background: transparent;
  border: 0;
  border-radius: 20px;
  position: relative;
  overflow: visible;
  padding: 28px 24px 0;
  box-shadow: none;
  margin: 16px 0 24px;
}

/* Marcadores decorativos (+) */
.sk-deco {
  position: absolute;
  color: var(--accent);
  opacity: 0.28;
  font-size: 1rem;
  pointer-events: none;
  user-select: none;
}

/* ── Área interna do chart ── */
.sk-chart {
  position: relative;
  height: 520px;
  display: flex;
  align-items: flex-end;     /* barras crescem de baixo para cima */
}

/* ── Container das barras ── */
.sk-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex: 1;
  height: 100%;
  padding-bottom: 0;
}

/* ── Barra individual ── */
.sk-bar {
  flex: 1;
  border-radius: 12px 12px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 8px 14px;
  min-height: 150px;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
  overflow: hidden;
  min-width: 0;
}

.sk-bar:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
}

/* Estados de cor das barras */
.sk-bar--done   { background: #53585f; }
.sk-bar--active { background: var(--accent); }
.sk-bar--future { background: #b2b6bb; }

/* ── Ícone circular no topo da barra ── */
.sk-bar-icon {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-text);
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── Conteúdo interno da barra ── */
.sk-bar-level {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  margin: 0 0 3px;
  text-align: center;
}

.sk-bar-rank {
  font-family: var(--font-main);
  font-size: clamp(0.74rem, 1.25vw, 0.95rem);
  color: #fff;
  text-align: center;
  line-height: 1.12;
  margin: 0 0 7px;
  word-break: normal;
  overflow-wrap: anywhere;
}

.sk-bar-name {
  display: block;
  font-size: clamp(0.64rem, 1.05vw, 0.84rem);
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.sk-bar-pct {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 0 0 5px;
  text-align: center;
}

/* Mini barra de progresso dentro da coluna */
.sk-bar-arrow {
  position: relative;
  width: 62px;
  height: 12px;
  margin: 0 auto 8px;
}

.sk-bar-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  transform: translateY(-50%);
}

.sk-bar-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 12px solid rgba(255,255,255,0.98);
}

.sk-bar-pct,
.sk-bar-arrow,
.sk-bar-level,
.sk-bar-rank,
.sk-bar-badge {
  display: none !important;
}

.sk-bar-badge {
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ── Linha de base (accent) ── */
.sk-baseline {
  height: 6px;
  background: var(--accent);
  border-radius: 0 0 16px 16px;
}

/* ── Legenda ── */
.sk-legend {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 14px 0 6px;
}

.sk-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
}

.sk-legend-dot {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  flex-shrink: 0;
}

.sk-legend-dot--active { background: var(--accent); }
.sk-legend-dot--done   { background: #53585f; }
.sk-legend-dot--future { background: #b2b6bb; }

/* ══════════════════════════
   SPRITE DO AVATAR
   ══════════════════════════ */
.sk-sprite-wrap {
  position: absolute;
  bottom: 0;  /* ajustado pelo JS */
  left: 0;    /* ajustado pelo JS */
  width: 340px;
  height: 340px;
  z-index: 10;
  pointer-events: none;
  /* transição suave quando o JS muda left/bottom */
  transition: left 500ms cubic-bezier(0.34,1.15,0.64,1),
              bottom 480ms cubic-bezier(0.34,1.15,0.64,1);
}

.sk-sprite {
  display: block;
  width: 340px;
  height: 340px;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: center bottom;
  transition: transform 120ms linear;
  /* SVG vetorial — sem pixelated, sem blur */
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.22));
}

/* ══════════════════════════
   PAINEL DE PROGRESSO
   ══════════════════════════ */
.sk-panel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(20,22,25,0.13);
  border: 1px solid rgba(123,30,43,0.1);
  background: #fff;
  position: sticky;
  top: 96px;
}

/* Painel limpo: sem card de porcentagem */
.sk-panel-hero,
.sk-ring-wrap,
.sk-ring-label {
  display: none;
}

.sk-panel-hero {
  min-height: 36px;
  padding: 0;
}

.sk-ring-wrap {
  margin: 34px auto;
}

/* Hero — cabeçalho vinho */
.sk-panel-hero {
  background: var(--accent);
  padding: 18px 20px 14px;
}

.sk-panel-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sk-panel-hero-sub {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.sk-panel-hero-icon { font-size: 1.15rem; }

.sk-panel-nivel {
  font-family: var(--font-main);
  font-size: 1.9rem;
  color: #fff;
  margin: 0 0 3px;
  line-height: 1;
}

.sk-panel-badge-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* Anel SVG de progresso */
.sk-ring-wrap {
  position: relative;
  width: 105px;
  height: 105px;
  margin: 18px auto 4px;
}

.sk-ring { width: 100%; height: 100%; }

.sk-ring-bg {
  fill: none;
  stroke: #e9ecef;
  stroke-width: 8;
}

.sk-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 0 238.76;   /* 2π*38 ≈ 238.76 */
  transition: stroke-dasharray 850ms cubic-bezier(0.34,1.1,0.64,1);
}

.sk-ring-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.sk-ring-label {
  text-align: center;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

/* Lista de estatísticas */
.sk-panel-title {
  margin: 14px 18px 6px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
}

.sk-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sk-panel-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  border-top: 1px solid rgba(20,22,25,0.06);
  transition: background 150ms ease;
}

.sk-panel-list li:hover { background: var(--bg); }

.sk-stat-ico {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--inverse);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sk-stat-body {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
}

.sk-stat-lbl {
  display: block;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 1px;
}

.sk-stat-val {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text);
  white-space: normal;
  overflow-wrap: anywhere;
}

.sk-panel-list .sk-stat-row--current {
  background: rgba(123,30,43,0.12);
}

/* Override final: remove indicadores de porcentagem e manter lista */
.sk-panel-hero,
.sk-panel-hero-sub,
.sk-panel-nivel,
.sk-panel-badge-lbl,
.sk-ring-wrap,
.sk-ring-label {
  display: none !important;
}

.sk-panel-list {
  display: block !important;
  margin: 8px 0 !important;
}

.sk-panel-hero {
  min-height: 0 !important;
  padding: 0 !important;
}

.sk-ring-wrap {
  margin: 24px auto !important;
}

/* ══════════════════════════
   RESPONSIVO
   ══════════════════════════ */
@media (max-width: 900px) {
  .sk-layout {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .sk-panel {
    position: static;
    order: -1;     /* painel vai para cima da escada no mobile */
  }
}

@media (max-width: 600px) {
  .sk-section { padding: 108px 0 124px; }

  .sk-chart { height: 380px; }

  .sk-bar {
    min-height: 126px;
    padding: 0 6px 10px;
  }

  .sk-bar-rank { font-size: 0.68rem; }

  .sk-bar-icon {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
    top: 10px;
  }

  .sk-sprite {
    width: 260px;
    height: 260px;
    max-width: none;
  }

  .sk-sprite-wrap {
    width: 260px;
    height: 260px;
  }

  .sk-bars { gap: 6px; }

  .cenario-3d-viewer {
    height: 320px;
    border-radius: 18px;
  }
}


