/* VALUE — refinement layer 2026
   Preserves the original site architecture while elevating brand, typography,
   proof, spacing and media presentation. */

:root {
  --ink: #06111f;
  --ink-2: #091827;
  --ink-3: #0d2132;
  --ivory: #f3f7f6;
  --ivory-2: #e4ecea;
  --line: rgba(239, 246, 247, 0.12);
  --line-strong: rgba(239, 246, 247, 0.22);
}

html { scroll-padding-top: 90px; }

body {
  background: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.012em;
}

h1, h2, h3, h4, h5, h6,
.nav-logo-text,
.metric-item strong,
.proof-number {
  font-family: var(--font-display);
}

p { text-wrap: pretty; }

.skip-link {
  position: fixed;
  z-index: 110;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ivory);
  color: var(--ink);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 4px;
}

.container { max-width: 1280px; }

.section { padding: clamp(88px, 10vw, 150px) 0; }

.eyebrow {
  margin-bottom: 14px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  color: var(--blue-light);
}

.section-title {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-subtitle {
  max-width: 62ch;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.75;
  font-weight: 400;
}

/* Navigation and official identity */
.navbar { padding: 18px 0; }

.navbar.scrolled {
  background: rgba(6, 17, 31, 0.9);
  border-color: var(--line);
  box-shadow: 0 14px 50px rgba(1, 8, 16, 0.22);
}

.nav-logo {
  position: relative;
  width: 76px;
  min-width: 76px;
  height: 56px;
  overflow: hidden;
  flex: 0 0 auto;
}

.nav-logo .brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  max-width: none;
  object-fit: contain;
  filter: none;
  transform: translate(-50%, -50%);
}

.nav-logo:has(.brand-logo) > svg,
.nav-logo:has(.brand-logo) > .nav-logo-text { display: none; }

.footer .nav-logo {
  width: 124px;
  height: 100px;
}

.footer .nav-logo .brand-logo {
  width: 360px;
  height: 360px;
}

.nav-links { gap: 29px; }

.nav-links a {
  font-family: var(--font);
  font-size: 0.77rem;
  font-weight: 500;
  color: rgba(246, 242, 234, 0.62);
}

.nav-links a::after { background: var(--brand-accent); }

.btn {
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
}

.btn-sm { min-height: 39px; padding: 9px 17px; }

.btn-primary {
  background: var(--ivory);
  color: var(--ink);
  box-shadow: none;
}

.btn-primary:hover { background: #fff; }

.btn-blue {
  background: var(--brand-accent);
  color: #fff;
  box-shadow: 0 13px 35px rgba(32, 169, 155, 0.16);
}

.btn-blue:hover {
  background: #27b9aa;
  box-shadow: 0 18px 44px rgba(32, 169, 155, 0.24);
}

.btn-outline { border-color: var(--line-strong); }

.btn:active { transform: translateY(1px) scale(0.985); }

/* Refined existing hero */
.hero-premium {
  min-height: 780px;
  isolation: isolate;
}

.hero-premium .hero-bg img {
  object-position: 56% 42%;
  filter: brightness(0.54) contrast(1.06) saturate(0.78);
}

.hero-premium .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(4, 12, 23, 0.97) 0%, rgba(4, 12, 23, 0.9) 34%, rgba(4, 12, 23, 0.35) 67%, rgba(4, 12, 23, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 12, 23, 0.42) 0%, transparent 35%, rgba(4, 12, 23, 0.86) 100%);
}

.hero-premium .hero-layout {
  align-items: center;
  min-height: 100dvh;
  padding-top: 112px;
  padding-bottom: 70px;
}

.hero-premium .hero-content { max-width: 690px; }

.hero-premium h1,
.hero-premium .hero-desc,
.hero-premium .hero-actions { animation: none; }

.hero-premium h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-premium .hero-desc {
  max-width: 60ch;
  margin-bottom: 30px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.72;
  color: rgba(246, 242, 234, 0.73);
}

.hero-ledger {
  align-self: end;
  margin-bottom: 8px;
  border-top: 1px solid var(--line-strong);
}

.hero-ledger .hero-panel-head { display: none; }
.hero-ledger .hero-panel-body { display: block; }
.hero-ledger .metric-stack { gap: 0; margin: 0; }
.hero-ledger .metric-item {
  grid-template-columns: minmax(92px, 0.34fr) 1fr;
  gap: 22px;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}
.hero-ledger .metric-item strong {
  align-self: start;
  font-size: clamp(1.1rem, 2vw, 1.85rem);
  font-weight: 600;
}
.hero-ledger .metric-item span { align-self: start; font-size: 0.82rem; }
.hero-ledger .hero-note { padding: 20px 2px 0; border-top: 0; }

.hero-proof {
  display: grid;
  grid-template-columns: minmax(90px, 0.32fr) 1fr;
  gap: 22px;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}

.hero-proof strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}

.hero-proof span {
  max-width: 34ch;
  color: rgba(246, 242, 234, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-proof--services strong { font-size: 0.86rem; letter-spacing: 0; }

/* Client update 2026-07-16: portrait-led hero and expanded proof framework. */
.hero-premium--portrait .hero-bg {
  background: #040c17;
}

.hero-premium--portrait .hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-premium--portrait .hero-bg img {
  width: auto;
  max-width: none;
  height: 100%;
  margin-left: auto;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.72) contrast(1.04) saturate(0.94);
}

.hero-premium--portrait .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(4,12,23,0.99) 0%, rgba(4,12,23,0.91) 37%, rgba(4,12,23,0.42) 66%, rgba(4,12,23,0.24) 100%),
    linear-gradient(180deg, rgba(4,12,23,0.24) 0%, transparent 46%, rgba(4,12,23,0.88) 100%);
}

.value-framework {
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-framework-head {
  display: grid;
  gap: clamp(38px, 7vw, 96px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--line-strong);
}

.value-framework-head .section-title {
  max-width: 15ch;
  margin-bottom: 0;
}

.value-framework-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-framework-metric {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 174px;
  padding: 24px clamp(20px, 3vw, 34px);
}

.value-framework-metric + .value-framework-metric {
  border-left: 1px solid var(--line);
}

.value-framework-metric strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.value-framework-metric span {
  max-width: 25ch;
  color: rgba(245,250,249,0.64);
  font-size: 0.8rem;
  line-height: 1.58;
}

.value-framework-blocks {
  counter-reset: framework-item;
}

.value-framework-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 58px);
  padding: clamp(34px, 5vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.value-framework-item:last-child {
  border-bottom: 0;
}

.value-framework-item > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.value-framework-index {
  display: block;
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.value-framework-item h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.value-framework-item p {
  max-width: 68ch;
  color: rgba(245,250,249,0.72);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.78;
}

.value-framework-item .value-framework-lead {
  max-width: 34ch;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.about-photo--portrait {
  aspect-ratio: 4 / 5;
  max-height: 780px;
  background: var(--ink-3);
}

.about-photo--portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-photo.about-photo--portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: brightness(0.9) contrast(1.04) saturate(0.92);
}

/* Editorial service index; same four services, stronger hierarchy */
.services-editorial {
  background:
    radial-gradient(circle at 12% 20%, rgba(32,169,155,0.08), transparent 28%),
    var(--ink-2);
}

.services-intro {
  display: grid;
  gap: 26px;
  margin-bottom: clamp(50px, 7vw, 90px);
}

.services-intro .section-subtitle { align-self: end; }

.service-grid { gap: 1px; background: var(--line); }

.service-grid .service-card,
.service-grid .service-card:not(.service-card-large) {
  min-height: 100%;
  padding: clamp(26px, 3.8vw, 50px);
  border: 0;
  border-radius: 0;
  background: var(--ink-2);
  box-shadow: 0 18px 40px -24px rgba(10, 27, 61, 0.55);
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
}

.service-grid .service-card:hover {
  background: var(--ink-3);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -22px rgba(10, 27, 61, 0.62), 0 0 0 1px color-mix(in srgb, var(--brand-accent) 45%, transparent);
}

.service-card::before {
  content: attr(data-index);
  display: block;
  margin-bottom: 20px;
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.service-card h3 {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.05;
}

.service-card p { max-width: 55ch; }

.service-points { gap: 12px; margin-top: 28px; }

.service-points li {
  padding: 12px 0 12px 20px;
  border-top: 1px solid var(--line);
  color: rgba(245,250,249,0.72);
  font-size: 0.86rem;
  line-height: 1.5;
}

.service-points li::before {
  top: 19px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--brand-teal);
}

/* Official client proof */
.client-proof-section {
  overflow: hidden;
  background: var(--ivory);
  color: var(--ink);
}

.client-proof-section .eyebrow { color: #4d6877; }
.client-proof-section .section-title { color: var(--ink); }
.client-proof-section .section-subtitle { color: #53616b; }

.client-proof-head {
  display: grid;
  gap: 28px;
  margin-bottom: 52px;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(6,17,31,0.1);
  background: rgba(6,17,31,0.1);
}

.client-logo-cell {
  display: grid;
  min-height: 132px;
  place-items: center;
  padding: 24px;
  background: #f7faf9;
  transition: background 220ms ease;
}

.client-logo-cell:hover { background: #fff; }

.client-logo-cell img {
  width: auto;
  max-width: 150px;
  max-height: 68px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(0.92);
  transition: filter 220ms ease, transform 220ms ease;
}

.client-logo-cell:hover img {
  filter: grayscale(0);
  transform: scale(1.025);
}

/* Real video testimonials */
.testimonial-section {
  background:
    linear-gradient(180deg, rgba(32,169,155,0.04), transparent 28%),
    var(--ink);
}

.testimonial-head {
  display: grid;
  gap: 28px;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 18px;
}

.testimonial-card {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.testimonial-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 17px;
  background: #020810;
}

.testimonial-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2,8,16,0.72));
  pointer-events: none;
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 300ms ease;
}

.testimonial-card:hover .testimonial-media img {
  transform: scale(1.035);
  filter: brightness(1.07);
}

.testimonial-play {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 17px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  background: rgba(6,17,31,0.7);
  color: white;
  backdrop-filter: blur(10px);
}

.testimonial-duration {
  position: absolute;
  z-index: 2;
  left: 17px;
  bottom: 20px;
  color: rgba(255,255,255,0.82);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.testimonial-headline {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.testimonial-headline::before {
  content: '';
  position: absolute;
  top: 0.15em;
  bottom: 0.15em;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--brand-accent);
}

.testimonial-name {
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-left: 16px;
}

.video-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1, 7, 14, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  backdrop-filter: blur(16px);
}

.video-modal.open { opacity: 1; pointer-events: auto; }

.video-modal-dialog {
  position: relative;
  width: min(960px, 92vw);
  max-height: 88dvh;
}

.video-modal video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 84dvh;
  object-fit: contain;
  background: #000;
  box-shadow: 0 34px 100px rgba(0,0,0,0.45);
}

.video-modal-close {
  position: absolute;
  z-index: 3;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--ink-2);
  color: #fff;
}

body.modal-open { overflow: hidden; }

/* Blog/content hub */
.content-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 0;
}

.content-tab {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--text-2);
  font: 600 0.74rem var(--font);
}

.content-tab.active,
.content-tab:hover { border-color: var(--brand-teal); color: #fff; }

.content-panel[hidden] { display: none; }

.content-empty {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-empty h3 {
  max-width: 22ch;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.content-empty p { max-width: 58ch; color: var(--text-2); }

/* Page heroes and story layouts */
.page-hero {
  overflow: hidden;
  padding: 176px 0 108px;
  background: var(--ink-2);
}

.page-hero::after {
  background:
    radial-gradient(circle at 75% 20%, rgba(32,169,155,0.11), transparent 34%);
}

.page-hero .section-title { max-width: 17ch; }

.story-grid,
.founder-grid,
.contact-layout {
  display: grid;
  gap: clamp(34px, 7vw, 90px);
}

.story-quote {
  padding: 32px 0 0;
  border-top: 1px solid var(--line-strong);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.founder-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.founder-media img { width: 100%; height: 100%; object-fit: cover; }

.founder-copy-only {
  display: block !important;
  max-width: 880px;
}

.founder-copy-only .section-title { max-width: 14ch; }

.founder-section {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .founder-section {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
  }
}

.founder-mark {
  /* Square card, not a circle — same deep navy as the VALUE presentation
     background (--bg-deep), so the mark reads exactly as it does there:
     flattened white on that specific blue, no other treatment. */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 20px;
  background: var(--bg-deep);
  box-shadow: 0 24px 60px -20px rgba(10, 27, 61, 0.35);
}

.founder-mark img {
  width: 42%;
  height: auto;
  filter: brightness(0) invert(1);
}

@media (min-width: 860px) {
  .founder-mark {
    max-width: 340px;
    aspect-ratio: 1;
  }
}

@media (max-width: 859px) {
  .founder-mark { order: -1; max-width: 280px; }
}

.founder-stat {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-top: 42px;
  padding: 26px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.founder-stat strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.founder-stat span {
  max-width: 34ch;
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.55;
}

.form-card {
  border-radius: 0 !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

.form-group input,
.form-group select,
.form-group textarea {
  min-height: 48px;
  border-radius: 4px !important;
  border-color: var(--line) !important;
  background: rgba(255,255,255,0.035) !important;
}

.form-error {
  display: none;
  margin-top: 8px;
  color: #ffb8a8;
  font-size: 0.76rem;
}

.form-error.visible { display: block; }

/* Existing internal pages — premium editorial treatment */
.main-service { align-items: start !important; }

.note-box {
  padding: 22px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--line-strong) !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.note-box p { color: var(--text-2) !important; font-weight: 400 !important; }

.pillar {
  gap: 22px !important;
  padding: 26px 0 !important;
  align-items: baseline !important;
}

.pillar-num {
  flex-shrink: 0;
  width: 44px;
  color: var(--brand-accent) !important;
  font-family: var(--font-display);
  font-size: 1.65rem !important;
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  opacity: 1 !important;
}

.pillar h4 {
  margin-bottom: 7px !important;
  font-family: var(--font-display);
  font-size: 1rem !important;
  font-weight: 600 !important;
}

/* "Como isso funciona na prática" — always-visible, self-contained card
   instead of a squeezed accordion competing with the note-box above it. */
.service-practice {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg, 16px);
  background: rgba(255, 255, 255, 0.03);
}

.service-practice-label {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-practice-list .value-framework-item {
  padding: clamp(18px, 2.4vw, 26px) 0;
}

.service-practice-list .value-framework-item:first-child {
  padding-top: 20px;
}

.service-practice-list .value-framework-item:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.pillar p { max-width: 55ch; font-size: 0.84rem !important; font-weight: 400 !important; }

.pocket-grid { gap: 1px !important; border: 1px solid var(--line); background: var(--line); }

.pocket-card {
  min-height: 360px;
  padding: clamp(28px, 3vw, 42px) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ink-2) !important;
  box-shadow: 0 18px 40px -24px rgba(10, 27, 61, 0.55) !important;
}

.pocket-card {
  transition: transform 320ms var(--ease), background 320ms var(--ease), box-shadow 320ms var(--ease);
}

.pocket-card:hover {
  transform: translateY(-2px) !important;
  background: var(--ink-3) !important;
  box-shadow: 0 22px 48px -22px rgba(10, 27, 61, 0.62), 0 0 0 1px color-mix(in srgb, var(--brand-accent) 45%, transparent) !important;
}

.pocket-card h3 {
  max-width: 13ch;
  margin-bottom: 15px !important;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem) !important;
  font-weight: 600 !important;
  line-height: 1.08;
}

.pocket-card p { font-size: 0.86rem !important; font-weight: 400 !important; }

.pocket-points {
  display: grid;
  gap: 0;
  margin-top: 24px;
  list-style: none;
}

.pocket-points li {
  position: relative;
  padding: 12px 0 12px 18px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pocket-points li::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--brand-teal);
}

.segments-grid { gap: 1px !important; border: 1px solid var(--line); background: var(--line); }

.seg-item {
  min-height: 150px;
  padding: 29px 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ink-2) !important;
  text-align: left !important;
}

.seg-icon {
  display: block !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 1.4rem !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.seg-item p { color: var(--white) !important; font-family: var(--font-display); font-size: 0.92rem !important; }

.client-proof-section .client-name-cloud { gap: 1px; border: 1px solid rgba(6,17,31,0.12); background: rgba(6,17,31,0.12); }

.client-proof-section .name-pill {
  padding: 18px 16px;
  border: 0;
  border-radius: 0;
  background: #f7faf9;
  color: #31434f;
  font-weight: 500;
}

.client-proof-section .name-pill:hover { background: #fff; color: var(--ink); }

.client-case-grid { gap: 1px !important; border: 1px solid var(--line); background: var(--line); }

.client-case {
  min-height: 230px;
  padding: 32px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ink-2) !important;
  transition: transform 320ms var(--ease), background 320ms var(--ease), box-shadow 320ms var(--ease);
}

.client-case:hover {
  transform: translateY(-2px);
  background: var(--ink-3);
  box-shadow: 0 22px 48px -22px rgba(10, 27, 61, 0.62), 0 0 0 1px color-mix(in srgb, var(--brand-accent) 45%, transparent);
}

.client-case h3 {
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  font-weight: 600;
}

.diff-grid { gap: 1px !important; border: 1px solid var(--line); background: var(--line); }

.diff-item {
  min-height: 210px;
  gap: 22px !important;
  padding: 30px !important;
  background: var(--ink-2);
  transition: transform 320ms var(--ease), background 320ms var(--ease), box-shadow 320ms var(--ease);
}

.diff-item:hover {
  transform: translateY(-2px);
  background: var(--ink-3);
  box-shadow: 0 22px 48px -22px rgba(10, 27, 61, 0.62), 0 0 0 1px color-mix(in srgb, var(--brand-accent) 45%, transparent);
}

.diff-icon {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--brand-accent);
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.diff-content h4 {
  margin-bottom: 10px !important;
  font-family: var(--font-display);
  font-size: 1.08rem !important;
  font-weight: 600 !important;
}

.diff-content p { font-size: 0.84rem !important; font-weight: 400 !important; }

.values-grid { gap: 1px !important; border: 1px solid var(--line); background: var(--line); }

.val-card {
  min-height: 250px;
  padding: 34px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ink-2) !important;
}

.val-card h3 {
  margin-bottom: 48px !important;
  font-family: var(--font-display);
  font-size: 1.28rem !important;
  font-weight: 600 !important;
}

.val-card p { font-size: 0.86rem !important; font-weight: 400 !important; }
.about-photo, .founder-img { border-radius: 0 !important; }

.channels { gap: 1px !important; border: 1px solid var(--line); background: var(--line); }

.channel {
  min-height: 104px;
  padding: 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--ink-2) !important;
}

.channel:hover { transform: translateY(-2px) !important; background: var(--ink-3) !important; }
.channel .ch-icon { border-radius: 50% !important; }

.contact-split { align-items: start; }

.contact-info {
  gap: 0 !important;
  counter-reset: contact-point;
}

.info-block {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  counter-increment: contact-point;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.02rem !important;
  font-weight: 600 !important;
}

.form-card {
  padding: clamp(28px, 4vw, 48px) !important;
  background: var(--ink-2) !important;
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem !important;
  font-weight: 600 !important;
}

.form-field input,
.form-field select {
  min-height: 50px;
  border-radius: 3px !important;
  border-color: var(--line) !important;
  background: rgba(255,255,255,0.035) !important;
  font-family: var(--font);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--brand-teal) !important;
  box-shadow: 0 0 0 3px rgba(32,169,155,0.12) !important;
}

.form-field input[aria-invalid="true"] { border-color: #ff9f87 !important; }

.form-field input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(255, 159, 135, 0.14) !important;
}

.not-found {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 150px 0 90px;
  background:
    radial-gradient(circle at 72% 18%, rgba(32,169,155,0.14), transparent 34%),
    var(--ink-2);
}

.not-found__content { max-width: 820px; }

.not-found__code {
  display: block;
  margin-bottom: 18px;
  color: var(--brand-accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.not-found h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.not-found p {
  max-width: 56ch;
  color: var(--text-2);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* CTA and footer */
.section-cta { background: var(--ink-2); }

.cta-panel {
  padding: clamp(36px, 6vw, 76px) 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.cta-panel .section-title { max-width: 16ch; }

.footer { padding-top: 72px; }
.footer-grid { gap: 48px; }
.footer-brand p { max-width: 38ch; }

@media (min-width: 700px) {
  .client-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-empty { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}

@media (min-width: 960px) {
  .services-intro,
  .client-proof-head,
  .testimonial-head { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr); align-items: end; }

  .service-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .service-grid .service-card-large { grid-column: span 12; display: grid; grid-template-columns: 0.72fr 1fr; column-gap: 70px; }
  .service-grid .service-card-large::before { grid-column: 1 / -1; }
  .service-grid .service-card:not(.service-card-large) { grid-column: span 4; }

  .client-logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .client-logo-grid--compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .testimonial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonial-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #allTestimonials { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .story-grid,
  .founder-grid,
  .contact-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }

  .pocket-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .contact-split { grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr) !important; gap: 80px !important; }

  .value-framework-head { grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr); }
}

@media (min-width: 1024px) {
  .hero-premium--portrait .hero-layout { grid-template-columns: minmax(0, 0.94fr) minmax(390px, 0.66fr); }
}

@media (max-width: 1023px) {
  .hero-premium::before { display: none; }
  .hero-premium .hero-layout { align-content: end; min-height: 860px; }
  .hero-ledger { max-width: 680px; }
}

@media (min-width: 768px) and (max-width: 959px) {
  .contact-split { grid-template-columns: 1fr !important; }
}

@media (max-width: 699px) {
  .navbar .container { padding-inline: 18px; }
  .nav-logo { width: 68px; min-width: 68px; height: 50px; }
  .nav-logo .brand-logo { width: 184px; height: 184px; }
  .hero-premium { min-height: 780px; }
  .hero-premium .hero-layout { min-height: 100svh; padding-top: 116px; padding-bottom: 42px; }
  .hero-premium .hero-bg img { object-position: 62% center; }
  .hero-premium .hero-bg::after {
    background: linear-gradient(180deg, rgba(4,12,23,0.55), rgba(4,12,23,0.63) 35%, rgba(4,12,23,0.97) 76%);
  }
  .hero-premium h1 { max-width: 12ch; font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-ledger { display: none; }
  .section-title { font-size: clamp(2.2rem, 11vw, 3.35rem); }
  .client-logo-cell { min-height: 112px; padding: 18px; }
  .client-logo-cell img { max-width: 120px; max-height: 54px; }
  .testimonial-media { aspect-ratio: 16 / 9; }
  .cta-panel { gap: 34px; }
  .not-found { align-items: end; padding-top: 130px; }
  .not-found__actions { display: grid; }
  .not-found__actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #meshCanvas, .cursor-glow { display: none !important; }
  .reveal.visible { animation: none !important; }
}
