:root {
  --bg: #020305;
  --bg-rgb: 2, 3, 5;
  --surface: #0D1018;
  --surface-2: #111522;
  --accent: #F45A18;
  --accent-hover: #FF6B22;
  --blue: #3A85FD;
  --violet: #8F7090;
  --mauve: #AD686A;
  --text: #F7F1EA;
  --muted: #BEB9D0;
  --soft: #8E92A8;
  --border: rgba(247, 241, 234, .12);
  --border-hover: rgba(244, 90, 24, .42);
  --shadow-sm: 0 10px 28px rgba(0, 0, 0, .22);
  --shadow-md: 0 24px 70px rgba(0, 0, 0, .36);
  --shadow-glow: 0 0 60px rgba(58, 133, 253, .22), 0 0 80px rgba(244, 90, 24, .12);
  --display: Arial Black, Impact, Haettenschweiler, system-ui, sans-serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  background:
    radial-gradient(circle at 5% 8%, rgba(244, 90, 24, .15), transparent 28rem),
    radial-gradient(circle at 95% 10%, rgba(58, 133, 253, .18), transparent 32rem),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 100% 6px;
  mix-blend-mode: screen;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: .6rem;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--text);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.container {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 8rem) 0;
  z-index: 1;
}
.section-head {
  max-width: 780px;
  margin-bottom: 2.2rem;
}
.section-head p, .section-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  line-height: .96;
  letter-spacing: -.045em;
}
h1, h2 { font-family: var(--display); text-transform: uppercase; }
h1 { font-size: clamp(3.1rem, 14vw, 8.4rem); max-width: 10ch; }
h2 { font-size: clamp(2.3rem, 8vw, 5.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.hero-reveal {
  opacity: 0;
  transform: translateY(18px) scale(.98);
  animation: heroIn .8s ease forwards;
}
.hero-reveal.delay-1 { animation-delay: .12s; }
.hero-reveal.delay-2 { animation-delay: .24s; }
.hero-reveal.delay-3 { animation-delay: .36s; }
.hero-reveal.delay-4 { animation-delay: .48s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .98rem 1.2rem;
  border-radius: var(--r-pill);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
  border: 1px solid transparent;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--mauve) 52%, var(--blue));
  color: #fff;
  box-shadow: 0 18px 40px rgba(244, 90, 24, .22), 0 18px 50px rgba(58, 133, 253, .14);
}
.btn-primary:hover { box-shadow: var(--shadow-glow); }
.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255,255,255,.03);
}
.btn-ghost:hover { border-color: var(--border-hover); background: rgba(244, 90, 24, .06); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(var(--bg-rgb), .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(var(--bg-rgb), .92);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  width: min(100% - 1.2rem, 1280px);
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.brand img { width: 112px; }
.nav-desktop, .header-cta { display: none; }
.nav-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 4px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  display: grid;
  gap: .2rem;
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height .3s ease, padding .3s ease;
  border-top: 1px solid transparent;
}
.mobile-nav.open {
  max-height: 380px;
  padding: .75rem 1rem 1.2rem;
  border-top-color: var(--border);
}
.mobile-nav a {
  padding: .9rem 0;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 7rem 0 4rem;
  overflow: hidden;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2,3,5,.72), rgba(2,3,5,.96) 75%),
    radial-gradient(circle at 18% 32%, rgba(244, 90, 24, .28), transparent 22rem),
    radial-gradient(circle at 84% 22%, rgba(58, 133, 253, .30), transparent 28rem),
    linear-gradient(135deg, #020305, #0b0f19 52%, #020305);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto -20%;
  height: 42vh;
  transform: rotate(-9deg);
  background: linear-gradient(90deg, rgba(244,90,24,.42), rgba(143,112,144,.25), rgba(58,133,253,.38));
  filter: blur(24px);
  opacity: .45;
}
.hero-grid {
  display: grid;
  gap: 3rem;
}
.hero-logo { width: min(72vw, 310px); margin-bottom: 1.2rem; }
.hero-title {
  margin-bottom: 1.2rem;
  text-shadow: 0 18px 60px rgba(0,0,0,.65);
}
.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.7;
  margin-bottom: 1.7rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-actions .btn { width: 100%; max-width: 320px; }
.hero-stage { min-height: 360px; display: grid; place-items: center; }
.core-frame {
  position: relative;
  width: min(88vw, 480px);
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}
.core-frame::before, .core-frame::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255,255,255,.12);
  transform: rotate(-11deg);
}
.core-frame::after { inset: 20%; transform: rotate(21deg); border-color: rgba(58,133,253,.22); }
.frame-tag {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 3;
  font-family: var(--mono);
  color: var(--text);
  letter-spacing: .12em;
  font-size: .75rem;
}
.frame-panel {
  position: absolute;
  background: linear-gradient(120deg, rgba(244,90,24,.9), rgba(143,112,144,.72), rgba(58,133,253,.95));
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 82%);
}
.panel-a { inset: 24% 12% 50% 10%; }
.panel-b { inset: 38% 6% 28% 32%; transform: rotate(-7deg); }
.panel-c { inset: 62% 34% 8% 8%; transform: rotate(8deg); }
.frame-orbit {
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  right: 16%;
  bottom: 13%;
  border: 14px solid rgba(2,3,5,.82);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 0 70px rgba(58,133,253,.28);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  width: 1px;
  height: 54px;
  background: rgba(255,255,255,.16);
}
.scroll-cue span {
  display: block;
  width: 3px;
  height: 18px;
  margin-left: -1px;
  border-radius: 99px;
  background: linear-gradient(var(--accent), var(--blue));
  animation: drop 1.6s ease-in-out infinite;
}
@keyframes drop { 0% { transform: translateY(0); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(36px); opacity: 0; } }
.rift-line {
  height: 72px;
  position: relative;
  z-index: 2;
  margin-top: -1px;
  background: linear-gradient(100deg, var(--accent), var(--violet), var(--blue));
  clip-path: polygon(0 18%, 52% 48%, 100% 10%, 100% 74%, 48% 100%, 0 70%);
  opacity: .86;
}
.rift-line::after {
  content: "";
  position: absolute;
  inset: 6px 0;
  background: rgba(2,3,5,.8);
  clip-path: polygon(0 28%, 52% 53%, 100% 22%, 100% 52%, 48% 72%, 0 55%);
}

.section-grid {
  display: grid;
  gap: 2.2rem;
}
.signature-note {
  margin-top: 1.4rem;
  padding: 1.2rem;
  border-left: 3px solid var(--accent);
  background: linear-gradient(90deg, rgba(244,90,24,.1), rgba(58,133,253,.05));
  color: var(--text);
  font-weight: 800;
  line-height: 1.6;
}
.editorial-panel {
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.editorial-panel img { width: 100%; }

.philosophy { background: linear-gradient(180deg, rgba(13,16,24,.45), transparent); }
.quote-wall {
  max-width: 1020px;
  padding: clamp(1.3rem, 5vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: var(--shadow-md);
  margin-bottom: 1.1rem;
}
.quote-wall p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 6.8rem);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: -.055em;
  background: linear-gradient(110deg, var(--text), var(--mauve), var(--blue));
  -webkit-background-clip: text;
  color: transparent;
}
.philosophy-grid, .works-grid, .diff-grid {
  display: grid;
  gap: 1rem;
}
.text-card, .diff-card {
  position: relative;
  min-height: 230px;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.035);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.text-card::before, .diff-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  transition: transform .3s ease;
}
.text-card:hover, .diff-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: rgba(255,255,255,.055);
}
.text-card:hover::before, .diff-card:hover::before { transform: scaleX(1); }
.text-card span {
  display: inline-block;
  margin-bottom: 2.2rem;
  font-family: var(--mono);
  color: var(--blue);
}
.text-card p, .diff-card p { color: var(--muted); line-height: 1.7; margin-bottom: 0; }

.works-grid { gap: 1.2rem; }
.work-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}
.work-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}
.work-card:hover img { transform: scale(1.045); filter: saturate(1.18); }
.work-info { padding: 1.2rem; }
.work-info span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.work-info h3 { margin: .7rem 0 .7rem; font-family: var(--display); text-transform: uppercase; }
.work-info p { color: var(--muted); line-height: 1.65; margin: 0; }

.process { background: linear-gradient(180deg, transparent, rgba(17,21,34,.56), transparent); }
.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--accent), var(--violet), var(--blue));
}
.timeline-item {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(2,3,5,.72);
}
.timeline-item span {
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  font-family: var(--mono);
  font-weight: 900;
}
.timeline-item p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.diff-card h3 { font-family: var(--display); text-transform: uppercase; }
.diff-card { min-height: 190px; }
.echoes-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
.echo-list {
  display: grid;
  gap: .8rem;
}
.echo-list div {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: linear-gradient(100deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
}
.echo-list strong {
  display: block;
  color: var(--text);
  margin-bottom: .35rem;
}
.echo-list span { color: var(--muted); line-height: 1.65; }

.contact { padding-bottom: clamp(5rem, 10vw, 9rem); }
.contact-card {
  position: relative;
  padding: clamp(1.5rem, 6vw, 4rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(244,90,24,.18), rgba(143,112,144,.08), rgba(58,133,253,.18)),
    rgba(255,255,255,.035);
  box-shadow: var(--shadow-md);
}
.contact-card::before {
  content: "";
  position: absolute;
  right: -16%;
  top: -34%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 48px solid rgba(2,3,5,.65);
  opacity: .75;
}
.contact-card h2 { position: relative; max-width: 900px; }
.contact-card p {
  position: relative;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.75;
}
.contact-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: rgba(2,3,5,.85);
}
.footer-grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}
.footer-brand img { width: 110px; }
.site-footer p { color: var(--muted); margin: 0 0 .35rem; line-height: 1.6; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
}
.footer-links a {
  color: var(--text);
  font-weight: 800;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-links a:hover { color: var(--accent); }
.float-whatsapp, .back-top {
  position: fixed;
  right: 1rem;
  z-index: 80;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.float-whatsapp {
  bottom: 1rem;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #25D366;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
}
.float-whatsapp img { width: 28px; filter: brightness(0) invert(1); }
.back-top {
  bottom: 5rem;
  width: 44px;
  height: 44px;
  color: var(--text);
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-2px); }

@media (min-width: 560px) {
  .hero-actions .btn { width: auto; }
  .contact-actions .btn { min-width: 160px; }
}
@media (min-width: 768px) {
  .brand img { width: 132px; }
  .hero { padding-top: 8rem; }
  .hero-grid { grid-template-columns: 1.04fr .96fr; align-items: center; }
  .hero-logo { width: min(34vw, 360px); }
  .section-grid, .echoes-grid { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .philosophy-grid, .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: auto 1fr auto; }
}
@media (min-width: 1024px) {
  .nav-toggle, .mobile-nav { display: none; }
  .nav-desktop, .header-cta { display: flex; }
  .nav-desktop {
    align-items: center;
    gap: clamp(1rem, 2vw, 1.8rem);
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
  }
  .nav-desktop a:hover { color: var(--text); }
  .header-cta {
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: .7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .76rem;
    background: rgba(255,255,255,.04);
  }
  .header-cta:hover { border-color: var(--border-hover); }
  .philosophy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .diff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }
  .timeline::before {
    left: 0;
    right: 0;
    top: 24px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .timeline-item { padding: 4.4rem 1rem 1.2rem; min-height: 230px; }
  .timeline-item span { left: 1rem; top: 0; }
}
@media (min-width: 1360px) {
  .container { width: min(100% - 4rem, 1360px); }
  .hero-grid { width: min(100% - 4rem, 1380px); }
  .core-frame { width: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-reveal { opacity: 1; transform: none; }
}
