:root {
  --foot-h: 92px;
  --canvas: #000;
  --surface: #111114;
  --raise: #18181C;
  --ink: #F3F2EE;
  --ink-soft: #8B8A86;
  --ink-mute: #5C5B58;
  --accent: #F3F2EE;
  --accent-ink: #0A0A0B;
  --line: rgba(243, 242, 238, .1);
  --display: "Geist", system-ui, sans-serif;
  --text: "Geist", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --p: 0; --mx: 0; --my: 0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 44px;
  height: 68px; padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, .62); border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.mark { font: 600 19px/1 var(--display); letter-spacing: -.03em; text-decoration: none; }
.mark span { color: #8E8E8A; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { position: relative; text-decoration: none; font-size: 14.5px; color: var(--ink-soft); transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn { margin-left: auto; }

/* ---------- buttons ----------
   Primary: a plain white pill; on hover a sheen crosses it and it lifts a little.
   Secondary: text with an underline that draws on hover. No arrows. */
.btn {
  --h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--h); padding: 0 28px; border-radius: 999px; border: 0;
  font: 500 15.5px/1 var(--text); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  background: var(--ink); color: #0A0A0B;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 14px 34px -16px rgba(255, 255, 255, .45);
  transition: transform .35s var(--ease), box-shadow .4s var(--ease), background-color .3s;
}
.btn::after {
  content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .95) 48%, transparent 66%);
  transform: translateX(-120%); opacity: 0;
}
.btn:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 20px 46px -14px rgba(255, 255, 255, .6); }
.btn:hover::after { opacity: 1; transform: translateX(120%); transition: transform .9s var(--ease), opacity .2s; }
.btn:active { transform: translateY(0) scale(.97); }
.btn:focus-visible, .btn-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.btn-sm { --h: 40px; padding: 0 20px; font-size: 14px; }
.btn-big { --h: 64px; padding: 0 40px; font-size: 17px; }

.btn-link {
  position: relative; display: inline-flex; align-items: center; padding: 10px 2px;
  font: 500 15.5px/1 var(--text); text-decoration: none; color: var(--ink); cursor: pointer;
}
.btn-link .lbl { position: relative; }
.btn-link .lbl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; opacity: .45;
  transform-origin: 0 50%; transition: transform .45s var(--ease), opacity .3s;
}
.btn-link:hover .lbl::after { opacity: 1; animation: draw .55s var(--ease); }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- the sky behind every section ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: #000; }
main, .foot { position: relative; z-index: 1; }

/* ---------- hero: gravity ---------- */
.hero { position: relative; height: 380vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.copy::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40px; width: min(1300px, 120vw); height: 120%; translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 45%, rgba(0, 0, 0, .72), rgba(0, 0, 0, .35) 60%, transparent 75%);
  pointer-events: none;
}
.copy {
  position: relative; z-index: 4; text-align: center;
  padding: clamp(112px, 14vh, 146px) var(--gutter) 0;
}
.copy h1 {
  margin: 0 auto; max-width: 1100px;
  font: 500 clamp(40px, 5vw, 74px)/1.04 var(--display); letter-spacing: -.045em; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .8);
}
.h1-a, .h1-swap { display: block; }
.h1-swap { display: grid; }
.h1-b, .h1-c { grid-area: 1 / 1; transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s; }
.h1-b { color: #A6A5A1; }
.h1-c { color: var(--ink); opacity: 0; transform: translateY(.35em); filter: blur(6px); }
.is-after .h1-b { opacity: 0; transform: translateY(-.35em); filter: blur(6px); }
.is-after .h1-c { opacity: 1; transform: none; filter: none; }
.lede, .ctas { opacity: var(--copyOn, 1); }
.lede { max-width: 50ch; margin: 22px auto 0; color: #A9A8A4; font-size: 18px; text-wrap: balance; text-shadow: 0 1px 18px rgba(0, 0, 0, .9); }
.ctas { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 32px; }

/* the old things: one family of dark glass cards, placed and torn apart by main.js */
.junk { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.j {
  position: absolute; left: 0; top: 0; will-change: transform, opacity;
  color: #E9E8E4; font: 500 13px/1.35 var(--text);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 55%), rgba(14, 14, 16, .55);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px;
  backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 50px -20px rgba(0, 0, 0, .9);
}
.j svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.jt { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #B5B4B0; letter-spacing: .01em; margin-bottom: 10px; }
.j b { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.j-profile { width: 136px; padding: 11px; }
.jp-head { display: flex; gap: 8px; align-items: center; margin-bottom: 9px; }
.jp-head i { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #CFCFCB, #5A5A57); box-shadow: 0 0 0 2px rgba(14, 14, 16, .9), 0 0 0 3px rgba(255, 255, 255, .35); }
.jp-head span { display: grid; gap: 5px; flex: 1; }
.jp-head span b:last-child { width: 60%; }
.jp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.jp-grid i { aspect-ratio: 1; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.jp-grid i:nth-child(3n + 2) { background: rgba(255, 255, 255, .26); }
.j-flyer { width: 132px; padding: 11px 12px 13px; }
.j-flyer > b { height: auto; background: none; font: 600 22px/1 var(--display); letter-spacing: -.04em; color: #fff; }
.j-flyer > span { display: block; margin-top: 6px; font-size: 12px; color: #9C9B97; }
.j-link { display: flex; align-items: center; gap: 7px; padding: 8px 13px 8px 11px; border-radius: 999px; white-space: nowrap; }
.j-old { width: 168px; overflow: hidden; }
.jo-bar { display: flex; align-items: center; gap: 4px; padding: 7px 9px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.jo-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.jo-bar span { flex: 1; height: 8px; margin-left: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.jo-body { display: grid; gap: 6px; padding: 11px 10px 10px; }
.jo-body b:nth-child(1) { width: 70%; height: 8px; background: rgba(255, 255, 255, .28); }
.jo-body b:nth-child(3) { width: 55%; }
.jo-body em {
  margin-top: 4px; padding: 4px 6px; border-radius: 5px; font-style: normal; font-size: 10.5px; text-align: center; color: #D7D6D2;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .1) 0 6px, transparent 6px 12px);
  border: 1px solid rgba(255, 255, 255, .14);
}
.j-card { width: 150px; padding: 11px 12px 14px; }
.j-card b { margin-top: 8px; }
.j-card b:last-child { width: 55%; }
.j-dm { display: flex; gap: 8px; align-items: flex-start; max-width: 200px; padding: 9px 12px 10px 9px; border-radius: 16px 16px 16px 4px; }
.j-dm i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #BDBDB9, #4A4A47); }
.j-dm p { margin: 0; font-size: 12.5px; }

/* the new site comes out of the hole */
.rig {
  position: absolute; z-index: 3; left: 50%; top: var(--bhy, 66%);
  width: min(980px, 92vw); height: 560px;
  opacity: var(--emerge, 0);
  transform: translate(-50%, -50%) scale(calc(.04 + var(--emerge, 0) * .96 * var(--rigScale, .78))) rotateZ(calc((1 - var(--emerge, 0)) * -18deg));
}
.rig .win {
  position: absolute; left: 0; top: 44px; width: 79%;
  border-radius: 14px; overflow: hidden; background: #1A1A1D;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .95), 0 0 80px rgba(255, 255, 255, calc((1 - var(--emerge, 0)) * .5));
}
.rig .win-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #1E1E22; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.rig .win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A40; }
.rig .win-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: #2A2A2F; font-size: 12px; color: #A5A4A0; }
.rig .win img { display: block; width: 100%; height: auto; }
.rig .phone { position: absolute; right: 4%; top: 0; --sw: 250px; }
.rig .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rig-note {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 16px; margin: 0; text-align: center;
  font-size: 12.5px; color: #8E8E8A; opacity: var(--emerge, 0);
}

/* ---------- phone frame (hero and cards) ---------- */
.phone {
  position: relative; width: calc(var(--sw) + 24px); padding: 12px; border-radius: 52px;
  background: linear-gradient(140deg, #3B4046 0%, #1C1F23 38%, #2B2F34 62%, #121417 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 3px #0B0C0E, 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #15171A, #3C4147); }
.side.s1 { left: -3px; top: 120px; height: 34px; }
.side.s2 { left: -3px; top: 168px; height: 58px; }
.side.s3 { right: -3px; top: 150px; height: 82px; }
.screen { position: relative; width: var(--sw); aspect-ratio: 390 / 844; overflow: hidden; border-radius: 40px; background: #FAFAFA; isolation: isolate; }
.glass {
  position: absolute; inset: 0; z-index: 9; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .07) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25);
}

/* ---------- phone layout (hero) ---------- */
@media (max-width: 860px) {
  .nav { height: 60px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { height: 330vh; }
  .copy { padding-top: 92px; }
  .copy h1 { font-size: clamp(31px, 8.6vw, 44px); }
  .lede { font-size: 15.5px; margin-top: 14px; }
  .ctas { margin-top: 22px; gap: 10px; }
  .rig { width: 100vw; height: 520px; --rigScale: .9; }
  .rig .win { width: 84%; left: 3%; top: 30px; }
  .rig .phone { --sw: 186px; width: calc(var(--sw) + 16px); right: 5%; border-radius: 34px; padding: 8px; }
  .rig .screen { border-radius: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .stage { position: relative; height: 100svh; min-height: 820px; }
  .h1-b, .h1-c { transition: none; }
  .junk { display: none; }
}

/* ---------- shared ---------- */
.soft { color: #A6A5A1; }
.works h2, .how h2, .contact h2, .scrub { text-shadow: 0 2px 28px rgba(0, 0, 0, .85); }
.works h2, .how h2, .contact h2 {
  margin: 0; font: 500 clamp(36px, 4.4vw, 64px)/1.06 var(--display); letter-spacing: -.04em; text-wrap: balance;
}
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Trabalhos ---------- */
.works { position: relative; z-index: 4; padding: clamp(120px, 14vw, 200px) var(--gutter) clamp(80px, 10vw, 140px); }
.sec-head { max-width: 1180px; margin: 0 auto clamp(64px, 8vw, 110px); }
.sec-head h2 { max-width: 20ch; }
.scrub { max-width: 34ch; margin: 34px 0 0; font: 500 clamp(22px, 2.3vw, 32px)/1.3 var(--display); letter-spacing: -.02em; }
.scrub .w { opacity: .16; transition: opacity .25s linear; }

.stack { max-width: 1180px; margin: 0 auto; display: grid; gap: 28px; }
.card {
  position: sticky; top: 92px;
  --q: 0; --cover: 0;
  border-radius: 28px; overflow: hidden; color: #fff;
  background:
    radial-gradient(70% 90% at 85% 10%, rgba(255, 255, 255, .16), transparent 60%),
    radial-gradient(60% 70% at 0% 100%, rgba(0, 0, 0, .28), transparent 70%),
    var(--wa);
  box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: scale(calc(1 - var(--cover) * .06)); transform-origin: 50% 0;
  filter: brightness(calc(1 - var(--cover) * .45));
}
.card.is-light { color: #121212; }
.card-in { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 24px; min-height: min(640px, calc(100svh - 140px)); padding: clamp(28px, 4vw, 56px); }
.card .tag { margin: 0 0 18px; font-size: 14px; font-weight: 500; opacity: .75; }
.card h3 { margin: 0 0 18px; font: 500 clamp(36px, 4vw, 60px)/1 var(--display); letter-spacing: -.04em; }
.card-line { margin: 0 0 34px; max-width: 30ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; opacity: .86; text-wrap: pretty; }
.card-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.card.is-light .btn-light { background: #121212; color: #fff; }
.fine { margin: 22px 0 0; font-size: 13px; opacity: .6; }

.card-vis { position: relative; height: 100%; min-height: 440px; --swn: 210; --sw: calc(var(--swn) * 1px); }
.card .win {
  position: absolute; left: 0; right: 10%; top: 50%; translate: 0 -54%;
  border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65);
  transition: transform 1s var(--ease);
}
.card .win-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEEEEC; }
.card .win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFCFCB; }
.card .win-bar span { margin-left: 10px; padding: 2px 10px; border-radius: 5px; background: #fff; font-size: 11.5px; color: #66655F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .win img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.card .phone-sm {
  position: absolute; right: 0; bottom: 4%; width: calc(var(--sw) + 20px); padding: 10px; border-radius: 42px;
  transition: transform 1s var(--ease);
}
.card .phone-sm .screen { border-radius: 32px; }
.card .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* hover: the work leans toward you */
@media (hover: hover) {
  .card:hover .win { transform: translateY(-8px); }
  .card:hover .win img { transform: scale(1.03); }
  .card:hover .phone-sm { transform: translateY(-14px) rotate(-1.5deg); }
}

/* ---------- Como funciona: a constellation that becomes a site ---------- */
.how { position: relative; z-index: 4; height: 340vh; }
.how-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.how-head { position: absolute; z-index: 3; left: var(--gutter); top: clamp(110px, 16vh, 150px); max-width: 420px; }
.how-head h2 { font-size: clamp(32px, 3.6vw, 52px); }
.how-head .btn-link { margin-top: 26px; }
.const { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.const-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.const-lines line { stroke: rgba(255, 255, 255, .7); stroke-width: 1.2; stroke-linecap: round; }
.const-lines .frame { stroke: rgba(255, 255, 255, .85); }
.const-lines .dot { fill: rgba(255, 255, 255, .7); }
.const-lines .halo { fill: url(#starGlow); }
.const-lines .core { fill: #fff; }
.const-site {
  position: absolute; left: 0; top: 0; object-fit: cover; object-position: 50% 0;
  border-radius: 0 0 6px 6px; opacity: 0; filter: grayscale(.2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
}

/* the step texts sit next to their stars (placed by main.js) */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  position: absolute; z-index: 2; left: 0; top: 0; width: 250px;
  opacity: .18; transition: opacity .5s var(--ease);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .95);
}
.steps li.is-on { opacity: 1; }
.steps li.is-past { opacity: .55; }
.steps b { display: block; font: 500 21px/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); }
.steps span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: #C4C3BF; }

@media (max-width: 860px) {
  .how { height: 300vh; }
  .how-head { top: 84px; right: var(--gutter); max-width: none; }
  .how-head h2 { font-size: clamp(28px, 7.6vw, 36px); }
  .how-head .btn-link { margin-top: 12px; }
  /* phones: one caption at the bottom for the current step */
  .steps li { left: var(--gutter) !important; right: var(--gutter); top: auto !important; bottom: 28px; width: auto; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .steps li.is-on { opacity: 1; transform: none; }
  .steps li.is-past { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .how { height: auto; }
  .how-stage { position: relative; height: auto; min-height: 100svh; padding-bottom: 60px; }
  .steps li { transition: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .steps { position: relative; padding: 0 var(--gutter); display: grid; gap: 18px; margin-top: 60vh; }
  .steps li { position: static; opacity: 1; transform: none; }
}

/* ---------- Contato ---------- */
.contact {
  position: relative; z-index: 4; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; align-content: center; text-align: center;
  /* the close and the footer share the last screen, so the hole, the line and the footer land together */
  min-height: calc(100vh - var(--foot-h, 92px)); min-height: calc(100svh - var(--foot-h, 92px));
  padding: 92px var(--gutter) 48px;
  border-top: 1px solid var(--line);
}
/* a shooting star crosses the sky behind the close every few seconds (main.js) */
.shooting {
  position: absolute; z-index: -1; left: 0; top: 0; width: 220px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .25) 55%, rgba(255, 255, 255, .95));
  transform-origin: 100% 50%; opacity: 0; pointer-events: none;
}
.shooting::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 5px; height: 5px; translate: 0 -50%; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255, 255, 255, .8), 0 0 22px 6px rgba(255, 255, 255, .25);
}
.contact-hole { width: 1px; height: clamp(120px, 20vh, 220px); margin: 0 0 clamp(18px, 3vh, 40px); }
.contact h2 { font-size: clamp(42px, min(6.4vw, 10vh), 104px); line-height: 1; max-width: 14ch; }
.contact-lede { margin: clamp(16px, 2.6vh, 26px) 0 clamp(24px, 4vh, 40px); color: #C4C3BF; text-shadow: 0 1px 18px rgba(0, 0, 0, .9); font-size: 18px; max-width: 44ch; }
.cta-wrap { position: relative; display: flex; align-items: center; }
.cta-msg {
  position: absolute; left: calc(100% + 16px); top: 50%;
  display: grid; align-items: center; min-height: 44px; padding: 10px 15px;
  border-radius: 14px; border-top-left-radius: 4px; background: #F3F2EE; color: #111;
  font-size: 15px; line-height: 1.35; white-space: nowrap;
  box-shadow: 0 24px 44px -16px rgba(0, 0, 0, .8);
  opacity: 0; transform: translate(-10px, -50%) scale(.96); transform-origin: 0 50%;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .3, 1.2); pointer-events: none;
}
.cta-msg > span { grid-area: 1 / 1; transition: opacity .2s ease; }
.cta-dots { display: flex; gap: 5px; }
.cta-dots i { width: 7px; height: 7px; border-radius: 50%; background: #8B8A86; animation: dot 1s infinite ease-in-out; }
.cta-dots i:nth-child(2) { animation-delay: .15s; }
.cta-dots i:nth-child(3) { animation-delay: .3s; }
.cta-text { opacity: 0; }
.cta-wrap.is-open .cta-msg { opacity: 1; transform: translate(0, -50%); }
.cta-wrap.is-said .cta-dots { opacity: 0; }
.cta-wrap.is-said .cta-text { opacity: 1; }
.contact-num { margin: 18px 0 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- footer ---------- */
.foot {
  position: relative; z-index: 4; display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
  padding: 30px var(--gutter) 40px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px;
}
.foot-links { display: flex; gap: 24px; }
.foot-links a { text-decoration: none; color: var(--ink-soft); }
.foot-links a:hover { color: var(--ink); }
.foot-c { margin-left: auto; }

/* ---------- phone layout (sections) ---------- */
@media (max-width: 860px) {
  .card { position: relative; top: auto; transform: none; filter: none; border-radius: 22px; }
  .card-in { grid-template-columns: 1fr; min-height: 0; padding: 26px 20px 22px; gap: 8px; }
  .card-vis { order: -1; min-height: 0; aspect-ratio: 1 / .78; --swn: 120; }
  .card .win { right: 18%; }
  .card .phone-sm { border-radius: 24px; padding: 6px; width: calc(var(--sw) + 12px); bottom: 0; }
  .card .phone-sm .screen { border-radius: 19px; }
  .card-line { margin-bottom: 22px; }
  .btn-big { width: 100%; }
  .cta-wrap { flex-direction: column-reverse; align-items: stretch; width: 100%; }
  .cta-msg { position: relative; left: auto; top: auto; align-self: flex-end; margin-bottom: 12px; white-space: normal;
    border-top-left-radius: 14px; border-bottom-right-radius: 4px; transform: translateY(8px) scale(.96); transform-origin: 100% 100%; }
  .cta-wrap.is-open .cta-msg { transform: none; }
  .foot-c { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .scrub .w { opacity: 1; }
  .card { transform: none; filter: none; }
  .cta-msg { transition: none; }
  .cta-dots { display: none; }
}
