/* Conexão · Final visual layer. Keep brand, portal and native scrolling intact. */
:root {
  --red: #c8102e;
  --red-dark: #9e0b22;
  --ink: #202326;
  --muted: #625e58;
  --dark: #151b22;
  --paper: #f5f1ea;
  --line: #ded8ce;
  --gold-warm: #d8c1a1;
  --radius: 10px;
}
body {line-height: 1.6;}
::selection {background: #c8102e; color: white;}
h1, h2, h3 {text-wrap: balance;}
p {text-wrap: pretty;}
a, button {touch-action: manipulation;}
:focus-visible {outline: 3px solid #be792f; outline-offset: 5px;}
.eyebrow {font-size: 12px; letter-spacing: .12em;}
.btn, .hero-actions .btn {
  min-height: 52px; padding: 12px 22px; font-size: 13px;
  letter-spacing: .01em; text-transform: none; border-radius: 7px;
}
.text-link {font-size: 13px; letter-spacing: .01em; text-transform: none; min-height: 44px;}
.site-header.dark-header {background: #151b22f5; border-color: #ffffff17;}
.header-inner {gap: 24px;}
.brand-logo-img {height: 52px; filter: none;}
.nav {gap: clamp(18px, 1.8vw, 28px);}
.nav a {font-size: 12px; font-weight: 500; letter-spacing: .01em; text-transform: none; color: #e1e1de;}
.nav a:hover, .nav a[aria-current="location"] {color: #fff;}
.nav a[aria-current="location"]::after {transform: scaleX(1);}
.header-cta {margin-left: 8px;}
.glyph-front {top: 7%;}
.glyph-front p {max-width: 36ch; text-align: right; color: var(--muted); font-size: 14px;}
.glyph-caption {font-size: 15px; bottom: 13%;}
.glyph-caption > span {max-width: 38ch; line-height: 1.6;}
.glyph-caption a {border-bottom: 1px solid #c8102e55; gap: 24px;}
.portal-active .entry-flow {height: calc((100svh - var(--header)) * 1.65);}
body[data-collection="v6"][data-design="10"] .v6-hero {background: var(--dark);}
body[data-collection="v6"] .v6-hero-tile {border-radius: 8px;}
.hero-editorial-kicker {color: #d8c1a1; font-size: 13px; letter-spacing: .08em; margin-bottom: 22px;}
.hero.dark h1 {font-size: clamp(40px, 4vw, 62px); line-height: 1.08; letter-spacing: -.04em;}
.hero.dark h1 em {font-size: 1.06em;}
.hero.dark .hero-copy > p {max-width: 42ch; font-size: 17px; line-height: 1.65; color: #d8dce0;}
.hero-actions {margin-top: 28px; gap: 12px;}
.hero.dark .hero-points {font-size: 12px; gap: 12px 20px; margin-top: 28px; padding-top: 20px; border-color: #ffffff26;}
.hero-aside {display: none;}
.hero .scroll-cue {font-size: 11px; text-transform: none; letter-spacing: .02em;}
.problem-matrix-header {align-items: end; margin-bottom: 48px;}
.problem-matrix-header h2 {font-size: clamp(38px, 4vw, 60px);}
.problem-matrix-header .eyebrow {margin-bottom: 18px;}
.problem-matrix-header > p {line-height: 1.7;}
.problem-details {border-top: 2px solid var(--red); padding-top: 28px;}
.problem-answer.is-solution {padding: 18px 20px; background: #ece7de; border-radius: 8px;}
.problem-answer h4 {font-size: 12px; letter-spacing: .04em;}
.problem-detail .text-link {font-size: 14px;}
.problem-gallery-note {font-size: 12px;}
/* Shorter chapters, with direct navigation always available. No scroll trapping. */
@media (min-width: 701px) {
  .js:not(.reduced) .cinema-range {height: 330vh;}
  .cinema-bottom {bottom: 34px;}
  .scene-copy {bottom: 112px !important;}
}
.cinema-pin {background: var(--dark);}
.cinema-title .eyebrow, .cinema-title a {font-size: 12px;}
.cinema-title a {min-height: 36px; display: inline-flex; align-items: center;}
.cinema-bottom button {font-size: 12px; min-height: 48px;}
.scene-number {font-size: 12px; letter-spacing: .1em;}
.scene-copy h3 {font-size: clamp(38px, 3.8vw, 58px);}
.scene-ps-card {padding: 16px; border-radius: 8px;}
.scene-ps-card.is-pain {background: #151b22d9; border-color: #ffffff26;}
.scene-ps-card.is-answer {background: #f5f1eaf2; border-color: #f5f1ea88; backdrop-filter: blur(12px);}
.scene-ps-card.is-pain .scene-ps-tag {color: #edc3ca;}
.scene-ps-card.is-answer .scene-ps-tag {color: var(--red-dark);}
.scene-ps-tag {font-size: 11px; letter-spacing: .04em;}
.scene-ps-card p {font-size: 14px !important; line-height: 1.55 !important;}
.scene-ps-card.is-answer p {color: #272b30 !important;}
.scene-copy .text-link {font-size: 13px;}
.section.services {padding: clamp(64px, 7vw, 112px) 0;}
.section-heading h2 {font-size: clamp(36px, 3.8vw, 56px);}
.services.compact .service-grid {gap: 24px;}
.services .service-card:last-child {grid-column: auto;}
body[data-collection="v6"] .service-card {border-radius: var(--radius); border-color: #ded8ce; box-shadow: none;}
body[data-collection="v6"] .service-card .service-info {padding: 26px;}
body[data-collection="v6"] .service-card .service-info h3 {font-size: 23px; letter-spacing: -.025em;}
.service-ps-stack {gap: 12px;}
.service-ps-row {font-size: 15px; line-height: 1.6;}
.service-ps-row strong {font-size: 11px; line-height: 1.5; letter-spacing: .02em; text-transform: none;}
.service-ps-row.is-fix strong {background: #eee8df; color: #514435;}
.service-arrow {font-size: 13px; letter-spacing: 0; text-transform: none; margin-top: auto; padding-top: 24px;}
body[data-collection="v6"] .service-card:hover,
body[data-collection="v6"] .service-card:focus-visible {
  background: linear-gradient(150deg, #293039, #151b22) !important;
  border-color: #6b6158 !important; box-shadow: 0 16px 32px -22px #151b2266 !important;
}
body[data-collection="v6"] .service-card:hover .service-info > .icon,
body[data-collection="v6"] .service-card:focus-visible .service-info > .icon {color: #d8c1a1 !important;}
body[data-collection="v6"] .service-card:hover .service-ps-row.is-fix strong,
body[data-collection="v6"] .service-card:focus-visible .service-ps-row.is-fix strong {color: #efe0ca; background: #d8c1a122;}
body[data-collection="v6"] .service-card .service-photo::after {
  background: radial-gradient(240px circle at var(--v6-glint-x, 50%) var(--v6-glint-y, 50%), #ffffff4d, #d8c1a112 40%, transparent 70%) !important;
}
body[data-collection="v6"] .service-card:hover .service-photo::after {opacity: .55 !important;}
.method.dark-method, .trust-motion, .trust-motion .motion-proof {background: var(--dark);}
.method {padding: clamp(64px, 7vw, 104px) 0;}
.dark-method .eyebrow {color: var(--gold-warm);}
.step h3 {font-size: 16px; letter-spacing: -.01em; text-transform: none;}
.step p {font-size: 15px; line-height: 1.6;}
.dark-method .step p, .dark-method .method-intro p {color: #c9cdd1;}
.segments-row > span {font-size: 12px; letter-spacing: .03em; text-transform: none;}
@media (min-width: 901px) {
  .portfolio-stacked {background: #20272f;}
  .js:not(.reduced) .portfolio-stacked {height: 260vh; min-height: 1700px;}
}
.portfolio-direction, .portfolio-skip, .demo-caption {font-size: 12px;}
.portfolio-stacked .demo-caption {color: #bec5cb; line-height: 1.6;}
.portfolio-dots button {min-width: 44px; min-height: 44px;}
.trust-curtain {min-height: 58svh; padding: 80px 0; border-radius: 0; box-shadow: none;}
.trust-curtain h2 {font-size: clamp(40px, 5vw, 72px);}
.trust-motion .motion-proof {min-height: 68svh; padding: 88px 0 48px;}
.motion-proof .review-card {background: #222b35; box-shadow: none; border-color: #ffffff20;}
.motion-proof .review-subline, .motion-proof .review-note,
.motion-proof .rating-caption, .motion-proof .review-tags {font-size: 12px; line-height: 1.6;}
.contact {background: #ece6dc; padding: 72px 0;}
.contact-channel small {font-size: 12px; text-transform: none; letter-spacing: .01em;}
.contact-channel strong {font-size: 20px;}
.location-note, .map-cover-copy p, .map-bottom {font-size: 12px; line-height: 1.6;}
body[data-collection="v6"][data-footer-effect="suite"] .footer.footer-v4 {background: var(--dark); padding-top: 64px;}
.footer-bottom p {font-size: 11px; line-height: 1.7;}
.review-dock {box-shadow: 0 4px 20px #151b2214; border-color: #ded8ce;}
.review-dock a, .review-dock button {min-height: 38px;}
.proposal-wrap > p, .form-note, .dialog-problem-box p {font-size: 14px !important;}
.field label {font-size: 13px;}
.field input, .field select {font-size: 16px; min-height: 50px;}
.dialog-close, .media-close {min-width: 44px; min-height: 44px;}
@media (max-width: 1180px) {
  .header-inner {gap: 18px;}
  .header-cta {margin-left: auto;}
  .nav {position: absolute; top: var(--header); left: 0; right: 0; display: none; margin: 0; padding: 20px var(--gutter); flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); border-bottom: 1px solid #ffffff26; box-shadow: 0 16px 24px #0002; max-height: calc(100svh - var(--header)); overflow-y: auto;}
  .nav.open {display: flex;}
  .nav a {width: 100%; min-height: 48px; padding: 12px 0; font-size: 16px;}
  .menu-button {display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin-left: 0;}
}
@media (max-width: 1000px) {
  .hero.dark h1 {font-size: clamp(40px, 6vw, 62px); max-width: 18ch;}
  body[data-collection="v6"] .entry-pin .v6-hero .hero-copy {padding-top: 54px; padding-bottom: 38px;}
  .hero.dark .hero-copy > p {max-width: 52ch;}
}
@media (max-width: 700px) {
  :root {--gutter: 22px;}
  .brand-logo-img {height: 46px;}
  .menu-button {margin-left: auto;}
  .glyph-front {left: var(--gutter); right: var(--gutter);}
  .glyph-front p {font-size: 12px; max-width: 27ch;}
  .glyph-caption {left: var(--gutter); right: var(--gutter); bottom: 16%; gap: 16px;}
  .glyph-caption > span {font-size: 14px; max-width: 27ch;}
  .hero.dark h1 {font-size: clamp(39px, 10vw, 58px);}
  .hero-editorial-kicker {font-size: 12px; max-width: 30ch;}
  .hero.dark .hero-copy > p {font-size: 16px;}
  .hero-actions .btn {min-height: 52px; flex: 1 1 auto; font-size: 14px;}
  .hero.dark .hero-points {font-size: 12px; gap: 12px;}
  body[data-collection="v6"] .entry-pin .v6-hero .v6-hero-media {height: 320px;}
  .problem-matrix-header h2 {font-size: 40px;}
  .problem-answer.is-solution {padding: 16px;}
  .cinema-title {padding-top: 32px; padding-bottom: 20px;}
  .cinema-scene {height: auto; min-height: 610px; display: flex; align-items: end; padding: 160px var(--gutter) 40px;}
  .cinema-scene > img {position: absolute; inset: 0; height: 100%;}
  .cinema-scene .scene-copy {position: relative; inset: auto !important; width: 100%; max-width: none !important;}
  .scene-copy h3 {font-size: 40px;}
  .scene-copy .text-link {font-size: 14px;}
  .scene-ps-card p {font-size: 14px !important;}
  .section-heading .text-link {font-size: 14px;}
  .section.services {padding: 64px 0;}
  body[data-collection="v6"] .service-card .service-info {padding: 24px;}
  .services .service-card:last-child {display: flex;}
  .trust-curtain {min-height: 0; padding: 68px 0;}
  .trust-curtain h2 {font-size: 42px; margin: 18px 0 26px;}
  .trust-motion .motion-proof {padding-top: 64px; min-height: 0;}
  .contact {padding: 56px 0;}
  .contact-channel strong {font-size: 19px;}
  .contact-channels {gap: 28px;}
  .footer-bottom p {font-size: 11px;}
}
@media (min-width: 701px) and (max-height: 740px) {
  .scene-copy {bottom: 94px !important;}
  .scene-copy h3 {font-size: 40px;}
  .scene-number {margin-bottom: 14px;}
  .scene-problem-solution {margin-top: 16px;}
  .scene-ps-card {padding: 12px 14px;}
  .cinema-title {top: 20px;}
  .cinema-bottom {bottom: 20px;}
}
@media (prefers-reduced-motion: reduce) {
  .glyph-field canvas {animation: none;}
  *, *::before, *::after {scroll-behavior: auto !important;}
}
/* QA: keep photo captions clear and the small-screen dialog close control separate. */
.entry-pin .scroll-cue {display: none;}
@media (max-width: 700px) {
  .proposal-wrap {padding-top: 72px;}
}
@media (min-width: 701px) {
  .cinema-bottom {bottom: 82px;}
  .scene-copy {bottom: 166px !important;}
}
@media (min-width: 701px) and (max-height: 740px) {
  .cinema-bottom {bottom: 62px;}
  .scene-copy {bottom: 142px !important;}
}

/* Keep proof readable and deep links predictable; the hero remains the signature reveal. */
.portal-active .trust-motion .motion-proof {position: relative; bottom: auto;}
@media (min-width: 901px) {
  .portfolio-stacked .portfolio-direction {display: none;}
  .portfolio-stacked .eyebrow {color: var(--gold-warm);}
}

/* Opening: a cinematic arrival, retaining the original animated letter portal. */
.glyph-portal {background: var(--dark); color: var(--paper);}
.glyph-front {top: 9%; left: 6%; right: auto; display: block; max-width: 680px;}
.portal-eyebrow {display: flex; align-items: center; gap: 12px; color: #f2dfc6; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;}
.portal-eyebrow > span {display: block; width: 28px; height: 2px; background: #e52c47;}
.glyph-front .portal-statement {margin: 24px 0 0; color: #fff8ef; font-size: clamp(28px, 2.8vw, 48px); line-height: 1.12; letter-spacing: -.035em; text-align: left;}
.portal-statement em {color: #e7caa6; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -.02em;}
.portal-side-note {position: absolute; right: 6%; top: 10%; display: grid; gap: 8px; text-align: right; color: #f6eee3; opacity: var(--portal-caption, 1);}
.portal-side-note span:first-child {font-size: 10px; letter-spacing: .2em; font-weight: 700;}
.portal-side-note span:last-child {font-size: 13px;}
.glyph-caption {left: 6%; right: 6%; bottom: 13%; align-items: end; color: #f7f0e7;}
.glyph-caption:focus-within {background: transparent;}
.portal-intro p {font-size: clamp(17px, 1.35vw, 23px); line-height: 1.5; margin: 0 0 22px; letter-spacing: -.02em;}
.portal-intro ul {list-style: none; padding: 0; margin: 0; display: flex; gap: 0; color: #d7cec3; font-size: 11px; letter-spacing: .09em; text-transform: uppercase;}
.portal-intro li + li {margin-left: 20px; padding-left: 20px; border-left: 1px solid #ffffff40;}
.glyph-caption a {background: #f4eee4; color: #1b242b; padding: 12px 12px 12px 24px; border: 1px solid #fff4; border-radius: 60px; gap: 32px; box-shadow: 0 8px 30px #0003; transition: background .2s, transform .2s;}
.glyph-caption a:hover {background: #fff; transform: translateY(-3px);}
.glyph-caption a .portal-link-label {font-size: 15px; display: block; font-weight: 700;}
.portal-link-label small {display: block; margin-top: 4px; font-size: 11px; color: #5d6266; font-weight: 400;}
.glyph-caption a .portal-link-arrow {width: 50px; height: 50px; display: grid; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-size: 28px; font-weight: 400;}
.glyph-image-note {position: absolute; bottom: 30px; right: 6%; color: #cbc5bd; font-size: 10px; letter-spacing: .04em; opacity: var(--portal-caption, 1);}
@media (max-width: 1000px) {
  .glyph-front {left: 7%; top: 8%;}
  .portal-side-note {display: none;}
  .glyph-front .portal-statement {font-size: clamp(32px, 4.8vw, 44px);}
  .glyph-caption {left: 7%; right: 7%; bottom: 13%;}
}
@media (max-width: 700px) {
  .glyph-pin {height: calc(100svh - var(--header)); min-height: 640px; max-height: 850px;}
  .glyph-front {left: 24px; right: 24px; top: 7%; max-width: none;}
  .portal-eyebrow {font-size: 9px; letter-spacing: .12em; gap: 9px;}
  .portal-eyebrow > span {width: 18px;}
  .glyph-front .portal-statement {font-size: clamp(29px, 8vw, 38px); margin-top: 18px; max-width: none;}
  .glyph-caption {left: 24px; right: 24px; bottom: 12%; gap: 23px; align-items: stretch;}
  .portal-intro p {font-size: 16px; line-height: 1.5; margin-bottom: 15px;}
  .portal-intro ul {font-size: 9px; letter-spacing: .07em;}
  .portal-intro li + li {margin-left: 13px; padding-left: 13px;}
  .glyph-caption a {align-self: flex-start; padding: 10px 10px 10px 20px; gap: 24px;}
  .glyph-caption a .portal-link-label {font-size: 14px;}
  .glyph-caption a .portal-link-arrow {width: 44px; height: 44px; font-size: 25px;}
  .glyph-image-note {right: 24px; bottom: 29px; font-size: 9px;}
}
@media (min-width: 701px) and (max-height: 740px) {
  .glyph-front {top: 6%;}
  .glyph-front .portal-statement {font-size: 30px; margin-top: 14px;}
  .glyph-caption {bottom: 13%;}
  .portal-intro p {font-size: 17px; margin-bottom: 14px;}
}
@media (prefers-reduced-motion: reduce) {
  .portal-side-note, .glyph-image-note {opacity: 1;}
  .glyph-caption a {transition: none;}
}

@media (max-width: 700px) {
  .portal-scene-cover {fill: url(#portal-scene-mobile);}
}
/* Keep the prototype controls usable instead of collapsing to a clipped link. */
@media (max-width: 700px) {
  .glyph-caption {bottom: 17%;}
  .glyph-image-note {bottom: 76px;}
  body[data-collection="v6"].v6-dock-condensed .review-dock {left: 10px; right: auto; width: auto; overflow: visible;}
  body[data-collection="v6"].v6-dock-condensed .review-dock > :not(:first-child) {display: flex;}
  body[data-collection="v6"].v6-dock-condensed .review-dock > a:first-child {width: auto; height: auto; padding: 8px 6px;}
}
