:root {
  --ink: #0d0d0d;
  --ink-soft: #171717;
  --paper: #f3f0e9;
  --paper-deep: #e8e3da;
  --orange: #f59a00;
  --muted: #77746d;
  --line: rgba(13, 13, 13, .18);
  --line-light: rgba(255, 255, 255, .19);
  --shell: min(92vw, 1480px);
  --header-h: 86px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--orange); color: var(--ink); }

.shell { width: var(--shell); margin-inline: auto; }
.shell-wide { width: min(96vw, 1720px); margin-inline: auto; }
.shell-nested { width: min(88%, 620px); margin-inline: auto; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow--dark { color: #8a5600; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  color: #fff;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
body:not(.kubisseya-front-page) .site-header {
  background: rgba(243, 240, 233, .93);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 32px;
}
.site-brand { display: inline-flex; width: 195px; align-items: center; }
.site-brand img { display: block; width: 100%; height: auto; }
.desktop-nav { justify-self: center; }
.menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}
.menu-list a {
  position: relative;
  font-size: .8rem;
  font-weight: 650;
  letter-spacing: .04em;
}
.menu-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.menu-list a:hover::after,
.menu-list .current-menu-item > a::after { right: 0; }
.header-mission {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .04em;
}
.header-mission span:last-child { transition: transform .25s var(--ease); }
.header-mission:hover span:last-child { transform: translate(3px, -3px); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 28px; height: 1px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--ink);
  color: #fff;
}
.mobile-menu-inner { padding-top: 9vh; display: flex; flex-direction: column; }
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding: 18px 0;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.mobile-menu a:last-child { color: var(--orange); border-bottom: 1px solid var(--line-light); }

/* Immersive intro */
.experience-stage {
  --experience-progress: 0;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--ink);
  background-image: var(--intro-image, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}
.experience-stage::before {
  content: "";
  position: absolute;
  width: min(68vw, 920px);
  aspect-ratio: 1;
  right: -16vw;
  top: -28vh;
  border: 1px solid rgba(245,154,0,.26);
  border-radius: 50%;
  z-index: -1;
  transform: scale(calc(.85 + (var(--experience-progress) * .3)));
  transition: transform .8s var(--ease);
}
.experience-stage::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, var(--orange) calc(var(--experience-progress) * 100%), rgba(255,255,255,.18) 0);
}
.experience-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25) contrast(1.08) brightness(.72);
}
.experience-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.56) 48%, rgba(0,0,0,.28) 100%),
    linear-gradient(0deg, rgba(0,0,0,.78) 0%, transparent 46%);
}
.experience-grid {
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 8vh);
  padding-bottom: 6vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 30px;
}
.experience-copy { grid-column: 1; grid-row: 1; width: min(980px, 86%); position: relative; z-index: 2; }
.experience-copy > .eyebrow { margin-bottom: 28px; }
.experience-slides { display: grid; }
.experience-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease), visibility .55s;
}
.experience-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.experience-slide h1,
.experience-slide h2 {
  margin: 0;
  width: min(960px, 100%);
  font-family: var(--display);
  font-size: clamp(4rem, 8.6vw, 9.2rem);
  font-weight: 720;
  line-height: .86;
  letter-spacing: -.075em;
  text-transform: uppercase;
  text-wrap: balance;
}
.experience-slide h2 { font-size: clamp(3.7rem, 7.7vw, 8.2rem); }
.experience-slide p:not(.eyebrow) {
  width: min(610px, 92%);
  margin: 30px 0 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}
.slide-index { display: inline-block; margin-bottom: 22px; color: var(--orange); font-size: .74rem; font-weight: 800; letter-spacing: .15em; }
.experience-brandmark {
  position: absolute;
  right: -3vw;
  bottom: -13vh;
  z-index: -1;
  font-family: var(--display);
  font-size: min(53vw, 800px);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.14em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  user-select: none;
}
.experience-controls { grid-column: 2; grid-row: 1; align-self: end; padding-bottom: 6vh; }
.slide-dots { display: grid; gap: 14px; width: 100%; }
.slide-dot {
  position: relative;
  width: 100%;
  height: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.slide-dot::before,
.slide-dot::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}
.slide-dot::before { right: 0; background: rgba(255,255,255,.24); }
.slide-dot::after { width: 0; background: var(--orange); transition: width .35s var(--ease); }
.slide-dot.is-active::after { width: 100%; }
.explore-trigger {
  display: inline-flex;
  margin-top: 34px;
  padding: 0 0 10px;
  width: 100%;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.52);
  background: transparent;
  color: #fff;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.explore-arrow { animation: breathe-down 1.7s ease-in-out infinite; }
@keyframes breathe-down { 50% { transform: translateY(6px); } }
.experience-hint { grid-column: 1 / -1; grid-row: 2; margin: 0; color: rgba(255,255,255,.4); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

.vertical-site { background: var(--paper); overflow: clip; }
.statement-section {
  min-height: 74vh;
  padding-block: 15vh 11vh;
  display: grid;
  grid-template-columns: 1fr 4fr;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.section-number { margin: 0; font-size: .78rem; font-weight: 700; }
.statement-section > div { max-width: 1160px; }
.statement-title {
  margin: 28px 0 0;
  font-family: var(--display);
  font-size: clamp(3.3rem, 7.2vw, 8.5rem);
  font-weight: 690;
  line-height: .9;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-wrap: balance;
}

/* Generic section headings */
.work-section { padding-block: 13vh 8vh; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 4fr; align-items: start; gap: 30px; margin-bottom: 8vh; }
.section-meta { display: flex; flex-direction: column; gap: 8px; font-size: .7rem; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.section-meta span:first-child { color: var(--muted); }
.section-head h2 {
  margin: 0;
  max-width: 1150px;
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.4vw, 7.5rem);
  font-weight: 680;
  line-height: .9;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

.project-list { display: grid; }
.project-row {
  min-height: 72vh;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: stretch;
  border-top: 1px solid var(--line);
}
.project-row--reverse { grid-template-columns: 1.15fr .85fr; }
.project-row--reverse .project-copy { order: 2; }
.project-row--reverse .project-media { order: 1; }
.project-copy {
  align-self: center;
  padding-block: 9vh;
}
.project-index { display: block; margin-bottom: 11vh; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.project-kicker { margin: 0 0 16px; color: #8a5600; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.project-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-wrap: balance;
}
.project-copy > p:not(.project-kicker) { max-width: 560px; margin: 28px 0 0; color: #57544e; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.project-stat { display: flex; align-items: baseline; gap: 16px; margin-top: 34px; }
.project-stat strong { font-family: var(--display); font-size: clamp(2.3rem, 3.3vw, 4rem); letter-spacing: -.05em; }
.project-stat span { color: var(--muted); font-size: .8rem; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }
.project-media { position: relative; overflow: hidden; min-height: 58vh; background: #1a1a1a; }
.project-media img,
.project-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--ease); }
.project-row:hover .project-media img,
.project-row:hover .project-media video { transform: scale(1.025); }
.project-media--placeholder { display: grid; place-items: center; background: var(--ink); color: var(--orange); }
.project-media--placeholder span { font-family: var(--display); font-size: min(31vw, 410px); font-weight: 900; letter-spacing: -.15em; transform: translateX(-7%); }
.empty-state { padding: 6vh 0 2vh; border-top: 1px solid var(--line); color: var(--muted); }

/* About */
.about-section { padding-block: 15vh; background: #ded8ce; }
.about-grid { display: grid; grid-template-columns: 1fr 2.4fr 1.4fr; gap: clamp(30px, 5vw, 90px); }
.about-copy .eyebrow { margin-bottom: 24px; }
.about-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.1rem, 5.7vw, 6.8rem);
  font-weight: 690;
  line-height: .91;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-wrap: balance;
}
.about-copy .rich-text { margin-top: 44px; max-width: 740px; }
.about-principles { align-self: end; }
.about-principles > div { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.about-principles > div:last-child { border-bottom: 1px solid var(--line); }
.about-principles span { color: var(--muted); font-size: .68rem; }
.about-principles strong { font-size: .96rem; font-weight: 620; }

/* Blog / insights */
.insights-section { padding-block: 14vh; background: var(--paper); }
.insights-grid, .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.2vw, 56px); }
.insight-card { display: flex; flex-direction: column; min-width: 0; }
.insight-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.insight-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.82); transition: transform .8s var(--ease), filter .4s; }
.insight-card:hover .insight-media img { transform: scale(1.025); filter: saturate(1); }
.insight-placeholder-mark { display: grid; place-items: center; height: 100%; color: var(--orange); font-family: var(--display); font-size: 10rem; font-weight: 900; }
.insight-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.insight-card h3 { margin: 18px 0 0; font-family: var(--display); font-size: clamp(1.8rem, 2.5vw, 3.15rem); line-height: .98; letter-spacing: -.04em; text-transform: uppercase; }
.insight-card > p { margin: 18px 0 0; color: #64615b; }
.insight-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: auto; padding-top: 24px; }
.insight-bottom .text-link { margin-top: 0; }
.insight-placeholder { grid-column: 1 / -1; min-height: 320px; padding: 48px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: #fff; }
.insight-placeholder span { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.insight-placeholder h3 { max-width: 760px; margin: 14px 0; font-family: var(--display); font-size: clamp(2.5rem, 5vw, 5rem); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.insights-cta { margin-top: 7vh; display: flex; justify-content: flex-end; }
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 210px;
  padding: 14px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* Mission bridge */
.mission-bridge {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--ink);
  background-image: linear-gradient(90deg, rgba(13,13,13,.96), rgba(13,13,13,.53)), var(--mission-image, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}
.mission-visual { position: absolute; inset: 0; display: grid; place-items: center; z-index: -1; }
.mission-orbit {
  width: min(58vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(245,154,0,.34);
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: orbit-pulse 7s ease-in-out infinite;
}
.mission-orbit::before,
.mission-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); }
.mission-orbit::before { width: 73%; height: 73%; }
.mission-orbit::after { width: 45%; height: 45%; }
@keyframes orbit-pulse { 50% { transform: scale(1.04) rotate(4deg); } }
.mission-copy { padding-bottom: 9vh; position: relative; z-index: 2; }
.mission-copy h2 { max-width: 1250px; margin: 24px 0 0; font-family: var(--display); font-size: clamp(4rem, 8.2vw, 9.3rem); font-weight: 680; line-height: .86; letter-spacing: -.07em; text-transform: uppercase; text-wrap: balance; }
.mission-copy > p:last-child { margin: 28px 0 0; color: rgba(255,255,255,.62); font-size: 1.1rem; }

/* Contact */
.contact-section { padding-block: 13vh 10vh; background: var(--orange); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 8vw, 150px); }
.section-meta--light span:first-child { color: rgba(13,13,13,.52); }
.contact-grid h2 { margin: 38px 0 0; font-family: var(--display); font-size: clamp(3.7rem, 7vw, 8.2rem); font-weight: 700; line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.contact-direct { display: grid; gap: 10px; margin-top: 6vh; font-size: .85rem; }
.contact-direct a { text-decoration: underline; text-underline-offset: 5px; }
.contact-form { align-self: end; display: grid; }
.contact-form label { display: grid; gap: 8px; padding: 17px 0; border-top: 1px solid rgba(13,13,13,.34); }
.contact-form label > span { font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 4px 0; border: 0; outline: 0; background: transparent; color: var(--ink); resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(13,13,13,.52); }
.contact-form label:focus-within { border-top-color: var(--ink); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.submit-mission { display: flex; justify-content: space-between; gap: 30px; margin-top: 32px; padding: 17px 0; border: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: transparent; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.submit-mission span:last-child { font-size: 1.2rem; transition: transform .25s var(--ease); }
.submit-mission:hover span:last-child { transform: translate(4px, -4px); }
.form-status { margin-top: 18px; font-size: .82rem; font-weight: 650; }

/* Footer */
.site-footer { padding-block: 9vh 28px; background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-brand { display: block; width: min(340px, 80%); }
.footer-logo { width: 100%; height: auto; }
.footer-grid > div:first-child p { color: rgba(255,255,255,.47); max-width: 420px; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav > span { margin-bottom: 12px; color: rgba(255,255,255,.38); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav a { font-size: .9rem; border-bottom: 1px solid transparent; }
.footer-nav a:hover { border-bottom-color: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 10vh; padding-top: 20px; border-top: 1px solid var(--line-light); color: rgba(255,255,255,.44); font-size: .67rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom a:hover { color: #fff; }

/* Blog index */
.blog-main { min-height: 80vh; padding: calc(var(--header-h) + 10vh) 0 13vh; background: var(--paper); }
.blog-hero { display: grid; grid-template-columns: 1fr 4fr; align-items: end; gap: 30px; margin-bottom: 11vh; }
.blog-hero > .eyebrow { align-self: start; margin-top: 14px; }
.blog-hero h1 { grid-column: 2; margin: 0; font-family: var(--display); font-size: clamp(5rem, 11vw, 13rem); font-weight: 720; line-height: .76; letter-spacing: -.08em; text-transform: uppercase; }
.blog-hero > p:not(.eyebrow) { grid-column: 2; max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 1.1rem; }
.archive-description { grid-column: 2; max-width: 700px; color: var(--muted); }
.pagination-wrap { margin-top: 10vh; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); font-size: .78rem; }
.page-numbers.current, .page-numbers:hover { background: var(--ink); color: #fff; }

/* Votes */
.vote-box { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.vote-button { min-width: 52px; height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.vote-button:hover, .vote-button.is-selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.vote-button:disabled { opacity: .55; cursor: wait; }
.vote-caption { width: 100%; margin-top: 6px; color: var(--muted); font-size: .67rem; }
.vote-box--compact .vote-button { min-width: 44px; height: 32px; font-size: .72rem; }

/* Single article */
.article-main, .project-detail { padding: calc(var(--header-h) + 10vh) 0 13vh; background: var(--paper); }
.article-header { display: grid; grid-template-columns: 1fr 4fr; gap: 20px 30px; }
.back-link { grid-column: 1; align-self: start; font-size: .72rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.article-header > .eyebrow { grid-column: 2; }
.article-header h1 { grid-column: 2; max-width: 1250px; margin: 20px 0 0; font-family: var(--display); font-size: clamp(4.2rem, 8.5vw, 10rem); font-weight: 710; line-height: .84; letter-spacing: -.07em; text-transform: uppercase; text-wrap: balance; }
.article-deck { grid-column: 2; max-width: 740px; margin-top: 12px; color: #615e57; font-size: clamp(1.05rem, 1.4vw, 1.28rem); }
.article-meta { grid-column: 2; display: flex; gap: 28px; margin-top: 20px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-cover { margin-top: 8vh; }
.article-cover img { width: 100%; max-height: 82vh; object-fit: cover; display: block; }
.article-layout { display: grid; grid-template-columns: 1fr 4fr; gap: 30px; margin-top: 10vh; }
.article-aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; display: grid; gap: 16px; }
.article-aside > span { color: var(--muted); font-size: .68rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.article-content { max-width: 800px; }
.rich-text { font-size: clamp(1rem, 1.12vw, 1.16rem); color: #3d3b37; }
.rich-text > *:first-child { margin-top: 0; }
.rich-text p { margin: 0 0 1.55em; }
.rich-text h2, .rich-text h3, .rich-text h4 { color: var(--ink); font-family: var(--display); line-height: .98; letter-spacing: -.035em; }
.rich-text h2 { margin: 2em 0 .65em; font-size: clamp(2.7rem, 4vw, 4.7rem); text-transform: uppercase; }
.rich-text h3 { margin: 1.8em 0 .6em; font-size: clamp(2rem, 3vw, 3.3rem); }
.rich-text a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rich-text blockquote { margin: 2.3em 0; padding: 5px 0 5px 30px; border-left: 3px solid var(--orange); font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; }
.rich-text img { height: auto; }
.article-footer { margin-top: 12vh; padding-top: 5vh; display: grid; grid-template-columns: 1fr auto; gap: 40px; border-top: 1px solid var(--line); align-items: end; }
.article-footer span { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-footer h2 { max-width: 700px; margin: 12px 0 0; font-family: var(--display); font-size: clamp(2.5rem, 4.8vw, 5.8rem); line-height: .92; letter-spacing: -.05em; text-transform: uppercase; }

/* Project detail / pages */
.project-detail-head { display: grid; grid-template-columns: 1fr 4fr; gap: 20px 30px; }
.project-detail-head .back-link { grid-column: 1; }
.project-detail-head .eyebrow,
.project-detail-head h1,
.project-detail-head > p { grid-column: 2; }
.project-detail-head h1 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(5rem, 10vw, 12rem); line-height: .78; letter-spacing: -.08em; text-transform: uppercase; }
.project-detail-head > p { max-width: 700px; color: var(--muted); font-size: 1.1rem; }
.project-detail-media { margin-top: 7vh; }
.project-media--detail { min-height: min(78vh, 900px); }
.project-detail-content { max-width: 920px; margin-top: 9vh; }
.standard-page { min-height: 70vh; padding: calc(var(--header-h) + 10vh) 0 13vh; }
.standard-page header { display: grid; grid-template-columns: 1fr 4fr; gap: 30px; margin-bottom: 8vh; }
.standard-page header .eyebrow { grid-column: 1; }
.standard-page h1 { grid-column: 2; margin: 0; font-family: var(--display); font-size: clamp(4.5rem, 9vw, 10rem); line-height: .82; letter-spacing: -.07em; text-transform: uppercase; }
.standard-page > article > .rich-text { width: min(780px, 100%); margin-left: 20%; }
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: var(--header-h); }
.error-page h1 { max-width: 1000px; margin: 25px 0; font-family: var(--display); font-size: clamp(4rem, 8vw, 9rem); line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.search-form-kub { grid-column: 2; display: grid; grid-template-columns: 1fr auto; width: min(620px, 100%); margin-top: 30px; border-bottom: 1px solid var(--ink); }
.search-form-kub input { width: 100%; padding: 12px 0; border: 0; background: transparent; outline: 0; }
.search-form-kub button { border: 0; background: transparent; cursor: pointer; font-size: 1.2rem; }

/* Reveal */
.reveal-block { opacity: 0; transform: translateY(34px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal-block.is-visible { opacity: 1; transform: none; }

/* WP editor alignments */
.alignwide { margin-left: min(-8vw, -80px); margin-right: min(-8vw, -80px); max-width: none; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }

@media (max-width: 1100px) {
  :root { --header-h: 76px; --shell: min(92vw, 980px); }
  .header-inner { grid-template-columns: 180px 1fr auto; }
  .site-brand { width: 170px; }
  .desktop-nav { display: none; }
  .header-mission { justify-self: end; }
  .menu-toggle { display: block; justify-self: end; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 20px; }
  .experience-grid { grid-template-columns: 1fr 140px; }
  .experience-copy { width: 96%; }
  .statement-section, .section-head, .blog-hero, .article-header, .article-layout, .project-detail-head, .standard-page header { grid-template-columns: 120px 1fr; }
  .about-grid { grid-template-columns: 120px 1fr; }
  .about-principles { grid-column: 2; margin-top: 30px; }
  .project-row, .project-row--reverse { min-height: 0; grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: min(90vw, 640px); --header-h: 68px; }
  .site-brand { width: 145px; }
  .header-mission { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .experience-grid { padding-top: calc(var(--header-h) + 6vh); padding-bottom: 4vh; grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; }
  .experience-copy { width: 100%; }
  .experience-copy > .eyebrow { margin-bottom: 18px; }
  .experience-slide h1, .experience-slide h2 { font-size: clamp(3.2rem, 15.5vw, 6.2rem); line-height: .88; }
  .experience-slide p:not(.eyebrow) { margin-top: 20px; font-size: .95rem; }
  .experience-controls { grid-column: 1; grid-row: 2; padding: 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
  .slide-dots { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .explore-trigger { width: 100px; margin: 0; }
  .experience-hint { grid-row: 3; margin-top: 10px; font-size: .58rem; }
  .experience-stage::before { width: 115vw; right: -58vw; top: -13vh; }
  .experience-brandmark { font-size: 78vw; bottom: -4vh; right: -11vw; }

  .statement-section, .section-head, .blog-hero, .article-header, .article-layout, .project-detail-head, .standard-page header { grid-template-columns: 1fr; }
  .statement-section { min-height: 60vh; padding-block: 11vh 8vh; gap: 42px; }
  .statement-title { font-size: clamp(3rem, 13vw, 5.5rem); }
  .section-head { gap: 40px; margin-bottom: 6vh; }
  .section-head h2 { font-size: clamp(2.9rem, 13vw, 5.7rem); }
  .section-meta { flex-direction: row; gap: 14px; }
  .work-section { padding-block: 10vh 6vh; }
  .project-row, .project-row--reverse { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
  .project-row--reverse .project-copy, .project-row--reverse .project-media { order: initial; }
  .project-copy { order: 2 !important; width: var(--shell); padding: 6vh 0 9vh; }
  .project-media { order: 1 !important; min-height: auto; aspect-ratio: 4 / 3; }
  .project-index { margin-bottom: 5vh; }
  .project-copy h3 { font-size: clamp(3rem, 13vw, 5.5rem); }
  .project-copy > p:not(.project-kicker) { margin-top: 20px; }

  .about-section { padding-block: 11vh; }
  .about-grid { grid-template-columns: 1fr; gap: 45px; }
  .about-principles { grid-column: 1; margin-top: 0; }
  .about-copy h2 { font-size: clamp(3rem, 13vw, 5.4rem); }

  .insights-section { padding-block: 10vh; }
  .insights-grid, .blog-grid { grid-template-columns: 1fr; gap: 65px; }
  .insight-card h3 { font-size: clamp(2rem, 9vw, 3rem); }
  .insights-cta { justify-content: stretch; }
  .outline-button { width: 100%; }

  .mission-bridge { min-height: 88svh; }
  .mission-orbit { width: 105vw; }
  .mission-copy { padding-bottom: 8vh; }
  .mission-copy h2 { font-size: clamp(3.4rem, 14vw, 6rem); }

  .contact-section { padding-block: 10vh 8vh; }
  .contact-grid { grid-template-columns: 1fr; gap: 9vh; }
  .contact-grid h2 { font-size: clamp(3.3rem, 14vw, 6rem); }

  .footer-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-bottom { flex-direction: column; }

  .blog-main { padding-top: calc(var(--header-h) + 8vh); }
  .blog-hero { gap: 30px; margin-bottom: 8vh; }
  .blog-hero h1, .blog-hero > p:not(.eyebrow), .archive-description, .search-form-kub { grid-column: 1; }
  .blog-hero h1 { font-size: clamp(4rem, 22vw, 8rem); }

  .article-header .back-link, .article-header > .eyebrow, .article-header h1, .article-deck, .article-meta { grid-column: 1; }
  .article-header h1 { font-size: clamp(3.5rem, 16vw, 7rem); }
  .article-layout { margin-top: 7vh; }
  .article-aside { position: static; margin-bottom: 5vh; }
  .article-footer { grid-template-columns: 1fr; }
  .article-footer .vote-box { justify-self: start; }

  .project-detail-head .back-link, .project-detail-head .eyebrow, .project-detail-head h1, .project-detail-head > p { grid-column: 1; }
  .project-detail-head h1 { font-size: clamp(4rem, 19vw, 8rem); }
  .project-media--detail { min-height: auto; aspect-ratio: 4 / 3; }
  .standard-page header .eyebrow, .standard-page h1 { grid-column: 1; }
  .standard-page > article > .rich-text { width: 100%; margin-left: 0; }
  .alignwide { margin-left: 0; margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-block { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .vote-box, .article-aside { display: none !important; }
  body { background: #fff; color: #000; }
  .article-main { padding-top: 0; }
}

/* =========================================================
   KUBISSEYA 1.1 — refinamentos de experiência e identidade
   ========================================================= */
html.experience-locked,
body.experience-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
}
html.experience-locked .experience-stage { touch-action: none; }
body { overflow-x: hidden; }

.site-header.is-scrolled,
body:not(.kubisseya-front-page) .site-header {
  background: rgba(8, 8, 8, .96);
  color: #fff;
  border-bottom-color: rgba(255,255,255,.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.is-scrolled .site-brand img,
body:not(.kubisseya-front-page) .site-header .site-brand img { opacity: 1; }

.experience-brandmark {
  right: 1vw;
  bottom: -10vh;
  width: min(43vw, 650px);
  height: min(72vh, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  opacity: .2;
  font-size: 0;
  -webkit-text-stroke: 0;
  transform: rotate(-2deg);
}
.experience-brandmark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  display: block;
  filter: saturate(.95);
}

#explorar,
#servicos,
#produtos,
#casos,
#sobre,
#insights,
#contacto { scroll-margin-top: var(--header-h); }

.statement-section { grid-template-columns: 1fr; }
.statement-section > div { width: min(1160px, 100%); margin-left: auto; }
.section-meta span:first-child { color: inherit; }

.service-default-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.service-default-card {
  min-height: 310px;
  padding: clamp(30px, 4vw, 62px);
  border-bottom: 1px solid var(--line);
}
.service-default-card:nth-child(odd) { border-right: 1px solid var(--line); }
.service-default-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.3rem, 3.8vw, 4.8rem);
  font-weight: 690;
  line-height: .92;
  letter-spacing: -.05em;
  text-transform: uppercase;
}
.service-default-card p { max-width: 610px; margin: 24px 0 0; color: #5d5a54; }

.about-section { background: var(--ink); color: #fff; }
.about-section .section-meta { color: rgba(255,255,255,.58); }
.about-section .eyebrow--dark { color: var(--orange); }
.about-section .about-copy h2 { color: #fff; }
.about-section .about-copy .rich-text { color: rgba(255,255,255,.7); }
.about-section .about-copy .rich-text h2,
.about-section .about-copy .rich-text h3,
.about-section .about-copy .rich-text h4 { color: #fff; }
.about-section .about-principles > div {
  grid-template-columns: 1fr;
  border-top-color: rgba(255,255,255,.18);
}
.about-section .about-principles > div:last-child { border-bottom-color: rgba(255,255,255,.18); }
.about-section .about-principles strong { color: rgba(255,255,255,.88); }

.mission-orbit { border-color: rgba(245,154,0,.28); }

.contact-section { background: #a85f00; color: #fff; }
.contact-section .section-meta,
.contact-section .section-meta--light,
.contact-section .section-meta--light span:first-child { color: rgba(255,255,255,.72); }
.contact-direct { color: rgba(255,255,255,.86); }
.contact-direct a { color: #fff; }
.diagnostic-inline-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.5);
  text-decoration: none !important;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.contact-form label { border-top-color: rgba(255,255,255,.42); }
.contact-form input,
.contact-form textarea { color: #fff; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.58); }
.contact-form label:focus-within { border-top-color: #fff; }
.submit-mission {
  border-top-color: #fff;
  border-bottom-color: #fff;
  color: #fff;
}

.footer-grid--rich { grid-template-columns: 1.7fr .75fr 1fr 1.05fr; gap: clamp(38px, 5vw, 84px); }
.footer-intro { min-width: 0; }
.footer-mission-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.55);
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-location strong {
  max-width: 260px;
  margin-bottom: 8px;
  color: #fff;
  font-size: .94rem;
  font-weight: 650;
}
.footer-muted { color: rgba(255,255,255,.4); font-size: .78rem; line-height: 1.5; }

.reveal-block {
  opacity: 0;
  transition: opacity .82s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal-block.reveal-up { transform: translate3d(0, 52px, 0); }
.reveal-block.reveal-left { transform: translate3d(-64px, 0, 0); }
.reveal-block.reveal-right { transform: translate3d(64px, 0, 0); }
.reveal-block.is-visible { opacity: 1; transform: translate3d(0,0,0); }

@media (max-width: 1100px) {
  .footer-grid--rich { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-location { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
  .experience-brandmark {
    width: 72vw;
    height: 58vh;
    right: -16vw;
    bottom: -8vh;
    opacity: .13;
  }
  .statement-section > div { margin-left: 0; }
  .service-default-grid { grid-template-columns: 1fr; }
  .service-default-card:nth-child(odd) { border-right: 0; }
  .service-default-card { min-height: 0; padding: 38px 0; }
  .footer-grid--rich { grid-template-columns: 1fr; }
  .footer-location { grid-column: auto; }
  .reveal-block.reveal-up { transform: translate3d(0, 30px, 0); }
  .reveal-block.reveal-left { transform: translate3d(-30px, 0, 0); }
  .reveal-block.reveal-right { transform: translate3d(30px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-block,
  .reveal-block.reveal-up,
  .reveal-block.reveal-left,
  .reveal-block.reveal-right { opacity: 1 !important; transform: none !important; will-change: auto; }
}

/* ==========================================================
   v1.2 — kinetic polish inspired by premium digital studios
   Non-destructive: enhances the existing v1.1 structure.
   ========================================================== */
.site-scroll-progress {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left center;
  will-change: transform; pointer-events: none; opacity: .9;
}
.site-header { overflow: visible; }
.menu-list a, .header-mission, .explore-trigger, .text-link, .button-link { will-change: transform; }
.section-head h2, .statement-title, .about-copy h2, .insights-section h2 {
  text-wrap: balance;
}
.project-row { transition: background .45s var(--ease); }
.project-row:hover { background: rgba(13,13,13,.018); }
.project-row .project-copy h3 { transition: transform .5s var(--ease); }
.project-row:hover .project-copy h3 { transform: translateX(.018em); }
.project-media { isolation: isolate; }
.project-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 48%);
  transition: opacity .45s ease;
}
.project-row:hover .project-media::after { opacity: 1; }
.site-footer .footer-legal-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 18px; }
.site-footer .footer-legal-links a, .site-footer .footer-legal-links button { font-size: .67rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
body.kubisseya-kinetic-ready .reveal-block.is-visible { transition-duration: .9s; }
@media (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .magnetic-target { transition: transform .22s cubic-bezier(.22,1,.36,1); }
  .project-media img, .project-media video { will-change: transform; }
}
@media (max-width:700px) { .site-footer .footer-legal-links { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .site-scroll-progress { display: none; } }

/* v1.2 homepage — People / Learning gateway */
.people-learning-section { background: var(--ink); color: #fff; }
.people-learning-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.people-learning-panel { position: relative; min-height: 68vh; padding: clamp(38px,6vw,100px); display: flex; align-items: end; justify-content: space-between; gap: 40px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.16); transition: background .55s var(--ease), color .55s var(--ease); }
.people-learning-panel:first-child { border-right: 1px solid rgba(255,255,255,.16); }
.people-learning-panel::before { content:""; position:absolute; inset:auto -14% -46% auto; width:55%; aspect-ratio:1; border:1px solid rgba(255,255,255,.12); border-radius:50%; transform:scale(.9); transition:transform .75s var(--ease),opacity .75s var(--ease); opacity:.7; }
.people-learning-panel:hover::before { transform:scale(1.35); opacity:1; }
.people-learning-panel h2 { position:relative; z-index:1; max-width:760px; margin:24px 0 18px; font-family:var(--display); font-size:clamp(3.3rem,6vw,7rem); font-weight:760; line-height:.84; letter-spacing:-.065em; text-transform:uppercase; }
.people-learning-panel p:not(.eyebrow) { position:relative; z-index:1; max-width:560px; margin:0; color:rgba(255,255,255,.58); }
.people-learning-arrow { position:relative; z-index:1; flex:0 0 auto; width:58px; aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(255,255,255,.35); border-radius:50%; font-size:1.25rem; transition:transform .45s var(--ease),background .45s var(--ease),color .45s var(--ease); }
.people-learning-panel:hover .people-learning-arrow { transform:translate(5px,-5px); background:#fff; color:#111; }
.learning-panel { background:#c66f06; }
.learning-panel .eyebrow { color:#fff; }
.people-learning-section { scroll-margin-top:var(--header-h); }
@media (max-width:800px){ .people-learning-grid{grid-template-columns:1fr}.people-learning-panel{min-height:55vh}.people-learning-panel:first-child{border-right:0}.people-learning-panel h2{font-size:clamp(3.2rem,14vw,6rem)} }

/* ==========================================================
   v1.3 — editorial navigation, products rail, premium cases,
   about story and evidence-based blog statistics
   ========================================================== */

/* Primary navigation: exact requested order, compact enough for seven links. */
@media (min-width: 1161px) {
  .header-inner { grid-template-columns: 210px minmax(0,1fr) auto; gap: 24px; }
  .menu-list { gap: clamp(13px, 1.35vw, 24px); }
  .menu-list a { font-size: clamp(.68rem, .72vw, .78rem); white-space: nowrap; }
  .header-mission { white-space: nowrap; }
}

/* About comes before Services and no longer has the principles list. */
.about-section { scroll-margin-top: var(--header-h); }
.about-grid { grid-template-columns: minmax(120px,.65fr) minmax(0,3.35fr); }
.about-copy { max-width: 1120px; }
.about-more-link {
  display: inline-flex; align-items: center; gap: 18px; margin-top: 48px; padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.42); border-bottom: 1px solid rgba(255,255,255,.42);
  color: #fff; font-size: .79rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase;
}
.about-more-link span { transition: transform .35s var(--ease); }
.about-more-link:hover span { transform: translate(4px,-4px); }

/* Product section — cursor-driven horizontal editorial rail. Never auto-plays. */
.products-showcase {
  padding: 13vh 0 8vh; overflow: hidden; background: #f8f7f3; border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-h);
}
.products-showcase__head {
  display: grid; grid-template-columns: 1fr 4fr; gap: 30px; align-items: start; margin-bottom: 5vh;
}
.products-showcase__head h2 {
  max-width: 1180px; margin: 0; font-family: var(--display); font-size: clamp(3.1rem,6.4vw,7.5rem);
  line-height: .9; letter-spacing: -.06em; text-transform: uppercase; text-wrap: balance;
}
.products-showcase__head > div:last-child > p { max-width: 700px; margin: 24px 0 0; color: #69665f; }
.product-rail-wrap { position: relative; }
.product-rail {
  width: 100%; min-height: 68vh; display: flex; align-items: flex-start; gap: clamp(38px,5vw,90px);
  overflow-x: auto; overflow-y: hidden; padding: 4vh max(4vw,calc((100vw - 1480px)/2)) 10vh;
  scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-inline: contain; scroll-behavior: auto;
  cursor: ew-resize; outline: none;
}
.product-rail::-webkit-scrollbar { display: none; }
.product-rail-card { flex: 0 0 clamp(300px,28vw,490px); min-width: 0; transition: transform .7s var(--ease); }
.product-rail-card.is-lower { margin-top: 8vh; }
.product-rail-card.is-mid { margin-top: 3.5vh; }
.product-rail-media {
  position: relative; display: block; width: 100%; aspect-ratio: .82; overflow: hidden; background: #161616;
}
.product-rail-media img,
.product-rail-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .85s var(--ease), filter .5s ease; }
.product-rail-card:hover .product-rail-media img,
.product-rail-card:hover .product-rail-media video { transform: scale(1.035); }
.product-rail-placeholder { height: 100%; display: grid; place-items: center; color: var(--orange); font-family: var(--display); font-size: 12rem; font-weight: 900; }
.product-rail-open {
  position: absolute; right: 18px; top: 18px; width: 44px; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.92); color: #111; transform: translateY(-6px); opacity: 0;
  transition: opacity .35s ease, transform .35s var(--ease);
}
.product-rail-card:hover .product-rail-open { opacity: 1; transform: none; }
.product-rail-copy { padding-top: 18px; }
.product-rail-copy > span { color: #8a5600; font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-rail-copy h3 { margin: 8px 0 0; font-family: var(--display); font-size: clamp(2rem,2.8vw,3.5rem); line-height: .94; letter-spacing: -.045em; text-transform: uppercase; }
.product-rail-copy p { max-width: 420px; margin: 14px 0 0; color: #6a6760; font-size: .92rem; }
.product-rail-cue { display: flex; align-items: center; gap: 12px; color: #77736b; font-size: .78rem; }
.product-rail-cue i { width: min(240px,24vw); height: 1px; background: currentColor; opacity: .45; }
.product-rail.is-pointer-active { cursor: none; }

/* Cases — irregular editorial canvas, managed entirely by kub_case. */
.cases-premium { padding: 14vh 0 12vh; background: #0a0a0a; color: #fff; scroll-margin-top: var(--header-h); overflow: hidden; }
.cases-premium__head { display: grid; grid-template-columns: 1fr 4fr; gap: 30px; margin-bottom: 9vh; }
.cases-premium__head .section-meta span:first-child { color: rgba(255,255,255,.48); }
.cases-premium__head h2 {
  max-width: 1200px; margin: 0; font-family: var(--display); font-size: clamp(3.2rem,6.5vw,7.7rem); font-weight: 700;
  line-height: .88; letter-spacing: -.065em; text-transform: uppercase;
}
.cases-premium__grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: clamp(24px,3vw,48px); align-items: start; }
.case-canvas { min-width: 0; }
.case-canvas--1 { grid-column: 1 / span 8; }
.case-canvas--2 { grid-column: 8 / span 5; margin-top: 16vh; }
.case-canvas--3 { grid-column: 2 / span 5; margin-top: 4vh; }
.case-canvas--4 { grid-column: 7 / span 6; margin-top: 13vh; }
.case-canvas__link { position: relative; display: block; isolation: isolate; }
.case-canvas__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #171717; }
.case-canvas--2 .case-canvas__media,
.case-canvas--3 .case-canvas__media { aspect-ratio: 4/5; }
.case-canvas__media img,
.case-canvas__media video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.84); transition: transform 1s var(--ease), filter .55s ease; }
.case-canvas:hover .case-canvas__media img,
.case-canvas:hover .case-canvas__media video { transform: scale(1.045); filter: saturate(1); }
.case-canvas__shade { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(0,0,0,.74)); pointer-events: none; }
.case-canvas__placeholder { height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.22); font-family: var(--display); font-size: clamp(2.5rem,7vw,8rem); font-weight: 900; }
.case-canvas__copy {
  position: absolute; inset: auto 0 0; z-index: 2; padding: clamp(22px,3vw,42px); display: flex; justify-content: space-between; align-items: end; gap: 34px;
}
.case-canvas__copy p { margin: 0 0 9px; color: var(--orange); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.case-canvas__copy h3 { max-width: 760px; margin: 0; font-family: var(--display); font-size: clamp(2.2rem,4vw,5.3rem); line-height: .88; letter-spacing: -.055em; text-transform: uppercase; }
.case-canvas__meta { max-width: 230px; display: grid; justify-items: end; gap: 10px; text-align: right; }
.case-canvas__meta > span { color: rgba(255,255,255,.68); font-size: .76rem; line-height: 1.35; }
.case-canvas__meta strong { font-family: var(--display); font-size: 1.8rem; }
.case-canvas__meta small { font-family: var(--body); font-size: .65rem; font-weight: 600; color: rgba(255,255,255,.6); }
.case-canvas__meta i { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-style: normal; transition: background .35s ease,color .35s ease,transform .35s var(--ease); }
.case-canvas:hover .case-canvas__meta i { background: #fff; color: #111; transform: translate(4px,-4px); }
.cases-premium__cta { margin-top: 10vh; display: flex; justify-content: flex-end; }
.outline-button--light { color: #fff; }
.empty-state--dark { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.55); }

/* Rich About page */
.about-story-page { background: #f2efe7; }
.about-story-hero { min-height: 100svh; padding-top: var(--header-h); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: #080808; color: #fff; }
.about-story-hero__grid { flex: 1; display: grid; grid-template-columns: .9fr 2.1fr; align-items: center; gap: clamp(30px,7vw,130px); padding-block: 10vh 5vh; }
.about-story-mark { width: min(37vw,540px); opacity: .22; }
.about-story-mark img { width: 100%; display: block; }
.about-story-hero__copy h1 { max-width: 1000px; margin: 24px 0 0; font-family: var(--display); font-size: clamp(4rem,8vw,9.5rem); line-height: .84; letter-spacing: -.072em; text-transform: uppercase; }
.about-story-hero__copy > p:last-child { max-width: 760px; margin: 34px 0 0; color: rgba(255,255,255,.67); font-size: clamp(1.05rem,1.4vw,1.35rem); }
.about-story-scroll { padding-bottom: 28px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; color: rgba(255,255,255,.52); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.about-story-intro { padding: 15vh 0; }
.about-story-intro__grid { display: grid; grid-template-columns: 1fr 3fr; gap: clamp(30px,6vw,100px); }
.about-story-index { margin: 0; color: #7b766d; font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.about-story-intro h2 { max-width: 1150px; margin: 0; font-family: var(--display); font-size: clamp(3.4rem,6vw,7.2rem); line-height: .9; letter-spacing: -.06em; text-transform: uppercase; }
.about-story-rich { max-width: 760px; margin-top: 48px; color: #5d5952; }
.about-story-capabilities { padding: 13vh 0; background: #ded8ce; }
.about-story-capabilities__head { display: grid; grid-template-columns: 1fr 3fr; margin-bottom: 7vh; }
.about-story-capabilities__head h2 { margin: 0; max-width: 1000px; font-family: var(--display); font-size: clamp(3.2rem,5.6vw,6.6rem); line-height: .9; letter-spacing: -.055em; text-transform: uppercase; }
.about-story-capabilities__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); }
.about-capability { min-height: 230px; padding: 34px 6vw 34px 0; border-bottom: 1px solid var(--line); }
.about-capability:nth-child(odd) { border-right: 1px solid var(--line); }
.about-capability:nth-child(even) { padding-left: 6vw; padding-right: 0; }
.about-capability h3 { margin: 0; font-family: var(--display); font-size: clamp(1.9rem,3vw,3.5rem); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
.about-capability p { max-width: 560px; margin: 18px 0 0; color: #625e57; }
.about-story-method { padding: 14vh 0; background: #0b0b0b; color: #fff; }
.about-story-method__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px,8vw,150px); }
.about-story-method__title h2 { max-width: 850px; margin: 28px 0 0; font-family: var(--display); font-size: clamp(3.5rem,6.3vw,7.2rem); line-height: .87; letter-spacing: -.065em; text-transform: uppercase; }
.about-story-method__steps { border-top: 1px solid rgba(255,255,255,.19); }
.about-story-method__steps article { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.19); }
.about-story-method__steps span { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.about-story-method__steps p { margin: 0; color: rgba(255,255,255,.65); }
.about-story-base { padding: 13vh 0; background: var(--orange); color: #111; }
.about-story-base__grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 60px; align-items: end; }
.about-story-base h2 { max-width: 1000px; margin: 28px 0 0; font-family: var(--display); font-size: clamp(3.8rem,7vw,8rem); line-height: .86; letter-spacing: -.07em; text-transform: uppercase; }
.about-story-address { border-top: 1px solid rgba(0,0,0,.34); padding-top: 16px; }
.about-story-address > span { display: block; margin-bottom: 18px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.about-story-address address { font-style: normal; font-size: 1rem; line-height: 1.7; }
.about-story-cta { padding: 14vh 0; background: #f5f2eb; }
.about-story-cta h2 { max-width: 1250px; margin: 26px 0 0; font-family: var(--display); font-size: clamp(3.5rem,7vw,8rem); line-height: .87; letter-spacing: -.067em; text-transform: uppercase; }
.about-story-cta__links { margin-top: 55px; display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }

/* Blog engagement / article newsroom layout. */
.reader-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border: 1px solid var(--line); font-size: .65rem; white-space: nowrap; }
.reader-pill__label { color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.reader-pill strong { font-size: .74rem; color: var(--ink); }
.vote-box--compact { gap: 5px; }
.vote-box--compact .reader-pill { height: 32px; }
.article-layout--stats { grid-template-columns: minmax(190px,.82fr) minmax(0,3fr) minmax(230px,1.08fr); gap: clamp(28px,4vw,70px); align-items: start; }

.article-stats-aside {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  z-index: 1;
}

.article-aside-title { margin: 0 0 18px; font-size: .7rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.article-stat-summary { display: grid; border-top: 1px solid var(--line); }
.article-stat-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.article-stat-summary span { color: var(--muted); font-size: .64rem; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.article-stat-summary strong { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.country-stats { margin-top: 34px; }
.country-stats__legend { display: flex; flex-wrap: wrap; gap: 9px 12px; margin-bottom: 18px; color: #706d66; font-size: .58rem; text-transform: uppercase; letter-spacing: .06em; }
.country-stats__legend span { display: inline-flex; align-items: center; gap: 5px; }
.country-stats__legend i { width: 8px; height: 8px; display: block; background: #222; }
.country-stats__legend .is-up { background: #8a5600; }
.country-stats__legend .is-down { background: #9e9990; }
.country-stats__rows { display: grid; gap: 15px; }
.country-stat-row > strong { display: block; margin-bottom: 6px; color: #5f5b54; font-size: .58rem; font-weight: 700; }
.country-stat-bars { display: grid; gap: 3px; }
.country-stat-bars > span { display: grid; grid-template-columns: minmax(0,1fr) 20px; align-items: center; gap: 6px; height: 5px; }
.country-stat-bars i { display: block; width: var(--bar); min-width: 0; height: 3px; background: #222; transition: width .5s var(--ease); }
.country-stat-bars .is-up i { background: #8a5600; }
.country-stat-bars .is-down i { background: #aaa49a; }
.country-stat-bars b { font-size: .52rem; font-weight: 700; color: #88837a; line-height: 1; }
.country-stats__note { margin: 20px 0 0; color: #8a857d; font-size: .57rem; line-height: 1.45; }

.article-related {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  z-index: 1;
  border-top: 1px solid var(--line);
}

.article-related__head { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.article-related__head span { font-size: .68rem; font-weight: 850; letter-spacing: .1em; }
.article-related__head small { color: var(--muted); font-size: .58rem; }
.article-related__list { display: grid; }
.related-story { display: grid; grid-template-columns: 68px 1fr; gap: 13px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.related-story__media { width: 68px; aspect-ratio: 1; overflow: hidden; background: #111; }
.related-story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-story__media span { height: 100%; display: grid; place-items: center; color: var(--orange); font-weight: 900; }
.related-story time { display: block; margin-bottom: 5px; color: var(--muted); font-size: .55rem; }
.related-story h3 { margin: 0; font-family: var(--display); font-size: clamp(1rem,1.15vw,1.35rem); line-height: .98; letter-spacing: -.025em; text-transform: uppercase; }
.article-related__more { display: flex; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 10px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: .66rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.article-footer--vote .vote-box { justify-self: end; }
.article-footer--vote h2 { max-width: 800px; }
.footer-location address { margin: 0 0 12px; color: rgba(255,255,255,.78); font-style: normal; font-size: .83rem; line-height: 1.55; }

@media (max-width: 1160px) {
  .article-layout--stats { grid-template-columns: minmax(180px,.8fr) minmax(0,2.8fr); }
  .article-related { position: static; grid-column: 2; display: grid; grid-template-columns: 1fr; margin-top: 20px; }
  .article-related__list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 22px; }
  .product-rail { min-height: 58vh; }
}

@media (max-width: 860px) {
  .products-showcase__head, .cases-premium__head, .about-story-capabilities__head { grid-template-columns: 1fr; gap: 22px; }
  .product-rail { min-height: 0; gap: 24px; padding-left: 5vw; padding-right: 5vw; scroll-snap-type: x proximity; cursor: grab; }
  .product-rail:active { cursor: grabbing; }
  .product-rail-card { flex-basis: min(78vw,420px); scroll-snap-align: center; }
  .product-rail-card.is-lower, .product-rail-card.is-mid { margin-top: 0; }
  .product-rail-media { aspect-ratio: .9; }
  .product-rail-cue { padding-top: 4px; }
  .cases-premium__grid { grid-template-columns: 1fr; }
  .case-canvas--1, .case-canvas--2, .case-canvas--3, .case-canvas--4 { grid-column: auto; margin-top: 0; }
  .case-canvas__media, .case-canvas--2 .case-canvas__media, .case-canvas--3 .case-canvas__media { aspect-ratio: 4/5; }
  .case-canvas__copy { flex-direction: column; align-items: flex-start; }
  .case-canvas__meta { justify-items: start; text-align: left; }
  .about-story-hero__grid, .about-story-intro__grid, .about-story-method__grid, .about-story-base__grid { grid-template-columns: 1fr; }
  .about-story-mark { position: absolute; width: 66vw; right: -16vw; bottom: 8vh; opacity: .12; }
  .about-story-hero__grid { position: relative; }
  .about-story-capabilities__grid { grid-template-columns: 1fr; }
  .about-capability:nth-child(odd) { border-right: 0; }
  .about-capability:nth-child(even) { padding-left: 0; }
  .article-layout--stats { grid-template-columns: 1fr; }
  .article-stats-aside, .article-related { position: static; grid-column: auto; }
  .article-stats-aside { order: 2; margin-top: 5vh; }
  .article-content { order: 1; }
  .article-related { order: 3; margin-top: 6vh; }
  .article-related__list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-more-link { margin-top: 34px; }
  .products-showcase { padding-top: 10vh; }
  .product-rail-card { flex-basis: 82vw; }
  .cases-premium { padding-top: 10vh; }
  .about-story-capabilities__grid { display: block; }
  .about-capability { padding: 28px 0; min-height: 0; }
  .about-story-method__steps article { grid-template-columns: 1fr; gap: 8px; }
  .article-stat-summary { grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
  .article-stat-summary > div { display: grid; justify-content: start; border-right: 1px solid var(--line); border-bottom: 0; }
  .article-stat-summary > div:last-child { border-right: 0; }
  .country-stats__note { font-size: .62rem; }
  .article-footer--vote .vote-box { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .product-rail-media img, .product-rail-media video, .case-canvas__media img, .case-canvas__media video { transition: none; }
}




/* =========================================================
   CASOS / WORK — PROJETOS SEM LINK EXTERNO
========================================================= */

.case-canvas__link--static {
    cursor: default;
}

/*
 * Garante que imagens definidas pelo novo campo de media
 * tenham exatamente o mesmo comportamento visual dos vídeos
 * e imagens destacadas.
 */
.case-canvas__media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
 * Mantém vídeos a ocupar integralmente o canvas.
 */
.case-canvas__media > video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* =========================================================
   ARQUIVO DE CASOS — HERO ESCURO
========================================================= */

.case-archive-hero {
    background: #000;
    color: #fff;
}

.case-archive-hero .eyebrow,
.case-archive-hero .eyebrow--dark,
.case-archive-hero h1,
.case-archive-hero .archive-description,
.case-archive-hero .archive-description p {
    color: #fff;
}
.case-archive-main,
.cases-premium--archive {
    background: #000;
    color: #fff;
}
/* =========================================================
   v1.4 — focused refinements
========================================================= */

/* Products remain a public showcase, never an internal detail route. */
.product-rail-media--static { cursor: default; }
.product-rail-media--static + .product-rail-copy { cursor: default; }
.footer-product-static { color: rgba(255,255,255,.72); font-size: .9rem; }

/* Homepage Cases: exactly three compact square cards on one row. */
.cases-premium--front .cases-premium__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.cases-premium--front .case-canvas,
.cases-premium--front .case-canvas--1,
.cases-premium--front .case-canvas--2,
.cases-premium--front .case-canvas--3,
.cases-premium--front .case-canvas--4 {
  grid-column: auto;
  margin-top: 0;
}
.cases-premium--front .case-canvas__media,
.cases-premium--front .case-canvas--2 .case-canvas__media,
.cases-premium--front .case-canvas--3 .case-canvas__media {
  aspect-ratio: 1 / 1;
}
.cases-premium--front .case-canvas__copy { padding: clamp(18px, 2vw, 28px); gap: 18px; }
.cases-premium--front .case-canvas__copy h3 { font-size: clamp(1.8rem, 2.7vw, 3.4rem); }
.cases-premium--front .case-canvas__meta { max-width: 180px; }
.cases-premium--front .case-canvas__meta > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Cases archive: all published cases in a clean 4-column catalogue. */
.cases-premium--archive .cases-premium__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}
.cases-premium--archive .case-canvas,
.cases-premium--archive .case-canvas--1,
.cases-premium--archive .case-canvas--2,
.cases-premium--archive .case-canvas--3,
.cases-premium--archive .case-canvas--4 {
  grid-column: auto;
  margin-top: 0;
}
.cases-premium--archive .case-canvas__media,
.cases-premium--archive .case-canvas--2 .case-canvas__media,
.cases-premium--archive .case-canvas--3 .case-canvas__media { aspect-ratio: 1 / 1; }
.cases-premium--archive .case-canvas__copy {
  padding: clamp(16px, 1.6vw, 24px);
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cases-premium--archive .case-canvas__copy h2,
.cases-premium--archive .case-canvas__copy h3 { font-size: clamp(1.6rem, 2.15vw, 2.8rem); }
.cases-premium--archive .case-canvas__meta { max-width: none; justify-items: start; text-align: left; }
.cases-premium--archive .case-canvas__meta > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Internal Blog reading page: reduce headline scale while preserving hierarchy. */
.single-post .article-header h1,
.article-main .article-header h1 {
  max-width: 1080px;
  font-size: clamp(3.25rem, 6.3vw, 7.4rem);
  line-height: .88;
  letter-spacing: -.06em;
}

/* About / Team — WordPress managed, no public member pages. */
.about-team { padding: 13vh 0 15vh; background: #ded8ce; overflow: hidden; }
.about-team__head {
  display: grid;
  grid-template-columns: .8fr 2.2fr;
  gap: clamp(28px, 6vw, 100px);
  align-items: start;
  margin-bottom: 8vh;
}
.about-team__head h2 {
  margin: 0;
  max-width: 1020px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6vw, 7.2rem);
  line-height: .88;
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.about-team__head > p:last-child {
  grid-column: 2;
  max-width: 630px;
  margin: -3vh 0 0;
  color: #625e57;
}
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(22px, 2.5vw, 42px);
  align-items: start;
}
.team-card { min-width: 0; grid-column: span 4; }
.team-card:nth-child(3n + 2) { margin-top: 8vh; }
.team-card:nth-child(3n + 3) { margin-top: 3vh; }
.team-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}
.team-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.88); transition: transform .8s var(--ease), filter .45s ease; }
.team-card:hover .team-card__media img { transform: scale(1.035); filter: saturate(1); }
.team-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: #111; color: var(--orange); }
.team-card__placeholder span { font-family: var(--display); font-size: clamp(7rem, 11vw, 13rem); font-weight: 800; line-height: 1; }
.team-card__index {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  color: #fff;
  font-size: .61rem;
  font-weight: 800;
}
.team-card__copy { padding-top: 18px; border-top: 1px solid rgba(13,13,13,.18); margin-top: 14px; }
.team-card__copy h3 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 2.8vw, 3.5rem); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.team-card__copy p { max-width: 420px; margin: 12px 0 0; color: #625e57; font-size: .9rem; line-height: 1.55; }
.about-team__empty { padding: 7vh 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-team__empty span { font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.about-team__empty p { max-width: 680px; margin: 16px 0 0; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 5.5rem); line-height: .92; text-transform: uppercase; }

/* General text safety on narrow viewports. */
.article-header h1,
.blog-hero h1,
.about-story-hero__copy h1,
.about-story-intro h2,
.about-story-method__title h2,
.about-story-base h2,
.about-story-cta h2 { overflow-wrap: break-word; }

@media (max-width: 1100px) {
  .cases-premium--archive .cases-premium__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-card { grid-column: auto; margin-top: 0 !important; }
}

@media (max-width: 860px) {
  .cases-premium--front .cases-premium__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-premium--front .case-canvas__copy,
  .cases-premium--archive .case-canvas__copy { flex-direction: column; align-items: flex-start; }
  .cases-premium--front .case-canvas__meta,
  .cases-premium--archive .case-canvas__meta { max-width: none; justify-items: start; text-align: left; }
  .about-team__head { grid-template-columns: 1fr; gap: 20px; }
  .about-team__head > p:last-child { grid-column: 1; margin: 0; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 32px); }
  .cases-premium--front .cases-premium__grid { grid-template-columns: 1fr; }
  .shell-wide { width: calc(100vw - 20px); }
  .cases-premium--archive .cases-premium__grid,
  .about-team__grid { grid-template-columns: 1fr; }
  .cases-premium--front .case-canvas__media,
  .cases-premium--archive .case-canvas__media,
  .cases-premium--archive .case-canvas--2 .case-canvas__media,
  .cases-premium--archive .case-canvas--3 .case-canvas__media { aspect-ratio: 1 / 1; }
  .single-post .article-header h1,
  .article-main .article-header h1 { font-size: clamp(2.75rem, 12vw, 4.9rem); line-height: .92; }
  .about-story-hero__copy h1 { font-size: clamp(3rem, 13vw, 5.4rem); }
  .about-story-intro h2,
  .about-story-method__title h2,
  .about-story-base h2,
  .about-story-cta h2,
  .about-team__head h2 { font-size: clamp(2.8rem, 12.5vw, 5.2rem); }
}

/* =========================================================
   v1.4.1 — case title fit + mobile viewport safety
   Focused regression fix: no desktop layout redesign.
========================================================= */

/* Case archive: keep every title physically inside its square card. */
.cases-premium--archive .case-canvas__copy {
  inset: auto 0 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.cases-premium--archive .case-canvas__copy > div:first-child {
  width: 100%;
  min-width: 0;
}
.cases-premium--archive .case-canvas__copy h2,
.cases-premium--archive .case-canvas__copy h3 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.25rem, 1.55vw, 1.95rem);
  line-height: .94;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.cases-premium--archive .case-canvas__copy p {
  margin-bottom: 6px;
  font-size: .58rem;
}
.cases-premium--archive .case-canvas__meta { width: 100%; min-width: 0; }
.cases-premium--archive .case-canvas__meta > span { font-size: .68rem; }

/* Mobile: horizontal reveals are converted to vertical reveals so text
   never begins outside the viewport while entering the screen. */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  :root { --shell: calc(100vw - 32px); }

  main,
  .vertical-site,
  .work-section,
  .about-section,
  .products-showcase,
  .cases-premium,
  .insights-section,
  .mission-bridge,
  .contact-section,
  .people-learning-section {
    width: 100%;
    max-width: 100%;
  }

  .shell { width: calc(100vw - 32px); max-width: calc(100vw - 32px); }
  .shell-wide { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .shell-nested { width: 100%; max-width: 100%; margin-inline: 0; }

  .reveal-block.reveal-left,
  .reveal-block.reveal-right {
    transform: translate3d(0, 24px, 0);
  }
  .reveal-block.is-visible { transform: translate3d(0,0,0); }

  h1, h2, h3, h4,
  .statement-title,
  .section-head h2,
  .about-copy h2,
  .service-default-card h3,
  .products-showcase__head h2,
  .cases-premium__head h2,
  .mission-copy h2,
  .contact-grid h2,
  .people-learning-panel h2,
  .blog-hero h1,
  .article-header h1,
  .standard-page h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .statement-title { font-size: clamp(2.65rem, 10.6vw, 4.8rem); line-height: .92; letter-spacing: -.05em; }
  .section-head h2 { font-size: clamp(2.45rem, 10vw, 4.6rem); line-height: .92; letter-spacing: -.05em; }
  .about-copy h2 { font-size: clamp(2.45rem, 10.2vw, 4.7rem); line-height: .94; }
  .about-copy .rich-text { margin-top: 30px; }
  .service-default-card { padding: 30px 0; }
  .service-default-card h3 { font-size: clamp(1.85rem, 7.7vw, 3.1rem); line-height: .98; letter-spacing: -.035em; }
  .service-default-card p { margin-top: 18px; font-size: .94rem; line-height: 1.55; }

  .products-showcase__head h2 { font-size: clamp(2.45rem, 9.8vw, 4.5rem); line-height: .94; letter-spacing: -.045em; }
  .product-rail { padding-left: 16px; padding-right: 16px; }
  .product-rail-card { flex-basis: min(82vw, 390px); }
  .product-rail-copy h3 { font-size: clamp(1.75rem, 7.5vw, 3rem); line-height: .98; }

  .cases-premium__head h2 { font-size: clamp(2.45rem, 9.9vw, 4.6rem); line-height: .93; }
  .cases-premium--front .case-canvas__copy h3 { font-size: clamp(1.7rem, 7.4vw, 2.8rem); line-height: .94; }
  .cases-premium--archive .case-canvas__copy h2,
  .cases-premium--archive .case-canvas__copy h3 { font-size: clamp(1.55rem, 6.7vw, 2.45rem); }

  .people-learning-panel { padding: 34px 16px; }
  .people-learning-panel h2 { font-size: clamp(2.45rem, 10vw, 4.5rem); line-height: .91; }

  .insights-section .section-head h2 { font-size: clamp(2.45rem, 9.8vw, 4.4rem); }
  .insight-card h3 { font-size: clamp(1.8rem, 7.6vw, 2.8rem); }

  .mission-bridge { min-height: 82svh; }
  .mission-copy h2 { font-size: clamp(2.75rem, 10.8vw, 5rem); line-height: .91; letter-spacing: -.05em; }
  .mission-copy > p:last-child { font-size: 1rem; line-height: 1.55; }

  .contact-grid h2 { font-size: clamp(2.7rem, 10.5vw, 4.9rem); line-height: .91; letter-spacing: -.05em; }
  .contact-grid,
  .contact-form,
  .contact-form label,
  .contact-form input,
  .contact-form textarea { min-width: 0; max-width: 100%; }

  .blog-hero h1 { font-size: clamp(3.2rem, 14vw, 6rem); line-height: .84; letter-spacing: -.06em; }
  .single-post .article-header h1,
  .article-main .article-header h1,
  .article-header h1 { font-size: clamp(2.65rem, 10.8vw, 4.7rem); line-height: .92; letter-spacing: -.05em; }
  .standard-page h1 { font-size: clamp(2.8rem, 11.5vw, 5rem); line-height: .91; }

  .about-story-hero__copy h1 { font-size: clamp(2.7rem, 10.8vw, 5rem); line-height: .91; }
  .about-story-intro h2,
  .about-story-method__title h2,
  .about-story-base h2,
  .about-story-cta h2,
  .about-team__head h2 { font-size: clamp(2.5rem, 10.2vw, 4.7rem); line-height: .92; }

  .about-story-hero__grid,
  .about-story-intro__grid,
  .about-story-method__grid,
  .about-story-base__grid,
  .about-team__head,
  .about-team__grid { min-width: 0; }

  .footer-grid--rich,
  .footer-grid--rich > * { min-width: 0; max-width: 100%; }
}

@media (max-width: 430px) {
  :root { --shell: calc(100vw - 28px); }
  .shell { width: calc(100vw - 28px); max-width: calc(100vw - 28px); }
  .shell-wide { width: calc(100vw - 20px); max-width: calc(100vw - 20px); }

  .site-brand { width: 136px; }
  .statement-title,
  .section-head h2,
  .about-copy h2,
  .products-showcase__head h2,
  .cases-premium__head h2,
  .people-learning-panel h2,
  .mission-copy h2,
  .contact-grid h2 { letter-spacing: -.04em; }

  .service-default-card h3 { font-size: clamp(1.75rem, 7.4vw, 2.75rem); }
  .contact-grid h2 { font-size: clamp(2.45rem, 10.2vw, 4.2rem); }
  .mission-copy h2 { font-size: clamp(2.5rem, 10.4vw, 4.4rem); }
}

/* =========================================================
   v1.4.2 — mobile article flow, footer alignment & OG support
   Focused changes only; desktop visual language is preserved.
========================================================= */

/* The article grid is explicit so the DOM can follow the desired mobile
   reading order without changing the established desktop newsroom layout. */
@media (min-width: 1161px) {
  .article-layout--stats .article-stats-aside { grid-column: 1; grid-row: 1; }
  .article-layout--stats .article-content { grid-column: 2; grid-row: 1; }
  .article-layout--stats .article-related { grid-column: 3; grid-row: 1; }
  .article-layout--stats .article-footer--inside-layout {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (min-width: 861px) and (max-width: 1160px) {
  .article-layout--stats .article-stats-aside { grid-column: 1; grid-row: 1; }
  .article-layout--stats .article-content { grid-column: 2; grid-row: 1; }
  .article-layout--stats .article-related { grid-column: 2; grid-row: 2; }
  .article-layout--stats .article-footer--inside-layout {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.article-footer--inside-layout {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: none;

  margin-top: 9vh;
  padding-top: 5vh;
  padding-bottom: 5vh;

  background: var(--paper);

  isolation: isolate;
}

/* Engagement figures are centered on the compact/mobile statistic row. */

@media (max-width: 860px) {
  /* Mobile reading sequence:
     article -> FIM DO ARTIGO/vote -> statistics -> other news. */
  .article-layout--stats .article-content { order: 1; }
  .article-layout--stats .article-footer--inside-layout {
    order: 2;
    margin-top: 7vh;
    padding-top: 4vh;
  }
  .article-layout--stats .article-stats-aside {
    order: 3;
    margin-top: 7vh;
  }
  .article-layout--stats .article-related {
    order: 4;
    margin-top: 7vh;
  }
}

@media (max-width: 680px) {
  .article-stat-summary > div {
    justify-items: center;
    justify-content: center;
    align-content: center;
    padding-inline: 6px;
    text-align: center;
  }
  .article-stat-summary span,
  .article-stat-summary strong { width: 100%; text-align: center; }



  /* Footer mobile — tudo centralizado e em coluna */
.site-footer {
  text-align: center;
}

.site-footer .footer-grid--rich {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  justify-items: center;
}

.site-footer .footer-intro {
  grid-column: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer .footer-brand {
  margin-inline: auto;
}

.site-footer .footer-grid > div:first-child p {
  margin-inline: auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.site-footer .footer-mission-link {
  margin-inline: auto;
  font-size: .9rem;
}

.site-footer .footer-nav,
.site-footer .footer-nav:not(.footer-location),
.site-footer .footer-products,
.site-footer .footer-location {
  grid-column: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer .footer-nav > span {
  margin-bottom: 16px;
  font-size: .78rem;
  text-align: center;
}

.site-footer .footer-nav a,
.site-footer .footer-product-static {
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.site-footer .footer-location {
  margin-top: 6px;
}

.site-footer .footer-location address {
  margin-inline: auto;
  font-size: .95rem;
  line-height: 1.65;
  text-align: center;
}

.site-footer .footer-location strong,
.site-footer .footer-location a {
  text-align: center;
}

.site-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.site-footer .footer-bottom > span {
  width: 100%;
  font-size: .76rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer .footer-legal-links {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.site-footer .footer-legal-links a,
.site-footer .footer-legal-links button {
  font-size: .76rem;
}



}




@media (max-width: 390px) {
  .site-footer .footer-grid--rich {
    gap: 42px;
  }

  .site-footer .footer-nav a,
  .site-footer .footer-product-static {
    font-size: .95rem;
  }

  .site-footer .footer-nav > span {
    font-size: .74rem;
  }

  .site-footer .footer-location address {
    font-size: .9rem;
  }

  .site-footer .footer-bottom > span,
  .site-footer .footer-legal-links a,
  .site-footer .footer-legal-links button {
    font-size: .72rem;
  }
}

/* =========================================================
   v1.8 — compact Cases archive + optional Essence/Sobre background media
========================================================= */
.case-archive-hero--compact {
  display: block;
  margin-bottom: clamp(30px, 4vh, 58px);
}
.case-archive-hero--compact > .eyebrow {
  grid-column: auto;
  margin: 0;
}
.case-archive-main .cases-premium--archive { padding-top: 0; }

.about-section.has-essence-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.about-section.has-essence-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--essence-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: .30;
  filter: grayscale(.32) saturate(.72) contrast(1.03);
  transform: scale(1.012);
  pointer-events: none;
}
.about-section.has-essence-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,8,8,.90) 0%, rgba(8,8,8,.73) 52%, rgba(8,8,8,.84) 100%);
  pointer-events: none;
}
.about-section.has-essence-image > .shell { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .case-archive-hero--compact { margin-bottom: 24px; }
  .about-section.has-essence-image::after { background: rgba(8,8,8,.80); }
}


/* BloteK portal brand is deliberately non-interactive. */
.site-header--blotek .site-brand--static { cursor: default; }


/* =========================================================
   v1.9.1 — production mobile polish, stable menu, contact success
   and unobtrusive scroll-to-top control.
   These are terminal overrides to preserve validated desktop layouts.
========================================================= */

/* Small professional return-to-top control. Hidden until JS detects real scroll. */
.kub-scroll-top {
  position: fixed;
  right: clamp(16px, 2.3vw, 30px);
  bottom: clamp(18px, 2.3vw, 30px);
  z-index: 940;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(13,13,13,.94);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .28s var(--ease), visibility .28s var(--ease), transform .28s var(--ease), background .28s var(--ease);
}
.kub-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.kub-scroll-top:hover,
.kub-scroll-top:focus-visible {
  background: var(--orange);
  color: #0d0d0d;
  outline: none;
}

/* Contact form disappears after success and is replaced in the same grid cell. */
.contact-success-panel {
  align-self: end;
  position: relative;
  min-width: 0;
  padding: clamp(28px, 4vw, 52px) 0;
  border-top: 2px solid rgba(255,255,255,.92);
  border-bottom: 2px solid rgba(255,255,255,.92);
  color: #fff;
}
.contact-success-panel__eyebrow {
  display: block;
  margin-bottom: 22px;
  color: rgba(255,255,255,.65);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.contact-success-panel strong {
  display: block;
  max-width: 620px;
  padding-right: 68px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 760;
  line-height: .92;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.contact-success-panel p {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
  line-height: 1.6;
}
.contact-success-panel__mark {
  position: absolute;
  top: clamp(30px, 4vw, 52px);
  right: 0;
  width: 46px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  font-size: 1rem;
}

/* Tablet/mobile navigation: compact enough to be read as one complete view. */
@media (max-width: 1100px) {
  .mobile-menu-inner {
    padding-top: clamp(30px, 5vh, 54px);
    padding-bottom: 32px;
  }
  .mobile-menu a {
    padding: 14px 0;
    font-size: clamp(1.55rem, 4.5vw, 2.5rem);
    line-height: .96;
  }
  .mobile-menu a:last-child > span {
    display: none;
  }

  /*
   * A backdrop-filter on a scrolled fixed header can establish a containing
   * block for the menu in WebKit/iOS. While the menu is open, make the header
   * itself the full opaque viewport and remove that filter.
   */
  body.menu-open .site-header {
    height: 100svh;
    overflow: hidden;
    background: #080808 !important;
    color: #fff !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.menu-open .site-header .header-inner {
    position: relative;
    z-index: 3;
    background: #080808;
  }
  body.menu-open .site-scroll-progress {
    display: none;
  }
  body.menu-open .mobile-menu {
    position: absolute;
    inset: var(--header-h) 0 0;
    z-index: 2;
    height: calc(100svh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #080808 !important;
    color: #fff;
    -webkit-overflow-scrolling: touch;
  }
}

/* Phone viewport: keep the immersive slide and its controls inside the screen. */
@media (max-width: 760px) {
  .mobile-menu-inner {
    padding-top: clamp(24px, 4.5vh, 42px);
  }
  .mobile-menu a {
    padding: 12px 0;
    font-size: clamp(1.5rem, 6.4vw, 2.05rem);
    letter-spacing: -.035em;
  }

  .experience-grid,
  .experience-copy,
  .experience-slides,
  .experience-slide,
  .experience-controls {
    min-width: 0;
    max-width: 100%;
  }
  .experience-grid {
    width: calc(100vw - 32px);
    padding-top: calc(var(--header-h) + 5vh);
    padding-bottom: 4vh;
  }
  .experience-copy {
    width: 100%;
  }
  .experience-slide h1,
  .experience-slide h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.55rem, 11.3vw, 4.75rem);
    line-height: .9;
    letter-spacing: -.06em;
    text-wrap: balance;
  }
  .experience-slide p:not(.eyebrow) {
    width: min(100%, 560px);
    font-size: .94rem;
  }
  .experience-controls {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 16px;
  }
  .slide-dots {
    min-width: 0;
  }
  .explore-trigger {
    width: 90px;
    min-width: 0;
    justify-self: end;
    font-size: .62rem;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .contact-success-panel strong {
    padding-right: 58px;
    font-size: clamp(2rem, 9.4vw, 3.8rem);
  }
  .contact-success-panel p {
    font-size: .95rem;
  }
  .kub-scroll-top {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 18px;
  }
}

@media (max-width: 430px) {
  .experience-grid {
    width: calc(100vw - 28px);
  }
  .experience-slide h1,
  .experience-slide h2 {
    font-size: clamp(2.45rem, 11vw, 3.65rem);
    line-height: .91;
  }
  .experience-copy > .eyebrow {
    font-size: .66rem;
    letter-spacing: .13em;
  }
  .experience-controls {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 13px;
  }
  .explore-trigger {
    width: 84px;
    font-size: .59rem;
  }
  .mobile-menu a {
    font-size: clamp(1.45rem, 6.15vw, 1.92rem);
  }
}
