:root {
  --field: #173f2a;
  --field-2: #24563a;
  --leaf: #5e8f52;
  --leaf-dark: #214f34;
  --harvest: #d8ad45;
  --clay: #b8845a;
  --paper: #f4eadb;
  --surface: #fff8ec;
  --mist: #ebe0cd;
  --ink: #132018;
  --muted: #6b675b;
  --line: rgba(22, 32, 24, 0.13);
  --white-line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 90px rgba(4, 20, 12, 0.2);
  font-family: Inter, Arial, sans-serif;
}

body[data-theme="dark"] {
  --field: #07140f;
  --field-2: #102a1d;
  --leaf: #77a864;
  --leaf-dark: #9bc883;
  --harvest: #e5c16a;
  --clay: #c79a74;
  --paper: #0b1510;
  --surface: #122219;
  --mist: #172a20;
  --ink: #f4eadb;
  --muted: #c3b8a3;
  --line: rgba(244, 234, 219, 0.14);
  --white-line: rgba(244, 234, 219, 0.18);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--leaf-dark) var(--mist);
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
  transition: background 180ms ease, color 180ms ease;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 18%, color-mix(in srgb, var(--leaf) 12%, transparent) 18% 19%, transparent 19% 58%, color-mix(in srgb, var(--clay) 10%, transparent) 58% 59%, transparent 59%),
    linear-gradient(180deg, color-mix(in srgb, var(--paper) 92%, #fff 8%), var(--paper));
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--mist);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--mist);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--leaf-dark), var(--harvest));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--field), var(--harvest));
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 4px;
  background: linear-gradient(90deg, var(--harvest), var(--leaf));
  box-shadow: 0 0 22px color-mix(in srgb, var(--harvest) 55%, transparent);
  pointer-events: none;
  transition: width 90ms linear;
}

.ambient-stage {
  position: fixed;
  inset: -18vh -8vw;
  z-index: -3;
  overflow: hidden;
  perspective: 900px;
  pointer-events: none;
}

.ambient-stage::before,
.ambient-stage::after {
  position: absolute;
  inset: 0;
  content: "";
}

.ambient-stage::before {
  opacity: 0.34;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 112px 112px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 62%, transparent);
  transform: translateY(calc(var(--scroll-progress, 0) * -90px)) rotateX(58deg) scale(1.2);
  transform-origin: center top;
}

.ambient-stage::after {
  opacity: 0.36;
  background:
    linear-gradient(125deg, transparent 0 30%, color-mix(in srgb, var(--harvest) 18%, transparent) 31% 34%, transparent 35% 100%),
    linear-gradient(65deg, transparent 0 48%, color-mix(in srgb, var(--leaf) 14%, transparent) 49% 52%, transparent 53% 100%);
  transform: translate3d(0, calc(var(--scroll-progress, 0) * 120px), 0);
}

.light-plane {
  position: absolute;
  display: block;
  width: 54vw;
  height: 34vh;
  border: 1px solid color-mix(in srgb, var(--harvest) 22%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 34%, transparent), transparent 58%),
    linear-gradient(90deg, color-mix(in srgb, var(--leaf) 20%, transparent), color-mix(in srgb, var(--harvest) 12%, transparent));
  filter: blur(1px);
  opacity: 0.44;
  transform-style: preserve-3d;
  mix-blend-mode: multiply;
}

body[data-theme="dark"] .light-plane {
  opacity: 0.3;
  mix-blend-mode: screen;
}

.plane-a {
  top: 18vh;
  left: -18vw;
  transform: translate3d(0, calc(var(--scroll-progress, 0) * 80px), -140px) rotateX(62deg) rotateZ(-18deg);
}

.plane-b {
  top: 45vh;
  right: -22vw;
  width: 60vw;
  transform: translate3d(0, calc(var(--scroll-progress, 0) * -120px), -90px) rotateX(58deg) rotateZ(16deg);
}

.plane-c {
  bottom: -8vh;
  left: 22vw;
  width: 46vw;
  height: 28vh;
  transform: translate3d(0, calc(var(--scroll-progress, 0) * -70px), -180px) rotateX(66deg) rotateZ(8deg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a,
button,
.solution-card,
.bank-card,
.insight-grid article,
.tender-steps article,
.hero-board,
.finance-image {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 14, 9, 0.92) 0%, rgba(4, 14, 9, 0.68) 42%, rgba(4, 14, 9, 0.22) 100%),
    linear-gradient(180deg, rgba(4, 14, 9, 0.15) 0%, rgba(4, 14, 9, 0.72) 100%);
}

.hero-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: 18px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  background: rgba(6, 22, 13, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: var(--field);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-nav a:hover {
  color: #fff;
}

.niche-switcher {
  display: flex;
  gap: 7px;
  padding: 5px;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.floating-dock {
  position: fixed;
  top: 50%;
  left: 18px;
  z-index: 70;
  flex-direction: column;
  transform: translateY(-50%);
  border-color: color-mix(in srgb, var(--surface) 24%, transparent);
  background: color-mix(in srgb, var(--field) 78%, transparent);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.niche-button,
.theme-toggle {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.dock-label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  min-width: max-content;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-6px, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.niche-button:hover .dock-label,
.theme-toggle:hover .dock-label,
.niche-button:focus-visible .dock-label,
.theme-toggle:focus-visible .dock-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.niche-button svg,
.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.niche-button.is-active {
  background: var(--surface);
  color: var(--leaf-dark);
}

.niche-button.is-locked {
  color: rgba(255, 255, 255, 0.42);
  cursor: not-allowed;
}

.theme-toggle {
  background: var(--harvest);
  color: #1f1909;
}

.lock-dot {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 999px;
  background: var(--harvest);
  color: #1c1608;
}

.lock-dot svg {
  width: 10px;
  height: 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  gap: 56px;
  align-items: end;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100svh - 170px);
  margin: 0 auto;
  padding: 96px 0 80px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--harvest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-size: 5.1rem;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.14rem;
  line-height: 1.72;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.ghost-action,
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-action {
  background: var(--harvest);
  color: #171203;
}

.primary-action:hover,
.ghost-action:hover,
.contact-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.ghost-action {
  border: 1px solid var(--white-line);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.primary-action svg,
.ghost-action svg,
.contact-links svg {
  width: 18px;
  height: 18px;
}

.hero-board {
  padding: 24px;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero-board:hover {
  transform: translateY(-4px) rotateX(1deg);
}

.hero-board span {
  color: var(--harvest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-board strong {
  display: block;
  margin-top: 10px;
  font-size: 1.82rem;
  line-height: 1.08;
}

.hero-board ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-board li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.hero-board svg {
  width: 19px;
  height: 19px;
  color: var(--harvest);
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 22px;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.hero-foot span {
  padding: 16px 18px;
  border-right: 1px solid var(--white-line);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-foot span:last-child {
  border-right: 0;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--field);
  color: #fff;
}

.proof-band div {
  padding: 28px clamp(18px, 5vw, 58px);
  border-right: 1px solid var(--white-line);
}

.proof-band div:last-child {
  border-right: 0;
}

.proof-band span {
  display: block;
  color: var(--harvest);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-band strong {
  display: block;
  margin-top: 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 96px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
  gap: 70px;
}

.section h2,
.contact h2 {
  font-size: 3.75rem;
  line-height: 1;
}

.section-kicker {
  max-width: 780px;
}

.intelligence .section-kicker h2 {
  color: var(--harvest);
}

.intro-copy,
.finance-copy,
.contact p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.intro-copy p {
  margin: 0 0 18px;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 16px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 96px;
}

.solution-card,
.insight-grid article,
.tender-steps article,
.bank-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.solution-card {
  min-height: 300px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(12, 31, 19, 0.07);
}

.solution-card:hover,
.bank-card:hover,
.insight-grid article:hover,
.tender-steps article:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--harvest) 46%, var(--line));
  box-shadow: 0 24px 70px rgba(12, 31, 19, 0.14);
}

.solution-card.major {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 22px;
  padding: 0;
  overflow: hidden;
}

.solution-card.major img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.solution-card.major div {
  padding: 26px 26px 26px 0;
}

.solution-card span {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 900;
}

.solution-card svg {
  display: block;
  width: 30px;
  height: 30px;
  margin-top: 18px;
  color: var(--leaf-dark);
}

.solution-card h3,
.insight-grid h3,
.tender-steps h3 {
  margin: 18px 0 12px;
  font-size: 1.32rem;
  line-height: 1.18;
}

.solution-card p,
.insight-grid p,
.tender-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.dark-panel {
  width: 100%;
  max-width: none;
  padding: 96px max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--field) 94%, #000 6%), color-mix(in srgb, var(--field-2) 88%, #000 12%)),
    var(--field);
  color: #fff;
}

.dark-panel .section-kicker {
  width: min(1180px, 100%);
}

.tender-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(1180px, 100%);
  margin-top: 34px;
}

.tender-steps article {
  min-height: 240px;
  padding: 26px;
  border-color: var(--white-line);
  background: rgba(255, 255, 255, 0.08);
}

.tender-steps span {
  color: var(--harvest);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tender-steps p {
  color: rgba(255, 255, 255, 0.7);
}

.finance {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: start;
}

.finance-copy {
  grid-column: 1 / 2;
}

.bank-wall {
  display: grid;
  grid-column: 1 / 2;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.bank-card {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(12, 31, 19, 0.06);
}

.bank-card img {
  width: auto;
  max-width: 176px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.bank-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.itau {
  border-top: 5px solid #ff7900;
}

.bradesco {
  border-top: 5px solid #cc092f;
}

.bb {
  border-top: 5px solid #f8d117;
}

.sicredi {
  border-top: 5px solid #2f7d32;
}

.bndes {
  border-top: 5px solid #1f70b7;
}

.finance-image {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  height: 100%;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.finance-image:hover {
  transform: translateY(-5px) scale(1.01);
}

.finance-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intelligence {
  border-top: 1px solid var(--line);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.insight-grid article {
  min-height: 280px;
  padding: 26px;
  background: var(--mist);
}

.insight-grid svg {
  width: 28px;
  height: 28px;
  color: var(--leaf-dark);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 34px;
  padding: 54px;
  border-radius: 8px;
  background: var(--field);
  color: #fff;
}

.email-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: start;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 64px;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7, 20, 15, 0.88) 0%, rgba(7, 20, 15, 0.72) 46%, rgba(23, 63, 42, 0.52) 100%),
    url("assets/images/cacau-email-bg.png") center / cover;
  box-shadow: 0 28px 90px rgba(12, 31, 19, 0.18);
  color: #fff;
  isolation: isolate;
}

.email-section::before {
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  content: "";
  pointer-events: none;
}

.email-section::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(7, 20, 15, 0.65));
  pointer-events: none;
}

.email-copy h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}

.email-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.email-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(244, 234, 219, 0.14);
  backdrop-filter: blur(18px);
}

.email-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
}

.email-form input,
.email-form select,
.email-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 248, 236, 0.92);
  color: #132018;
  font: inherit;
  font-size: 1rem;
  min-height: 52px;
  padding: 14px 15px;
  outline: 0;
}

.email-form textarea {
  resize: vertical;
  min-height: 132px;
}

.email-form input:focus,
.email-form select:focus,
.email-form textarea:focus {
  border-color: var(--harvest);
  box-shadow: 0 0 0 4px rgba(216, 173, 69, 0.24);
}

.contact p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-links {
  flex-direction: column;
  align-items: stretch;
  min-width: 320px;
  margin-top: 0;
}

.contact-links a {
  border: 1px solid var(--white-line);
  background: rgba(255, 255, 255, 0.1);
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 42px max(18px, calc((100vw - 1180px) / 2)) 30px;
  background: var(--field);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(180px, 0.5fr) minmax(240px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
}

.footer-mark {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.25rem;
}

.footer-brand p {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--harvest);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom strong {
  color: var(--harvest);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.reveal-left {
  transform: translateX(-34px);
}

.reveal.reveal-right {
  transform: translateX(34px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-header {
    grid-template-columns: 1fr;
  }

  .hero-nav {
    display: none;
  }

  .hero-grid,
  .intro,
  .finance,
  .contact,
  .email-section {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .section h2,
  .contact h2 {
    font-size: 3.05rem;
  }

  .email-copy h2 {
    font-size: 2.8rem;
  }

  .solution-grid,
  .tender-steps,
  .insight-grid {
    grid-template-columns: 1fr;
  }

  .finance-copy,
  .bank-wall,
  .finance-image {
    grid-column: auto;
    grid-row: auto;
  }

  .finance-image {
    min-height: 430px;
  }
}

@media (max-width: 720px) {
  .hero-header {
    width: calc(100% - 20px);
    min-height: 64px;
    margin-top: 10px;
    padding: 8px;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  .floating-dock {
    top: auto;
    right: 10px;
    bottom: 10px;
    left: 10px;
    flex-direction: row;
    justify-content: space-between;
    transform: none;
    padding: 8px;
    border-color: color-mix(in srgb, var(--surface) 36%, transparent);
  }

  .niche-switcher {
    gap: 4px;
  }

  .niche-button,
  .theme-toggle {
    width: 25%;
    min-width: 0;
    height: 58px;
    gap: 4px;
    grid-template-rows: 22px auto;
    align-content: center;
  }

  .dock-label {
    position: static;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: currentColor;
    font-size: 0.66rem;
    line-height: 1.05;
    opacity: 1;
    transform: none;
    box-shadow: none;
    white-space: normal;
    text-align: center;
  }

  .lock-dot {
    right: 9px;
    bottom: 24px;
  }

  .hero-grid {
    width: calc(100% - 36px);
    min-height: auto;
    padding: 80px 0 34px;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
  }

  .primary-action,
  .ghost-action,
  .contact-links a {
    width: 100%;
  }

  .hero-foot,
  .proof-band,
  .bank-wall {
    grid-template-columns: 1fr;
  }

  .hero-foot span,
  .proof-band div {
    border-right: 0;
    border-bottom: 1px solid var(--white-line);
  }

  .hero-foot span:last-child,
  .proof-band div:last-child {
    border-bottom: 0;
  }

  .section,
  .solution-grid,
  .contact,
  .email-section {
    width: calc(100% - 36px);
  }

  .section {
    padding: 68px 0;
  }

  .section h2,
  .contact h2 {
    font-size: 2.35rem;
  }

  .solution-grid {
    margin-bottom: 68px;
  }

  .solution-card.major {
    grid-template-columns: 1fr;
  }

  .solution-card.major div {
    padding: 0 24px 24px;
  }

  .solution-card.major img {
    min-height: 250px;
  }

  .dark-panel {
    padding: 68px 18px;
  }

  .finance-image {
    min-height: 360px;
  }

  .contact {
    padding: 34px 20px;
  }

  .email-section {
    padding: 32px 18px;
    margin-bottom: 96px;
    background:
      linear-gradient(180deg, rgba(7, 20, 15, 0.86), rgba(7, 20, 15, 0.7)),
      url("assets/images/cacau-email-bg.png") center / cover;
  }

  .email-copy h2 {
    font-size: 2.2rem;
  }

  .contact-links {
    min-width: 0;
  }

  .site-footer {
    padding: 26px 18px 108px;
  }

  .footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-bottom {
    align-items: start;
    margin-top: 26px;
  }
}
