:root {
  --bg: #050906;
  --bg-deep: #030604;
  --surface: #0a100b;
  --surface-2: #0d140e;
  --surface-3: #111812;
  --ink: #f4f6f2;
  --muted: #9da59e;
  --muted-2: #6d756e;
  --line: rgba(231, 243, 233, .10);
  --line-strong: rgba(220, 237, 222, .17);
  --lime: #cbff77;
  --lime-soft: #e7ffb7;
  --lilac: #9f88ff;
  --purple: #7152ff;
  --blue: #4a83ff;
  --mint: #5ee6b0;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .38);
  --max: 1320px;
  --header: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 3%, rgba(80, 118, 88, .11), transparent 30rem),
    radial-gradient(circle at 8% 0%, rgba(59, 82, 101, .10), transparent 26rem),
    var(--bg-deep);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
::selection { color: #071008; background: var(--lime); }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #071008;
  background: var(--lime);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.sr-only,
.skip-link:not(:focus) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-frame {
  position: relative;
  width: 100%;
  overflow: clip;
  border: 1px solid rgba(217, 232, 219, .16);
  border-radius: 0 0 28px 28px;
  background:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(180deg, #050906 0%, #060a07 100%);
  background-size: 64px 64px, 64px 64px, auto;
}
.site-frame::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% -10%, rgba(189, 234, 201, .06), transparent 36rem);
}
.container { width: min(calc(100% - 64px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 5, .82);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  transition: height .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.site-header.is-scrolled {
  height: 68px;
  background: rgba(4, 8, 5, .92);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}
.nav-shell {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand { justify-self: start; display: inline-flex; align-items: center; }
.brand img { width: 102px; height: auto; transition: width .28s ease; }
.site-header.is-scrolled .brand img { width: 88px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(26px, 3vw, 46px); }
.desktop-nav a {
  position: relative;
  padding-block: 12px;
  color: #a9b0aa;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 4px;
  height: 1px;
  background: var(--lime);
  transition: left .2s ease, right .2s ease;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--ink); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { left: 0; right: 0; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.02);
}
.language-switch button {
  width: 42px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #8a938b;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.language-switch button[aria-pressed="true"] {
  color: #071008;
  background: #f2f5f0;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  background: rgba(255,255,255,.025);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.header-cta:hover { color: #071008; border-color: var(--lime); background: var(--lime); transform: translateY(-1px); }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--ink); transition: transform .2s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 40px));
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(7, 12, 8, .98);
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 13px 14px; border-radius: 10px; color: #b3bbb4; font-size: 14px; font-weight: 700; }
.mobile-nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,9,6,.98) 0%, rgba(5,9,6,.70) 45%, rgba(5,9,6,.88) 100%),
    radial-gradient(circle at 76% 46%, rgba(96, 132, 103, .17), transparent 26rem);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-glow-a { width: 380px; height: 380px; left: -180px; top: 60px; background: rgba(92, 117, 123, .07); }
.hero-glow-b { width: 560px; height: 560px; right: -160px; bottom: -260px; background: rgba(143, 126, 255, .06); }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, .84fr);
  align-items: center;
  gap: clamp(44px, 6vw, 90px);
  padding-block: 78px;
}
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; color: var(--lime-soft); }
.eyebrow > span { width: 36px; height: 1px; background: var(--lime); }
.eyebrow b { font-size: 11px; line-height: 1.4; letter-spacing: .16em; font-weight: 800; }
.hero-copy h1 {
  margin: 0;
  max-width: 810px;
  font-size: clamp(62px, 6.8vw, 116px);
  line-height: .90;
  letter-spacing: -.068em;
  font-weight: 900;
  text-wrap: balance;
}
.hero-copy h1 > span { display: block; }
.hero-copy h1 b { font: inherit; }
.hero-gradient {
  color: transparent;
  background: linear-gradient(97deg, #f1f4ed 0%, #edfbd2 54%, #c7c5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-lilac { color: #9c84ff; }
.hero-description {
  max-width: 810px;
  margin: 34px 0 0;
  color: #b2bab3;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.button svg, .project-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: #071008; background: var(--lime-soft); box-shadow: 0 14px 34px rgba(203,255,119,.10); }
.button-primary:hover { background: #f1ffcf; transform: translateY(-2px); }
.button-secondary { color: var(--ink); border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.button-secondary:hover { border-color: rgba(203,255,119,.4); background: rgba(203,255,119,.05); transform: translateY(-2px); }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 5px rgba(203,255,119,.08), 0 0 18px rgba(203,255,119,.4); }

.portrait-card {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: .93;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: #020403;
  box-shadow: 0 38px 90px rgba(0,0,0,.38);
}
.portrait-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(1,3,2,.92) 100%);
}
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.portrait-line { position: absolute; z-index: 3; top: 0; left: 11%; width: 30%; height: 2px; background: var(--lime); opacity: .75; }
.portrait-card figcaption { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.portrait-card figcaption span { color: #b6bdb7; font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.portrait-card figcaption b { font-size: 17px; }

.manifesto { padding: 130px 0 112px; border-bottom: 1px solid var(--line); }
.manifesto-grid, .projects-heading {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 90px);
}
.journey-grid {
  display: grid;
  grid-template-columns: minmax(380px, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(72px, 7vw, 124px);
}
.section-marker { margin: 7px 0 0; color: #6e786f; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.manifesto-content { max-width: 830px; }
.manifesto-content h2, .projects-heading h2, .journey-intro h2, .contact-card h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
  text-wrap: balance;
}
.manifesto-content > p:last-child, .projects-heading > div > p:last-child, .journey-intro > p:last-child, .contact-card > div > p:last-child {
  max-width: 840px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 70px;
}
.pillar-card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(255,255,255,.025), rgba(255,255,255,.005));
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.pillar-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: rgba(255,255,255,.03); }
.pillar-card > span { margin-bottom: auto; color: #788179; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.pillar-card h3 { margin: 0 0 15px; font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.pillar-card p { margin: 0; color: #8f9890; font-size: 14px; line-height: 1.7; }

.projects-section { padding: 132px 0; border-bottom: 1px solid var(--line); }
.projects-heading { margin-bottom: 72px; }
.projects-heading > div { max-width: 880px; }
.projects-heading h2 { font-size: clamp(46px, 5.5vw, 84px); }
.projects-stack { display: grid; gap: 28px; }
.project-card {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(15,22,16,.98), rgba(6,10,7,.98));
  box-shadow: 0 30px 70px rgba(0,0,0,.16);
}
.project-card:nth-child(even) { grid-template-columns: minmax(480px, 1.18fr) minmax(0, .82fr); }
.project-card:nth-child(even) .project-visual { order: 1; }
.project-card:nth-child(even) .project-copy { order: 2; }
.project-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  top: -300px;
  right: -220px;
  border-radius: 50%;
  background: rgba(203,255,119,.025);
  box-shadow: 0 0 0 80px rgba(255,255,255,.005), 0 0 0 160px rgba(255,255,255,.003);
}
.project-copy { align-self: center; padding: clamp(38px, 5vw, 68px); }
.project-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; color: #7d867f; font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.project-kicker i { width: 3px; height: 3px; border-radius: 50%; background: var(--lime); }
.project-kicker b { color: #9fab9f; font: inherit; }
.project-copy h3 { margin: 0 0 22px; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.project-copy > p { margin: 0; color: #abb3ac; font-size: 17px; line-height: 1.75; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 34px 0; }
.project-facts div { padding-top: 16px; border-top: 1px solid var(--line); }
.project-facts dt { margin-bottom: 8px; color: var(--lime-soft); font-size: 11px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.project-facts dd { margin: 0; color: #7f8981; font-size: 13px; line-height: 1.65; }
.project-actions {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 10px;
  width: 100%;
}
.project-link {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px 0 16px;
  border: 1px solid rgba(203,255,119,.20);
  border-radius: 13px;
  color: #0b130c;
  background: var(--lime-soft);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.project-link:hover { transform: translateY(-2px); background: #f1ffcf; }
.project-link-button { appearance: none; font: inherit; }
.project-link-secondary {
  color: #eef4ee;
  background: rgba(255,255,255,.025);
  border-color: rgba(203,255,119,.15);
}
.project-link-secondary:hover {
  color: #fff;
  background: rgba(203,255,119,.08);
}
.project-link-secondary svg { background: rgba(203,255,119,.08); }
.project-link svg { width: 25px; height: 25px; padding: 6px; border-radius: 8px; background: rgba(7,16,8,.08); }
.project-visual {
  position: relative;
  min-width: 0;
  margin: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #070b08;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 24px 55px rgba(0,0,0,.28);
  transition: border-color .25s ease, transform .25s ease;
}
a.project-visual:hover { border-color: rgba(203,255,119,.22); transform: translateY(-3px); }
.browser-top {
  height: 45px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: #68716a;
  background: rgba(255,255,255,.016);
}
.browser-top > span { width: 7px; height: 7px; border-radius: 50%; background: #3c443e; }
.browser-top b { margin-left: 8px; font-size: 10px; letter-spacing: .06em; font-weight: 600; }

.project-ether { background: radial-gradient(circle at 86% 16%, rgba(113,82,255,.11), transparent 31rem), linear-gradient(135deg, #09100b, #070909); }
.ether-visual { background: #0a0912; }
.ether-stage {
  position: relative;
  min-height: calc(100% - 45px);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  padding: 44px;
  background:
    radial-gradient(circle at 70% 42%, rgba(125,95,255,.32), transparent 25rem),
    radial-gradient(circle at 100% 100%, rgba(70,196,255,.08), transparent 25rem),
    linear-gradient(132deg, #17142e 0%, #0b0b14 58%, #181335 100%);
}
.ether-stage::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000); }
.ether-copy-mark { position: relative; z-index: 2; align-self: start; padding-top: 28px; }
.ether-copy-mark small { color: #c3bcff; font-size: 16px; font-weight: 800; }
.ether-copy-mark strong { display: block; margin: 20px 0; font-size: clamp(38px, 4vw, 68px); line-height: .95; letter-spacing: -.055em; }
.ether-copy-mark p { max-width: 240px; margin: 0; color: #aaa5c4; font-size: 13px; line-height: 1.6; }
.ether-stage img { position: relative; z-index: 2; width: 118%; max-width: none; justify-self: center; filter: drop-shadow(0 35px 40px rgba(0,0,0,.45)); }
.ether-card-halo { position: absolute; z-index: 1; width: 360px; height: 360px; right: 5%; top: 50%; border: 1px solid rgba(207,201,255,.16); border-radius: 50%; transform: translateY(-50%); box-shadow: 0 0 0 55px rgba(207,201,255,.025), 0 0 0 110px rgba(207,201,255,.012); }
.visual-pills { position: absolute; z-index: 3; right: 22px; bottom: 20px; display: flex; gap: 7px; }
.visual-pills span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.10); border-radius: 999px; color: #b9b4d3; background: rgba(11,10,21,.65); font-size: 9px; letter-spacing: .08em; font-weight: 800; }

.project-franzoi { background: radial-gradient(circle at 13% 19%, rgba(210,164,83,.09), transparent 28rem), linear-gradient(135deg, #0b0e0b, #070907); }
.knife-visual { background: #0a0d0a; }
.knife-stage { min-height: calc(100% - 45px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: stretch; padding: 28px; background: radial-gradient(circle at 15% 8%, rgba(193,144,73,.12), transparent 20rem), #0a0e0a; }
.knife-product-card, .knife-metrics { border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.018); }
.knife-product-card { display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.knife-image-wrap { min-height: 330px; display: grid; place-items: center; overflow: hidden; padding: 26px; background: linear-gradient(145deg, #ecece9 0%, #c9cbc7 48%, #848984 100%); }
.knife-image-wrap img { width: 100%; height: 100%; max-height: 330px; object-fit: contain; mix-blend-mode: multiply; filter: contrast(1.04) saturate(.9); }
.knife-product-meta { display: grid; gap: 6px; padding: 20px; border-top: 1px solid var(--line); }
.knife-product-meta span, .knife-metrics span { color: #b7c0b8; font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.knife-product-meta b { font-size: 19px; }
.knife-product-meta small { color: #788178; font-size: 11px; }
.knife-metrics { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.knife-metrics > div:first-child b { display: block; margin: 18px 0 4px; color: var(--lime-soft); font-size: 48px; letter-spacing: -.05em; }
.knife-metrics > div:first-child small { color: #818a82; font-size: 12px; }
.ops-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ops-flow span { padding: 10px; border: 1px solid var(--line); border-radius: 9px; color: #929a93; background: rgba(255,255,255,.02); font-size: 9px; letter-spacing: .02em; text-align: center; }

.project-rico { background: radial-gradient(circle at 88% 18%, rgba(58,212,157,.08), transparent 28rem), linear-gradient(135deg, #08100c, #060a08); }
.rico-visual { background: #07100d; }
.rico-dashboard { min-height: calc(100% - 45px); display: grid; grid-template-columns: 64px 1fr; background: radial-gradient(circle at 28% 10%, rgba(81,234,183,.10), transparent 20rem), #08100d; }
.rico-dashboard aside { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 22px 0; border-right: 1px solid rgba(94,230,176,.10); background: rgba(0,0,0,.17); }
.rico-dashboard aside b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #07100d; background: var(--mint); font-size: 12px; }
.rico-dashboard aside i { width: 17px; height: 5px; border-radius: 999px; background: #26362f; }
.rico-main { display: grid; grid-template-rows: auto 1fr; gap: 18px; padding: 28px; }
.rico-summary { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; }
.rico-summary > div { padding: 17px; border: 1px solid rgba(94,230,176,.10); border-radius: 13px; background: rgba(255,255,255,.018); }
.rico-summary span { display: block; margin-bottom: 10px; color: #75857c; font-size: 10px; }
.rico-summary b { display: block; color: #e8f3ec; font-size: clamp(16px, 1.5vw, 24px); letter-spacing: -.035em; }
.rico-summary small { display: inline-block; margin-top: 8px; color: var(--mint); font-size: 10px; }
.rico-charts { min-height: 300px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }
.bar-chart { display: flex; align-items: flex-end; gap: 10px; padding: 32px 22px 22px; border: 1px solid rgba(94,230,176,.10); border-radius: 15px; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.bar-chart i { flex: 1; height: var(--h); min-height: 20px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #74efc0, #1e8e68); box-shadow: 0 10px 24px rgba(94,230,176,.10); }
.ai-insight { align-self: stretch; padding: 22px; border: 1px solid rgba(159,136,255,.16); border-radius: 15px; background: radial-gradient(circle at 90% 10%, rgba(159,136,255,.18), transparent 16rem), rgba(12,14,23,.72); }
.ai-insight > span { color: #aaa0ff; font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.ai-insight p { margin: 32px 0; color: #d4d2e4; font-size: 16px; line-height: 1.6; }
.ai-insight div { display: grid; gap: 8px; }
.ai-insight i { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); }
.ai-insight i:nth-child(2) { width: 75%; }
.ai-insight i:nth-child(3) { width: 48%; }

.project-listfy { background: radial-gradient(circle at 12% 16%, rgba(223,168,66,.07), transparent 26rem), linear-gradient(135deg, #0c0e0a, #070907); }
.listfy-visual { background: #090c09; }
.listfy-stage { min-height: calc(100% - 45px); display: grid; grid-template-columns: .78fr 1.22fr; gap: 22px; padding: 28px; background: radial-gradient(circle at 80% 10%, rgba(203,255,119,.055), transparent 22rem), #090d09; }
.listfy-flow { display: grid; align-content: center; gap: 12px; }
.listfy-flow > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.listfy-flow span { grid-row: 1 / 3; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #0a100b; background: #d6a743; font-size: 9px; font-weight: 900; }
.listfy-flow b { font-size: 13px; }
.listfy-flow small { margin-top: 4px; color: #798179; font-size: 9px; }
.listfy-output { display: grid; grid-template-columns: .85fr 1.15fr; gap: 12px; align-self: center; min-height: 360px; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: rgba(0,0,0,.22); }
.product-placeholder { position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, #191d18, #0f130f); }
.product-placeholder span { width: 75px; height: 95px; border: 1px solid rgba(214,167,67,.35); border-radius: 18px 18px 12px 12px; background: linear-gradient(145deg, #d7a83f, #5e4419); box-shadow: 0 16px 35px rgba(0,0,0,.32); transform: rotate(-7deg); }
.product-placeholder i { position: absolute; width: 54px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); }
.product-placeholder i:nth-child(2) { bottom: 28px; }
.product-placeholder i:nth-child(3) { bottom: 15px; width: 34px; }
.generated-copy { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.generated-copy > span { color: #d6a743; font-size: 9px; letter-spacing: .12em; font-weight: 800; }
.generated-copy b { display: block; margin: 32px 0 10px; font-size: 21px; }
.generated-copy p { margin: 0; color: #8d958e; font-size: 12px; line-height: 1.65; }
.generated-copy div { display: grid; gap: 9px; margin-top: 36px; }
.generated-copy i { height: 7px; border-radius: 999px; background: rgba(255,255,255,.08); }
.generated-copy i:nth-child(2) { width: 88%; }
.generated-copy i:nth-child(3) { width: 74%; }
.generated-copy i:nth-child(4) { width: 45%; }

.journey-section { padding: 132px 0; border-bottom: 1px solid var(--line); }
.journey-intro { position: sticky; top: 110px; align-self: start; }
.journey-intro .section-marker { margin-bottom: 64px; }
.journey-intro h2 {
  max-width: 560px;
  font-size: clamp(50px, 4.25vw, 70px);
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.journey-intro > p:last-child { max-width: 430px; }
.timeline { display: grid; }
.timeline-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 26px; padding: 42px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item > span { padding-top: 5px; color: #768078; font-size: 10px; letter-spacing: .12em; font-weight: 800; }
.timeline-item h3 { margin: 0 0 8px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; }
.timeline-item b { color: var(--lime-soft); font-size: 12px; }
.timeline-item p { margin: 16px 0 0; color: #828b83; font-size: 14px; line-height: 1.7; }

.contact-section { padding: 110px 0 70px; }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: center;
  gap: 60px;
  padding: clamp(38px, 6vw, 78px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 10% 15%, rgba(159,136,255,.07), transparent 24rem),
    radial-gradient(circle at 88% 90%, rgba(203,255,119,.05), transparent 24rem),
    rgba(255,255,255,.012);
}
.contact-card h2 { font-size: clamp(43px, 5vw, 76px); }
.contact-actions { display: grid; gap: 12px; }
.contact-actions .button { width: 100%; }

.site-footer { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-brand { justify-self: start; }
.footer-brand img { width: 110px; height: auto; }
.footer-grid p { margin: 0; color: #697269; font-size: 12px; }
.footer-ai { justify-self: end; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #b9c0ba; background: rgba(255,255,255,.015); font-size: 12px; font-weight: 700; cursor: pointer; }
.footer-ai .status-dot { width: 7px; height: 7px; }

.ai-launcher {
  position: fixed;
  z-index: 85;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(203,255,119,.23);
  border-radius: 999px;
  color: #edf2ed;
  background: rgba(5,10,6,.90);
  box-shadow: 0 20px 55px rgba(0,0,0,.38);
  backdrop-filter: blur(16px);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease;
}
.ai-launcher:hover { transform: translateY(-2px); border-color: rgba(203,255,119,.45); }
.ai-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: end;
  padding: 18px;
  pointer-events: none;
  opacity: 0;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(10px);
  transition: opacity .22s ease;
}
.ai-overlay.open { pointer-events: auto; opacity: 1; }
.ai-dialog {
  width: min(640px, calc(100vw - 36px));
  max-height: min(760px, calc(100dvh - 36px));
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto auto auto;
  overflow: hidden;
  border: 1px solid rgba(211, 236, 215, .16);
  border-radius: 30px;
  background: #071008;
  box-shadow: 0 35px 100px rgba(0,0,0,.58);
  transform: translateY(22px);
  transition: transform .25s ease;
}
.ai-overlay.open .ai-dialog { transform: translateY(0); }
.ai-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 28px 28px 22px; border-bottom: 1px solid var(--line); }
.ai-label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 14px; color: #8d978e; font-size: 10px; letter-spacing: .10em; text-transform: uppercase; }
.ai-label .status-dot { width: 7px; height: 7px; }
.ai-label[data-mode="ready"] { color: #b9d492; }
.ai-label[data-mode="unavailable"] .status-dot { background: #ff9a8c; box-shadow: 0 0 0 5px rgba(255,154,140,.08); }
.ai-header h2 { margin: 0; font-size: 29px; letter-spacing: -.04em; }
.ai-header p { max-width: 470px; margin: 10px 0 0; color: #9aa39b; font-size: 14px; line-height: 1.6; }
.ai-close { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 15px; color: var(--ink); background: rgba(255,255,255,.02); font-size: 30px; line-height: 1; cursor: pointer; }
.ai-body { overflow-y: auto; padding: 22px 24px 16px; scrollbar-width: thin; scrollbar-color: #334034 transparent; }
.ai-messages { display: grid; gap: 12px; }
.ai-message { max-width: 88%; padding: 14px 16px; border-radius: 17px; font-size: 14px; line-height: 1.62; white-space: pre-wrap; }
.ai-message.assistant { justify-self: start; color: #d9ded9; border: 1px solid var(--line); background: #101811; }
.ai-message.user { justify-self: end; color: #0a110b; background: var(--lime-soft); }
.ai-message.pending { color: #8e988f; }
.ai-message-meta { margin: -4px 0 2px; color: #667068; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.ai-action { padding: 9px 12px; border: 1px solid rgba(203,255,119,.22); border-radius: 10px; color: var(--lime-soft); background: rgba(203,255,119,.025); font-size: 12px; font-weight: 700; }
.quick-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.quick-prompts button { padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 999px; color: #c8cec9; background: rgba(255,255,255,.016); font-size: 12px; cursor: pointer; }
.ai-form { display: grid; grid-template-columns: 1fr 50px; gap: 10px; padding: 0 24px 12px; }
.ai-form textarea { width: 100%; min-height: 52px; max-height: 118px; resize: none; padding: 15px 16px; border: 1px solid var(--line-strong); border-radius: 16px; outline: none; color: var(--ink); background: #0d150e; line-height: 1.5; }
.ai-form textarea:focus { border-color: rgba(203,255,119,.45); box-shadow: 0 0 0 3px rgba(203,255,119,.05); }
.ai-form button { display: grid; place-items: center; border: 0; border-radius: 16px; color: #071008; background: var(--lime); cursor: pointer; }
.ai-form button:disabled { opacity: .5; cursor: wait; }
.ai-form button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-whatsapp { margin: 0 24px 12px; min-height: 48px; display: grid; place-items: center; border-radius: 14px; color: #071008; background: var(--lime-soft); font-size: 14px; font-weight: 900; }
.ai-scope { margin: 0; padding: 0 24px 20px; color: #59635b; font-size: 10px; line-height: 1.5; text-align: center; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .72s cubic-bezier(.22,.61,.36,1), transform .72s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
section[id] { scroll-margin-top: 90px; }

/* V4 — preservação do layout original e estabilidade visual */
@media (min-width: 861px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(390px, .72fr);
    gap: clamp(34px, 4vw, 64px);
  }
  .hero-copy h1 {
    max-width: 830px;
    font-size: clamp(58px, 6vw, 96px);
    line-height: .92;
  }
  .hero-copy h1 > span { white-space: nowrap; }
  .portrait-card { width: min(100%, 500px); }
}

/* As artes dos cases permanecem estáveis: sem zoom, skew ou parallax. */
a.project-visual:hover { transform: none; }
.project-visual img { transform: none !important; }
.ether-stage img {
  width: min(112%, 720px);
  height: auto;
  object-fit: contain;
}
.knife-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reveal {
  transform: translateY(12px);
  transition: opacity .58s cubic-bezier(.22,.61,.36,1), transform .58s cubic-bezier(.22,.61,.36,1);
}

@media (max-width: 1120px) {
  .container { width: min(calc(100% - 40px), var(--max)); }
  .desktop-nav { gap: 22px; }
  .hero-grid { grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr); gap: 36px; }
  .hero-copy h1 { font-size: clamp(56px, 6.8vw, 82px); }
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-card { min-height: 235px; }
  .project-card, .project-card:nth-child(even) { grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr); }
  .project-card:nth-child(even) .project-visual { order: initial; }
  .project-card:nth-child(even) .project-copy { order: initial; }
  .project-copy { padding: 42px; }
  .project-visual { margin: 22px; }
  .ether-stage { padding: 30px; }
  .knife-stage, .listfy-stage { padding: 20px; }
  .journey-grid { grid-template-columns: minmax(330px, .88fr) minmax(0, 1.12fr); gap: 56px; }
  .journey-intro h2 { font-size: clamp(46px, 4.8vw, 62px); }
}

@media (max-width: 860px) {
  :root { --header: 68px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .brand img, .site-header.is-scrolled .brand img { width: 86px; }
  .menu-button { display: block; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 54px; padding: 72px 0 58px; }
  .hero-copy { max-width: 720px; }
  .hero-copy h1 { font-size: clamp(54px, 11vw, 86px); }
  .portrait-card { width: min(100%, 610px); justify-self: center; aspect-ratio: 1.1; }
  .portrait-card img { object-position: 53% 34%; }
  .manifesto, .projects-section, .journey-section { padding: 94px 0; }
  .manifesto-grid, .projects-heading, .journey-grid { grid-template-columns: 1fr; gap: 30px; }
  .journey-intro h2 { max-width: 760px; font-size: clamp(46px, 8.5vw, 68px); }
  .manifesto-content > p:last-child, .projects-heading > div > p:last-child, .journey-intro > p:last-child { font-size: 16px; }
  .projects-heading { margin-bottom: 50px; }
  .project-card, .project-card:nth-child(even) { min-height: 0; grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-copy { order: 1; }
  .project-card:nth-child(even) .project-visual { order: 2; }
  .project-visual { min-height: 520px; }
  .project-copy { padding: 44px 34px 14px; }
  .project-visual { margin: 28px; }
  .journey-intro { position: static; }
  .journey-intro .section-marker { margin-bottom: 20px; }
  .contact-card { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid p { grid-column: 1 / -1; grid-row: 2; }
  .footer-ai { display: none; }
}

@media (max-width: 620px) {
  .site-frame { border-radius: 0 0 20px 20px; }
  .language-switch button { width: 37px; height: 31px; }
  .hero-grid { padding-top: 58px; }
  .eyebrow { margin-bottom: 20px; }
  .eyebrow b { font-size: 9px; }
  .hero-copy h1 { font-size: clamp(46px, 14vw, 69px); line-height: .91; letter-spacing: -.064em; }
  .hero-copy h1 > span { white-space: normal; }
  .hero-description { margin-top: 26px; font-size: 16px; line-height: 1.67; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .portrait-card { aspect-ratio: .92; border-radius: 24px; }
  .portrait-card img { object-position: 52% center; }
  .portrait-card figcaption { left: 18px; right: 18px; bottom: 17px; }
  .portrait-card figcaption span { max-width: 160px; font-size: 8px; }
  .manifesto-content h2, .projects-heading h2, .journey-intro h2, .contact-card h2 { font-size: clamp(39px, 12vw, 56px); }
  .pillars-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 45px; }
  .pillar-card { min-height: 210px; }
  .project-card { border-radius: 21px; }
  .project-copy { padding: 32px 22px 8px; }
  .project-copy h3 { font-size: 43px; }
  .project-copy > p { font-size: 15px; }
  .project-facts { grid-template-columns: 1fr; gap: 15px; margin: 27px 0; }
  .project-actions { grid-template-columns: 1fr; }
  .project-visual { min-height: 0; margin: 20px 12px 12px; border-radius: 16px; }
  .browser-top { height: 39px; padding: 0 12px; }
  .ether-stage { min-height: 430px; grid-template-columns: 1fr; padding: 25px 20px; }
  .ether-copy-mark { align-self: start; padding-top: 5px; }
  .ether-copy-mark strong { font-size: 48px; }
  .ether-stage img { width: 100%; align-self: end; }
  .ether-card-halo { width: 270px; height: 270px; right: -10%; top: 67%; }
  .knife-stage { min-height: 500px; grid-template-columns: 1fr; }
  .knife-product-card { min-height: 340px; }
  .knife-image-wrap { min-height: 240px; }
  .knife-metrics { gap: 30px; }
  .rico-dashboard { grid-template-columns: 44px 1fr; min-height: 470px; }
  .rico-dashboard aside { gap: 18px; }
  .rico-main { padding: 16px; }
  .rico-summary { grid-template-columns: 1fr 1fr; }
  .rico-summary > div:first-child { grid-column: 1 / -1; }
  .rico-charts { min-height: 260px; grid-template-columns: 1fr; }
  .bar-chart { min-height: 180px; }
  .ai-insight { display: none; }
  .listfy-stage { min-height: 520px; grid-template-columns: 1fr; }
  .listfy-output { min-height: 260px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .contact-section { padding: 70px 0 38px; }
  .contact-card { padding: 30px 22px; border-radius: 21px; }
  .footer-grid { min-height: 72px; }
  .footer-brand img { width: 96px; }
  .footer-grid p { font-size: 10px; }
  .ai-launcher { right: 14px; bottom: 14px; min-height: 48px; padding-inline: 15px; font-size: 12px; }
  .ai-overlay { padding: 0; place-items: stretch; }
  .ai-dialog { width: 100%; max-height: 100dvh; height: 100dvh; border: 0; border-radius: 0; grid-template-rows: auto minmax(0, 1fr) auto auto auto; }
  .ai-header { padding: max(22px, env(safe-area-inset-top)) 20px 18px; }
  .ai-header h2 { font-size: 25px; }
  .ai-header p { font-size: 13px; }
  .ai-close { width: 42px; height: 42px; }
  .ai-body { padding: 18px 18px 12px; }
  .ai-message { max-width: 92%; }
  .ai-form { padding: 0 18px 10px; }
  .ai-whatsapp { margin-inline: 18px; }
  .ai-scope { padding-inline: 18px; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

@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 { opacity: 1 !important; transform: none !important; }
}
