@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b0d0c;
  --ink-soft: #151815;
  --paper: #f4f2eb;
  --paper-deep: #e8e6df;
  --muted: #a6aaa4;
  --line: rgba(244, 242, 235, 0.14);
  --lime: #cfff4a;
  --lime-dark: #6d8f00;
  --orange: #ff6427;
  --container: min(92vw, 1540px);
  --header-h: 88px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius-lg: clamp(24px, 3vw, 48px);
  --mouse-x: 50vw;
  --mouse-y: 50vh;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
  scrollbar-color: var(--lime) var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Geist", Arial, sans-serif;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-loading,
body.menu-open,
body.dialog-open { overflow: hidden; }

::selection { background: var(--lime); color: var(--ink); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #343a31; border: 3px solid var(--ink); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--lime-dark); }

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: var(--container); margin-inline: auto; }
.section { position: relative; padding: clamp(110px, 12vw, 210px) 0; }

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform .25s ease;
}
.skip-link:focus { transform: translateY(0); }

.noise {
  position: fixed;
  z-index: 70;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image:
    radial-gradient(circle at 20% 30%, white 0 .55px, transparent .75px),
    radial-gradient(circle at 70% 60%, white 0 .45px, transparent .7px),
    radial-gradient(circle at 42% 83%, white 0 .45px, transparent .7px);
  background-size: 7px 7px, 11px 11px, 13px 13px;
  mix-blend-mode: soft-light;
}

#ambientCanvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .55;
}

main, .site-header, .site-footer { position: relative; z-index: 2; }

.loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  transition: opacity .7s var(--ease), visibility .7s;
}

body.is-ready .loader { opacity: 0; visibility: hidden; pointer-events: none; }

.loader::before {
  content: "";
  position: absolute;
  width: 56vmin;
  aspect-ratio: 1;
  border: 1px solid rgba(207, 255, 74, .12);
  border-radius: 50%;
  animation: loaderPulse 2s ease-in-out infinite;
}

.loader__mark { width: min(36vw, 190px); position: relative; z-index: 1; }
.loader__mark svg { overflow: visible; }
.loader__mark path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.loader__letter { stroke: var(--paper); stroke-width: 14; stroke-dasharray: 520; stroke-dashoffset: 520; animation: drawMark 1.7s var(--ease) forwards .15s; }
.loader__corner { stroke: var(--lime); stroke-width: 11; stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawMark 1.1s var(--ease) forwards .55s; }

.loader__footer {
  position: absolute;
  bottom: max(32px, env(safe-area-inset-bottom));
  left: 4vw;
  right: 4vw;
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
}

@keyframes drawMark { to { stroke-dashoffset: 0; } }
@keyframes loaderPulse { 0%, 100% { transform: scale(.92); opacity: .45; } 50% { transform: scale(1.08); opacity: 1; } }

.cursor, .cursor-dot {
  position: fixed;
  z-index: 10001;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.cursor {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(207, 255, 74, .6);
  border-radius: 50%;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s ease, border .25s ease, opacity .2s ease;
}

.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--lime); transition: opacity .2s ease; }
body.cursor-active .cursor, body.cursor-active .cursor-dot { opacity: 1; }
body.cursor-hover .cursor { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: rgba(207, 255, 74, .12); border-color: var(--lime); }
body.cursor-hover .cursor-dot { opacity: 0; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 50%;
  width: min(96vw, 1700px);
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transform: translateX(-50%);
  padding: 0 clamp(16px, 2.2vw, 38px);
  transition: height .45s var(--ease), background .45s ease, border-color .45s ease, top .45s var(--ease), border-radius .45s var(--ease);
}

.site-header.is-scrolled {
  top: 12px;
  height: 68px;
  border: 1px solid rgba(244, 242, 235, .12);
  border-radius: 999px;
  background: rgba(11, 13, 12, .78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand__text { display: grid; gap: 1px; line-height: 1; }
.brand__text strong { font-size: 13px; letter-spacing: .12em; }
.brand__text small { color: var(--muted); font-size: 8px; letter-spacing: .29em; }

.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.desktop-nav a { position: relative; color: #c8cbc6; font-size: 13px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--lime); transition: right .35s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }

.header-contact { justify-self: end; display: flex; align-items: center; gap: 18px; font-size: 13px; }
.header-contact i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 16px; font-style: normal; transition: transform .35s var(--ease); }
.header-contact:hover i { transform: rotate(45deg); }

.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--lime); cursor: pointer; }
.menu-toggle span { position: absolute; left: 13px; width: 20px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-open .menu-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  background: var(--lime);
  color: var(--ink);
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 40px) 42px);
  transition: clip-path .75s var(--ease), visibility .75s;
}
.menu-open .mobile-menu { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 42px); }

.hero {
  position: relative;
  min-height: max(900px, 110svh);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(70px, 8vh, 120px)) 0 90px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(rgba(244, 242, 235, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 235, .035) 1px, transparent 1px);
  background-size: clamp(44px, 5vw, 80px) clamp(44px, 5vw, 80px);
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero__halo {
  position: absolute;
  z-index: -1;
  top: -30vw;
  right: -18vw;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 255, 74, .13), rgba(207, 255, 74, .025) 35%, transparent 66%);
  transform: translate3d(calc((var(--mouse-x) - 50vw) * .025), calc((var(--mouse-y) - 50vh) * .025), 0);
}

.hero__content { position: relative; min-height: 730px; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; color: #c1c5be; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.hero__location { margin-left: auto; color: #777c75; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(207, 255, 74, .1), 0 0 24px rgba(207, 255, 74, .65); animation: statusPulse 2.2s ease-in-out infinite; }
@keyframes statusPulse { 50% { box-shadow: 0 0 0 10px rgba(207, 255, 74, 0), 0 0 32px rgba(207, 255, 74, .8); } }

.hero__title {
  position: relative;
  z-index: 3;
  margin-top: clamp(54px, 7vh, 90px);
  font-size: clamp(4rem, 10.2vw, 10rem);
  font-weight: 760;
  line-height: .79;
  letter-spacing: -.071em;
  text-transform: uppercase;
}

.hero__line { display: block; overflow: hidden; padding-right: .08em; }
.hero__line > span { display: block; transform: translateY(110%) rotate(1.5deg); transform-origin: left bottom; transition: transform 1.1s var(--ease-out); }
.hero__line:nth-child(2) > span { transition-delay: .09s; }
.hero__line:nth-child(3) > span { transition-delay: .18s; }
body.is-ready .hero__line > span { transform: translateY(0) rotate(0); }
.hero__line--accent > span { color: transparent; -webkit-text-stroke: clamp(1px, .12vw, 2px) var(--lime); text-stroke: 1px var(--lime); }
.hero__line--offset { padding-left: clamp(18px, 6vw, 100px); }
.hero__line--offset > span { font-size: .87em; }

.hero__bottom {
  position: relative;
  z-index: 5;
  width: min(42vw, 600px);
  margin-top: clamp(54px, 8vh, 100px);
  display: grid;
  gap: 28px;
}
.hero__bottom > p { max-width: 520px; color: #b6bab3; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.5; }
.hero__actions { display: flex; align-items: center; gap: 30px; }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 205px;
  height: 58px;
  padding: 0 14px 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  font-size: 13px;
  font-weight: 620;
  isolation: isolate;
  transition: color .35s ease, border-color .35s ease, transform .25s ease;
}
.button::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.button:hover::before { transform: scaleX(1); transform-origin: left; }
.button i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-style: normal; transition: transform .35s var(--ease), background .35s ease; }
.button:hover i { transform: rotate(45deg); }
.button--primary { background: var(--lime); color: var(--ink); }
.button--primary::before { background: var(--paper); }
.button--primary i { background: var(--ink); color: var(--paper); }
.button--light { background: var(--paper); color: var(--ink); }
.button--light::before { background: var(--lime); }
.button--light i { background: var(--ink); color: var(--paper); }

.text-link { display: inline-flex; align-items: center; gap: 9px; width: max-content; padding: 7px 0; border-bottom: 1px solid rgba(244, 242, 235, .3); color: #d8dad6; font-size: 13px; transition: border-color .25s ease, color .25s ease; }
.text-link span { color: var(--lime); transition: transform .35s var(--ease); }
.text-link:hover { border-color: var(--lime); color: white; }
.text-link:hover span { transform: translate(3px, -3px); }

.hero-stage {
  position: absolute;
  z-index: 1;
  right: -1.5vw;
  bottom: 0;
  width: min(53vw, 800px);
  height: min(38vw, 560px);
  perspective: 1600px;
  pointer-events: none;
}
.hero-stage__orbit { position: absolute; border: 1px solid rgba(207, 255, 74, .12); border-radius: 50%; }
.hero-stage__orbit--one { width: 75%; aspect-ratio: 1; right: -14%; top: -25%; animation: orbitSpin 22s linear infinite; }
.hero-stage__orbit--two { width: 46%; aspect-ratio: 1; left: 0; bottom: -18%; animation: orbitSpin 16s linear infinite reverse; }
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.hero-card { position: absolute; border: 1px solid rgba(244, 242, 235, .14); box-shadow: 0 40px 100px rgba(0, 0, 0, .38); backdrop-filter: blur(14px); }
.hero-card--main { top: 10%; right: 5%; width: 78%; aspect-ratio: 1.58; border-radius: 25px; overflow: hidden; background: rgba(19, 23, 19, .86); transform: rotateX(7deg) rotateY(-13deg) rotateZ(2deg); transform-style: preserve-3d; transition: transform .4s ease-out; }
.hero-card__top { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.hero-card__top > span { width: 7px; height: 7px; border-radius: 50%; background: #515650; }
.hero-card__top > span:first-child { background: var(--lime); }
.hero-card__top small { margin-left: auto; color: #6f746e; font-size: 8px; letter-spacing: .13em; }
.hero-card__body { position: relative; height: calc(100% - 42px); display: grid; place-items: center; overflow: hidden; }
.hero-card__grid { position: absolute; inset: 0; background: linear-gradient(rgba(207, 255, 74, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 255, 74, .07) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at center, black, transparent 80%); }
.hero-card__body img { position: relative; width: 29%; filter: drop-shadow(0 28px 40px rgba(0,0,0,.4)); animation: markFloat 6s ease-in-out infinite; }
.hero-card__body p { position: absolute; bottom: 18px; color: #878c84; font-size: 8px; letter-spacing: .18em; }
.hero-card__body b { color: var(--lime); padding: 0 8px; }
@keyframes markFloat { 50% { transform: translateY(-9px) rotate(1deg); } }
.hero-card--mini { width: 150px; aspect-ratio: 1; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-card--mini small { margin-bottom: auto; font-size: 8px; letter-spacing: .15em; }
.hero-card--mini strong { font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.hero-card--mini span { margin-top: 7px; font-size: 9px; opacity: .7; }
.hero-card--lime { z-index: 3; right: 0; bottom: 1%; background: var(--lime); color: var(--ink); transform: rotate(5deg); }
.hero-card--dark { z-index: 2; left: 7%; top: 4%; background: rgba(11,13,12,.86); color: var(--paper); transform: rotate(-7deg); }

.hero__scroll { position: absolute; left: 4vw; bottom: 32px; display: flex; align-items: center; gap: 14px; color: #676c65; font-size: 9px; text-transform: uppercase; letter-spacing: .2em; writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 1px; height: 70px; overflow: hidden; background: #2c302c; }
.hero__scroll i::after { content: ""; position: absolute; top: -50%; left: 0; width: 1px; height: 50%; background: var(--lime); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { to { top: 110%; } }

.ticker { position: relative; z-index: 3; overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); color: #bfc3bc; }
.ticker__track { display: flex; align-items: center; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { padding: 0 30px; font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.ticker i { color: var(--lime); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-index { display: flex; align-items: flex-start; gap: 14px; color: #737870; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; }
.section-index span { color: var(--lime-dark); font-weight: 700; }
.section-index p { writing-mode: vertical-rl; }

.manifesto { overflow: hidden; background: var(--paper); color: var(--ink); }
.manifesto::before { content: ""; position: absolute; right: -15vw; bottom: -30vw; width: 65vw; aspect-ratio: 1; border: 1px solid rgba(11,13,12,.08); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(11,13,12,.02), 0 0 0 14vw rgba(11,13,12,.015); }
.manifesto__grid { display: grid; grid-template-columns: 140px 1fr; }
.manifesto__content { max-width: 1240px; }
.manifesto__lead { color: #696d68; font-size: clamp(22px, 2.3vw, 38px); letter-spacing: -.035em; }
.manifesto__statement { margin-top: 22px; font-size: clamp(3.4rem, 7.8vw, 8.5rem); font-weight: 690; line-height: .93; letter-spacing: -.07em; }
.manifesto__statement em { color: var(--lime-dark); font-style: normal; }
[data-split] .word { display: inline-block; opacity: .12; transition: opacity .65s ease, transform .65s var(--ease); transform: translateY(10px); }
[data-split].in-view .word { opacity: 1; transform: translateY(0); }
.manifesto__note { width: min(100%, 600px); margin: 76px 0 0 auto; display: grid; grid-template-columns: 70px 1fr; gap: 25px; align-items: start; color: #595d58; font-size: 17px; }
.manifesto__note > span { height: 3px; margin-top: 11px; background: var(--lime-dark); }

.section-heading { display: grid; grid-template-columns: 140px 1fr; margin-bottom: clamp(70px, 8vw, 130px); }
.section-heading--compact { margin-bottom: clamp(60px, 6vw, 100px); }
.kicker { margin-bottom: 18px; color: var(--lime); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .25em; }
.display-title { font-size: clamp(3.3rem, 6.5vw, 7rem); font-weight: 680; line-height: .92; letter-spacing: -.065em; }
.display-title span { color: #727770; font-weight: 430; }

.work { padding-bottom: 0; background: var(--ink); }
.project { position: relative; overflow: hidden; min-height: 120vh; border-top: 1px solid var(--line); isolation: isolate; }
.project__ambient { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.project--miranteiros .project__ambient { background: radial-gradient(circle at 8% 50%, rgba(255, 91, 31, .18), transparent 35%), radial-gradient(circle at 84% 35%, rgba(98, 211, 79, .13), transparent 34%), #0d0e0d; }
.project--soma .project__ambient { background: radial-gradient(circle at 85% 20%, rgba(255, 100, 39, .2), transparent 33%), radial-gradient(circle at 10% 75%, rgba(255,255,255,.06), transparent 35%), #111211; }
.project--dandan .project__ambient { background: radial-gradient(circle at 12% 24%, rgba(51, 139, 99, .24), transparent 36%), radial-gradient(circle at 88% 68%, rgba(82, 194, 190, .14), transparent 38%), radial-gradient(circle at 58% 8%, rgba(231, 233, 120, .08), transparent 26%), #08140f; }
.project__inner { padding: clamp(100px, 10vw, 160px) 0; }
.project__header { display: grid; grid-template-columns: 1fr 1.75fr 1fr; align-items: end; gap: 40px; margin-bottom: 65px; }
.project__header > div:first-child { align-self: start; }
.project__number { color: var(--lime); font-size: 12px; letter-spacing: .18em; }
.project__header > div p { margin-top: 10px; color: #737870; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; }
.project__header h3 { font-size: clamp(3.8rem, 7.2vw, 8.2rem); font-weight: 760; line-height: .72; letter-spacing: -.07em; }
.project__header h3 span { color: transparent; -webkit-text-stroke: 1px currentColor; }
.project--miranteiros .project__header h3 span { -webkit-text-stroke-color: #f26732; }
.project--soma .project__header h3 span { -webkit-text-stroke-color: var(--orange); }
.project--dandan .project__header h3 span { -webkit-text-stroke-color: #8de7c0; }
.project__header > p { max-width: 420px; color: #a9ada7; font-size: 16px; line-height: 1.6; }

.project-showcase { position: relative; width: 100%; aspect-ratio: 16 / 8.7; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius-lg); background: rgba(255,255,255,.025); overflow: hidden; contain: paint; transform-style: preserve-3d; perspective: 1400px; box-shadow: 0 45px 100px rgba(0,0,0,.32); }
.project-showcase::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(135deg, black, transparent 75%); }

.browser-frame { position: absolute; left: 6.5%; top: 10%; width: 77%; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; overflow: hidden; background: #080808; box-shadow: 0 40px 90px rgba(0,0,0,.5); transform: translateZ(30px) rotateX(1deg) rotateY(2deg); transition: transform .5s ease-out; }
.browser-frame__bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: #171917; border-bottom: 1px solid #292c29; }
.browser-frame__bar i { width: 7px; height: 7px; border-radius: 50%; background: #555b54; }
.browser-frame__bar i:first-child { background: var(--lime); }
.project--soma .browser-frame__bar i:first-child { background: var(--orange); }
.project--dandan .browser-frame__bar i:first-child { background: #8de7c0; }
.browser-frame__bar span { margin-left: auto; color: #70756e; font-size: 9px; letter-spacing: .08em; }
.browser-frame > img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.project--dandan .browser-frame > img { object-position: center; }
.browser-frame__shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 25%, rgba(255,255,255,.12) 45%, transparent 60%); transform: translateX(-100%); transition: transform 1s var(--ease); }
.project-showcase:hover .browser-frame__shine { transform: translateX(100%); }

.phone-frame { position: absolute; z-index: 3; right: 6%; bottom: -7%; width: 20%; aspect-ratio: 390 / 844; padding: 8px; border: 1px solid #3b3e3a; border-radius: 34px; overflow: hidden; background: #090a09; box-shadow: 0 34px 70px rgba(0,0,0,.55); transform: translateZ(78px) rotate(3deg); transition: transform .5s ease-out; }
.phone-frame::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 27px; pointer-events: none; }
.phone-frame__speaker { position: absolute; z-index: 4; top: 15px; left: 50%; width: 34%; height: 12px; border-radius: 999px; background: #090a09; transform: translateX(-50%); }
.phone-frame__capture { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 27px; object-fit: contain; object-position: center; background: #0a0b0a; }
.phone-frame--miranteiros > span { position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 25px; display: flex; align-items: end; justify-content: space-between; padding: 13px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(0,0,0,.58); backdrop-filter: blur(10px); color: white; font-size: clamp(18px, 2vw, 36px); font-weight: 750; line-height: 1; }
.phone-frame--miranteiros small { font-size: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.phone-frame__logo { position: absolute; z-index: 3; left: 18%; bottom: 11%; width: 64%; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.project-badge { position: absolute; z-index: 4; left: 4%; bottom: 5%; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(11,13,12,.6); backdrop-filter: blur(12px); font-size: 9px; letter-spacing: .15em; }
.project-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.project--soma .project-badge i { background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.project-badge--progress { border-color: rgba(231, 233, 120, .28); background: rgba(8, 35, 25, .74); }
.project-badge--progress i { background: #e7e978; box-shadow: 0 0 14px rgba(231, 233, 120, .9); animation: dandanPulse 1.9s ease-in-out infinite; }
@keyframes dandanPulse { 50% { opacity: .45; box-shadow: 0 0 5px rgba(231, 233, 120, .5); } }

.project__footer { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; margin-top: 65px; }
.project__stats { display: flex; gap: clamp(34px, 6vw, 90px); }
.project__stats > div { display: grid; gap: 7px; }
.project__stats strong { font-size: clamp(24px, 2.8vw, 44px); font-weight: 650; letter-spacing: -.04em; }
.project__stats span { color: #777c75; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.project__actions { display: flex; align-items: center; gap: 26px; }

.services { background: var(--paper); color: var(--ink); }
.services .kicker { color: var(--lime-dark); }
.services .section-index span { color: var(--lime-dark); }
.services-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 14px; }
.service-card { position: relative; min-height: 420px; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 46px); border: 1px solid rgba(11,13,12,.13); border-radius: 28px; overflow: hidden; transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease); }
.service-card::after { content: attr(data-service); position: absolute; right: -12px; bottom: -55px; color: rgba(11,13,12,.035); font-size: 250px; font-weight: 800; line-height: 1; letter-spacing: -.12em; transition: transform .6s var(--ease), color .4s ease; }
.service-card:hover { background: var(--ink); color: var(--paper); transform: translateY(-7px); }
.service-card:hover::after { color: rgba(255,255,255,.04); transform: translate(-8px,-8px); }
.service-card > span { color: #767a74; font-size: 11px; letter-spacing: .16em; }
.service-card__icon { position: absolute; top: 28px; right: 30px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(11,13,12,.15); border-radius: 50%; color: var(--lime-dark); font-size: 24px; transition: background .4s ease, color .4s ease, transform .5s var(--ease); }
.service-card:hover .service-card__icon { background: var(--lime); color: var(--ink); transform: rotate(45deg); }
.service-card h3 { position: relative; z-index: 1; margin-top: auto; font-size: clamp(30px, 3vw, 50px); font-weight: 630; line-height: .98; letter-spacing: -.055em; }
.service-card p { position: relative; z-index: 1; max-width: 500px; margin-top: 18px; color: #646863; font-size: 14px; line-height: 1.6; transition: color .4s ease; }
.service-card:hover p { color: #aeb2ac; }
.service-card ul { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.service-card li { padding: 8px 12px; border: 1px solid rgba(11,13,12,.13); border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.service-card:hover li { border-color: rgba(255,255,255,.16); }
.service-card--featured { grid-row: span 2; min-height: 720px; background: #e9e7df; }
.service-card--wide { grid-column: span 2; min-height: 285px; }
.service-card__line { position: relative; z-index: 1; display: flex; align-items: center; gap: 15px; width: min(100%, 420px); margin-top: 25px; }
.service-card__line i { flex: 1; height: 1px; background: currentColor; opacity: .18; }
.service-card__line strong { font-size: 9px; letter-spacing: .15em; }

.process { overflow: hidden; background: var(--ink); }
.process::before { content: ""; position: absolute; left: -20vw; top: 10%; width: 70vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(207,255,74,.09), transparent 64%); }
.process-list { position: relative; padding: 0; margin: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 100px 1fr auto; gap: 35px; align-items: center; padding: 42px 0; border-top: 1px solid var(--line); transition: padding .45s var(--ease), color .3s ease; }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li:hover { padding-left: 22px; padding-right: 22px; color: var(--lime); }
.process-list > li > span { color: #646963; font-size: 11px; letter-spacing: .17em; }
.process-list h3 { font-size: clamp(30px, 4.2vw, 70px); font-weight: 580; letter-spacing: -.055em; }
.process-list p { max-width: 530px; margin-top: 8px; color: #81867e; font-size: 14px; line-height: 1.6; }
.process-list i { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); font-size: 19px; font-style: normal; transition: background .35s ease, color .35s ease, transform .45s var(--ease); }
.process-list li:hover i { background: var(--lime); color: var(--ink); transform: rotate(-45deg); }

.about { overflow: hidden; background: var(--lime); color: var(--ink); }
.about::before { content: "EB"; position: absolute; right: -4vw; bottom: -11vw; color: rgba(11,13,12,.045); font-size: 46vw; font-weight: 800; line-height: .7; letter-spacing: -.15em; }
.about__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 9vw, 150px); align-items: center; }
.about__visual { position: relative; min-height: 650px; border: 1px solid rgba(11,13,12,.18); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: 0 45px 100px rgba(77, 95, 0, .28); transform-style: preserve-3d; }
.about__visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(207,255,74,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(207,255,74,.08) 1px, transparent 1px); background-size: 42px 42px; mask-image: radial-gradient(circle at center, black, transparent 78%); }
.about__monogram { position: absolute; inset: 0; display: grid; place-items: center; }
.about__monogram img { width: 43%; filter: drop-shadow(0 24px 45px rgba(0,0,0,.45)); animation: markFloat 6s ease-in-out infinite; }
.about__orbit { position: absolute; display: grid; place-items: center; width: 72%; aspect-ratio: 1; border: 1px solid rgba(207,255,74,.18); border-radius: 50%; color: rgba(207,255,74,.38); font-size: 9px; letter-spacing: .25em; animation: orbitSpin 24s linear infinite; }
.about__coordinates { position: absolute; left: 25px; right: 25px; bottom: 24px; display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid rgba(207,255,74,.14); color: #6d7569; font-size: 9px; letter-spacing: .16em; }
.about .section-index { margin-bottom: 65px; color: rgba(11,13,12,.55); }
.about .section-index span { color: var(--ink); }
.about .kicker { color: rgba(11,13,12,.58); }
.about__content h2 { max-width: 800px; font-size: clamp(3rem, 5.8vw, 7rem); font-weight: 650; line-height: .93; letter-spacing: -.067em; }
.about__content h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px var(--ink); }
.about__text { max-width: 660px; margin-top: 38px; color: rgba(11,13,12,.68); font-size: clamp(16px, 1.4vw, 21px); line-height: 1.6; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 65px; padding-top: 24px; border-top: 1px solid rgba(11,13,12,.2); }
.about__facts > div { display: grid; gap: 8px; }
.about__facts span { color: rgba(11,13,12,.5); font-size: 9px; letter-spacing: .15em; }
.about__facts strong { font-size: 13px; }

.contact { position: relative; overflow: hidden; padding: clamp(130px, 15vw, 260px) 0 90px; background: var(--ink); }
.contact__glow { position: absolute; left: 50%; top: 50%; width: min(85vw, 1200px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(207,255,74,.15), rgba(207,255,74,.035) 38%, transparent 67%); transform: translate(-50%, -47%); }
.contact__inner { position: relative; text-align: center; }
.contact .kicker { color: #858a83; }
.contact h2 { font-size: clamp(4.5rem, 12.8vw, 13.5rem); font-weight: 700; line-height: .75; letter-spacing: -.085em; text-transform: uppercase; }
.contact h2 span { color: transparent; -webkit-text-stroke: clamp(1px, .12vw, 2px) var(--lime); }
.contact-orbit { position: relative; width: clamp(145px, 14vw, 220px); aspect-ratio: 1; display: grid; place-items: center; margin: clamp(55px, 6vw, 90px) auto 0; border-radius: 50%; background: var(--lime); color: var(--ink); }
.contact-orbit > span { position: absolute; inset: 11%; border: 1px solid rgba(11,13,12,.28); border-radius: 50%; display: grid; place-items: center; font-size: 8px; letter-spacing: .12em; color: transparent; animation: orbitSpin 18s linear infinite; }
.contact-orbit > span::before { content: "INICIAR PROJETO · INICIAR PROJETO ·"; position: absolute; top: -4px; color: var(--ink); white-space: nowrap; }
.contact-orbit strong { font-size: 42px; transition: transform .45s var(--ease); }
.contact-orbit:hover strong { transform: translate(8px,-8px) rotate(45deg); }
.contact__meta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; margin-top: 100px; padding-top: 25px; border-top: 1px solid var(--line); text-align: left; }
.contact__meta > p { max-width: 540px; color: #828780; font-size: 14px; }
.contact__meta > div { display: flex; gap: 30px; }
.contact__meta a { padding-bottom: 5px; border-bottom: 1px solid #50554f; font-size: 12px; transition: border-color .25s ease, color .25s ease; }
.contact__meta a:hover { border-color: var(--lime); color: var(--lime); }

.site-footer { background: var(--ink); border-top: 1px solid var(--line); }
.site-footer__inner { min-height: 145px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.brand--footer img { width: 48px; height: 48px; }
.site-footer p { color: #666b64; font-size: 10px; letter-spacing: .08em; }
.site-footer__inner > a { justify-self: end; color: #9ca099; font-size: 11px; }

.reveal-up { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-up.in-view { opacity: 1; transform: translateY(0); }

.case-dialog {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--ink);
  color: var(--paper);
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity .55s var(--ease), transform .55s var(--ease), overlay .55s allow-discrete, display .55s allow-discrete;
}
.case-dialog[open] { opacity: 1; transform: none; }
@starting-style { .case-dialog[open] { opacity: 0; transform: translateY(30px) scale(.985); } }
.case-dialog::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(10px); opacity: 0; transition: opacity .55s ease, overlay .55s allow-discrete, display .55s allow-discrete; }
.case-dialog[open]::backdrop { opacity: 1; }
@starting-style { .case-dialog[open]::backdrop { opacity: 0; } }
.case-dialog__close { position: fixed; z-index: 10; top: 24px; right: 24px; display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 7px 0 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(11,13,12,.78); color: white; backdrop-filter: blur(15px); cursor: pointer; }
.case-dialog__close span { font-size: 11px; letter-spacing: .08em; }
.case-dialog__close i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 22px; font-style: normal; }
.case-dialog__hero { position: relative; height: min(88vh, 880px); min-height: 620px; overflow: hidden; }
.case-dialog__hero > img { width: 100%; height: 100%; object-fit: cover; }
.case-dialog--soma .case-dialog__hero > img { object-position: center; }
.case-dialog--dandan .case-dialog__hero > img { object-position: center 62%; }
.case-dialog__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,13,12,.98), rgba(11,13,12,.08) 65%), linear-gradient(90deg, rgba(11,13,12,.55), transparent 65%); }
.case-dialog__hero > div:last-child { position: absolute; left: 4vw; bottom: 7vh; }
.case-dialog__hero span { color: var(--lime); font-size: 10px; letter-spacing: .2em; }
.case-dialog--soma .case-dialog__hero span { color: var(--orange); }
.case-dialog--dandan .case-dialog__hero span { color: #8de7c0; }
.case-dialog__hero h2 { margin-top: 18px; font-size: clamp(4.5rem, 10vw, 10rem); line-height: .72; letter-spacing: -.08em; }
.case-dialog__hero p { margin-top: 28px; color: #b4b8b1; font-size: 16px; }
.case-dialog__content { padding-top: 130px; padding-bottom: 160px; }
.case-intro { display: grid; grid-template-columns: 180px 1fr; gap: 45px; margin-bottom: 150px; }
.case-intro span, .case-columns span, .case-result > span { color: var(--lime); font-size: 10px; text-transform: uppercase; letter-spacing: .19em; }
.case-dialog--soma .case-intro span, .case-dialog--soma .case-columns span, .case-dialog--soma .case-result > span { color: var(--orange); }
.case-dialog--dandan .case-intro span, .case-dialog--dandan .case-columns span, .case-dialog--dandan .case-result > span { color: #8de7c0; }
.case-intro p { max-width: 1100px; font-size: clamp(2.2rem, 4.4vw, 5.3rem); font-weight: 520; line-height: 1.03; letter-spacing: -.055em; }
.case-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 10vw, 170px); margin-bottom: 120px; }
.case-columns h3 { margin-top: 24px; font-size: clamp(2.7rem, 4.8vw, 5rem); font-weight: 580; line-height: .98; letter-spacing: -.06em; }
.case-columns > div:last-child > p { color: #a4a8a1; font-size: 17px; line-height: 1.75; }
.case-columns ul { padding: 0; margin: 45px 0 0; list-style: none; border-top: 1px solid var(--line); }
.case-columns li { padding: 16px 0; border-bottom: 1px solid var(--line); color: #d2d5cf; font-size: 13px; }
.case-columns li::before { content: "↗"; margin-right: 14px; color: var(--lime); }
.case-dialog--soma .case-columns li::before { color: var(--orange); }
.case-dialog--dandan .case-columns li::before { color: #8de7c0; }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case-gallery figure { position: relative; min-height: 620px; margin: 0; overflow: hidden; border-radius: 24px; background: #181a18; }
.case-gallery__wide { grid-column: 1 / -1; min-height: 760px !important; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.case-gallery figure:hover img { transform: scale(1.025); }
.case-gallery figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 13px; background: rgba(11,13,12,.58); backdrop-filter: blur(12px); color: #d4d6d1; font-size: 11px; }
.case-gallery__route { min-height: 0 !important; aspect-ratio: 1788 / 1004; }
.case-gallery__route img { object-fit: contain; background: #070807; }
.case-gallery__route figcaption { right: auto; max-width: min(440px, calc(100% - 44px)); }
.case-gallery--miranteiros figure:nth-child(3) img { object-position: center 30%; }
.case-gallery--soma figure:not(.case-gallery__wide) img { object-position: center; }
.case-gallery--dandan figure:nth-child(2) img { object-position: center 58%; }
.case-gallery--dandan figure:nth-child(3) img { object-position: center; }
.case-gallery--dandan figure:last-child img { object-position: center 46%; }
.case-result { margin-top: 170px; padding-top: 55px; border-top: 1px solid var(--line); }
.case-result h3 { max-width: 1200px; margin: 30px 0 55px; font-size: clamp(3rem, 6.4vw, 7.4rem); font-weight: 600; line-height: .94; letter-spacing: -.07em; }
.case-status { width: max-content; max-width: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 11px; padding: 13px 18px; border: 1px solid rgba(141,231,192,.3); border-radius: 999px; background: rgba(15,48,35,.66); }
.case-status i { grid-row: 1 / 3; width: 8px; height: 8px; border-radius: 50%; background: #8de7c0; box-shadow: 0 0 14px rgba(141,231,192,.75); }
.case-status strong { font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.case-status small { color: #9ca69f; font-size: 10px; }

@media (max-width: 1100px) {
  :root { --header-h: 76px; --container: min(92vw, 960px); }
  .desktop-nav, .header-contact { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { position: relative; display: block; justify-self: end; }
  .mobile-menu { display: block; }
  .mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; padding: 120px 6vw max(40px, env(safe-area-inset-bottom)); }
  .mobile-menu__inner > p { font-size: 10px; text-transform: uppercase; letter-spacing: .18em; opacity: .5; }
  .mobile-menu nav { display: grid; margin-top: 36px; }
  .mobile-menu nav a { display: flex; align-items: start; gap: 18px; padding: 10px 0; font-size: clamp(44px, 9vw, 80px); font-weight: 650; line-height: .95; letter-spacing: -.055em; }
  .mobile-menu nav span { margin-top: .6em; font-size: 9px; letter-spacing: .1em; opacity: .45; }
  .mobile-menu__contact { display: flex; gap: 25px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(11,13,12,.25); font-size: 12px; }
  .hero__content { min-height: 760px; }
  .hero__title { font-size: clamp(4.2rem, 12vw, 8.8rem); }
  .hero__bottom { width: 48vw; }
  .hero-stage { width: 58vw; height: 44vw; }
  .hero-card--mini { width: 120px; }
  .project__header { grid-template-columns: 1fr 2fr; }
  .project__header > p { grid-column: 2; }
  .project__footer { grid-template-columns: 1fr; }
  .project__actions { justify-content: flex-start; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card--featured { grid-row: auto; min-height: 520px; grid-column: span 2; }
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { min-height: 520px; }
}

/* Tablet: composição própria para manter imersão sem sobreposição. */
@media (min-width: 761px) and (max-width: 1100px) {
  .section { padding: clamp(115px, 14vw, 155px) 0; }
  .hero { min-height: max(820px, 100svh); padding-bottom: 64px; }
  .hero__content { min-height: 720px; }
  .hero__title { font-size: clamp(4.7rem, 11vw, 7.8rem); }
  .hero__bottom { width: min(55vw, 500px); margin-top: clamp(46px, 6vh, 72px); }
  .hero-stage { right: -1vw; bottom: 1vw; width: 59vw; height: 44vw; }
  .manifesto__grid, .section-heading { grid-template-columns: 105px 1fr; }
  .project { min-height: auto; }
  .project__inner { padding: clamp(105px, 13vw, 140px) 0; }
  .project__header { grid-template-columns: .68fr 1.32fr; gap: 28px; margin-bottom: 54px; }
  .project__header h3 { font-size: clamp(4.5rem, 9.2vw, 6.8rem); }
  .project-showcase { aspect-ratio: 16 / 10.6; }
  .browser-frame { left: 4.5%; top: 8%; width: 82%; }
  .phone-frame { right: 4%; bottom: -3%; width: 25%; }
  .project__footer { gap: 38px; margin-top: 52px; }
  .project__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .project__stats strong { font-size: clamp(28px, 4vw, 38px); }
  .project__stats span { line-height: 1.4; }
  .service-card { min-height: 390px; }
  .about__visual { min-height: 580px; }
  .case-dialog__hero { min-height: 620px; height: 78svh; }
  .case-dialog__content { padding-top: 110px; }
  .case-intro { grid-template-columns: 120px 1fr; gap: 30px; margin-bottom: 110px; }
  .case-columns { gap: 60px; margin-bottom: 100px; }
  .case-gallery figure { min-height: 460px; }
  .case-gallery__wide { min-height: 580px !important; }
  .case-gallery figure.case-gallery__route { min-height: 0 !important; }
}

@media (max-width: 760px) {
  :root { --container: calc(100vw - 34px); --radius-lg: 25px; }
  body { font-size: 15px; }
  .section { padding: 105px 0; }
  .site-header { width: calc(100vw - 16px); padding-inline: 10px; }
  .site-header.is-scrolled { top: 8px; }
  .brand__text strong { font-size: 11px; }
  .brand__text small { font-size: 7px; }
  .brand img { width: 38px; height: 38px; }
  .hero { min-height: 980px; padding-top: 118px; }
  .hero__content { min-height: 820px; }
  .hero__eyebrow { font-size: 9px; }
  .hero__location { display: none; }
  .hero__title { margin-top: 50px; font-size: clamp(3.35rem, 15vw, 5.8rem); line-height: .81; letter-spacing: -.073em; }
  .hero__line--offset { padding-left: 0; }
  .hero__line--offset > span { font-size: .72em; }
  .hero__bottom { width: 100%; margin-top: 42px; }
  .hero__bottom > p { max-width: 410px; font-size: 16px; }
  .hero__actions { flex-wrap: wrap; gap: 18px; }
  .button { height: 54px; min-width: 190px; }
  .hero-stage { position: relative; right: auto; bottom: auto; width: 100%; height: 360px; margin-top: 65px; }
  .hero-card--main { top: 20px; right: 3%; width: 85%; transform: rotateX(4deg) rotateY(-8deg) rotateZ(2deg); }
  .hero-card--mini { width: 108px; padding: 14px; }
  .hero-card--lime { bottom: 9px; }
  .hero-card--dark { left: 0; top: -8px; }
  .hero__scroll { display: none; }
  .ticker { padding: 14px 0; }
  .ticker span { padding: 0 20px; font-size: 9px; }
  .manifesto__grid, .section-heading { grid-template-columns: 1fr; }
  .section-index { margin-bottom: 40px; }
  .section-index p { writing-mode: horizontal-tb; }
  .manifesto__lead { font-size: 19px; }
  .manifesto__statement { font-size: clamp(3rem, 14vw, 5.2rem); }
  .manifesto__note { grid-template-columns: 45px 1fr; margin-top: 55px; font-size: 15px; }
  .display-title { font-size: clamp(3rem, 13vw, 5.4rem); }
  .work { padding-top: 100px; }
  .project { min-height: auto; }
  .project__inner { padding: 95px 0; }
  .project__header { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .project__header h3 { font-size: clamp(3.6rem, 16vw, 6.2rem); }
  .project__header > p { grid-column: auto; font-size: 15px; }
  .project-showcase { aspect-ratio: .78; }
  .project-showcase::before { background-size: 32px 32px; }
  .browser-frame { left: 4%; top: 10%; width: 92%; border-radius: 13px; transform: none; }
  .browser-frame__bar { height: 30px; padding: 0 10px; }
  .browser-frame__bar i { width: 5px; height: 5px; }
  .browser-frame__bar span { font-size: 6px; }
  .phone-frame { right: 7%; bottom: 4%; width: 42%; border-radius: 25px; padding: 6px; }
  .phone-frame::after { inset: 5px; border-radius: 20px; }
  .phone-frame__capture { border-radius: 20px; }
  .phone-frame__speaker { top: 11px; height: 8px; }
  .project-badge { left: 6%; bottom: 6%; }
  .project__footer { margin-top: 45px; gap: 40px; }
  .project__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .project__stats > div:last-child { grid-column: span 2; }
  .project__stats strong { font-size: 30px; }
  .project__actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card--featured, .service-card--wide { grid-column: auto; min-height: 400px; }
  .service-card--featured { min-height: 520px; }
  .process-list li { grid-template-columns: 50px 1fr; gap: 18px; padding: 28px 0; }
  .process-list i { display: none; }
  .process-list h3 { font-size: 40px; }
  .about__grid { gap: 75px; }
  .about__visual { min-height: 440px; }
  .about .section-index { margin-bottom: 40px; }
  .about__content h2 { font-size: clamp(3.2rem, 14vw, 5.6rem); }
  .about__facts { grid-template-columns: 1fr; gap: 18px; }
  .about__facts > div { padding-bottom: 15px; border-bottom: 1px solid rgba(11,13,12,.14); }
  .contact { padding-top: 120px; }
  .contact h2 { font-size: clamp(4rem, 19vw, 7rem); line-height: .79; }
  .contact__meta { grid-template-columns: 1fr; margin-top: 75px; }
  .contact__meta > div { flex-wrap: wrap; }
  .site-footer__inner { grid-template-columns: 1fr auto; padding: 38px 0; }
  .site-footer p { grid-row: 2; grid-column: 1 / -1; }
  .case-dialog__close { top: 14px; right: 14px; }
  .case-dialog__hero { min-height: 650px; height: 92svh; }
  .case-dialog__hero > div:last-child { left: 18px; right: 18px; bottom: 55px; }
  .case-dialog__hero h2 { font-size: clamp(4.1rem, 20vw, 7rem); }
  .case-dialog__content { padding-top: 95px; padding-bottom: 110px; }
  .case-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 100px; }
  .case-intro p { font-size: clamp(2.3rem, 10.7vw, 4.3rem); }
  .case-columns { grid-template-columns: 1fr; gap: 45px; margin-bottom: 90px; }
  .case-columns h3 { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery__wide { grid-column: auto; }
  .case-gallery figure, .case-gallery__wide { min-height: 480px !important; }
  .case-gallery figure.case-gallery__route { min-height: 0 !important; }
  .case-gallery--miranteiros figure:first-child { min-height: 340px !important; }
  .case-gallery--soma figure:first-child { min-height: 340px !important; }
  .case-gallery--dandan figure:first-child { min-height: 340px !important; }
  .case-result { margin-top: 110px; }
  .case-result h3 { font-size: clamp(3rem, 13vw, 5rem); }
}

@media (pointer: coarse) {
  #ambientCanvas, .noise { display: none; }
  .hero__halo { transform: none; }
  .hero-stage__orbit, .hero-card__body img, .browser-frame__shine { animation: none; }
  .browser-frame__shine { display: none; }
  .project-showcase, .about__visual { touch-action: pan-y; }
  .hero-card, .project-badge, .case-gallery figcaption { backdrop-filter: none; }
}

@media (hover: none) {
  .project-showcase:hover .browser-frame__shine { transform: translateX(-100%); }
  .case-gallery figure:hover img, .service-card:hover, .service-card:hover::after, .service-card:hover .service-card__icon, .button:hover i { transform: none; }
  .process-list li:hover { padding-left: 0; padding-right: 0; }
}

@media (pointer: coarse), (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

@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-up { opacity: 1; transform: none; }
  [data-split] .word { opacity: 1; transform: none; }
  .loader { display: none; }
}
