/* A compact editorial rhythm shared by every landing-page opening. */
body .hero, body.home-page .hero {
  min-height: auto;
  justify-content: flex-start;
  gap: clamp(32px, 4vw, 48px);
  padding: clamp(124px, 11vw, 160px) var(--pad-x) 28px;
}
body .hero > .wrap { width: 100%; max-width: 1160px; }
body .hero h1,
body.home-page .hero h1,
body .hero .tp-hero h1,
body .hero .sy-hero h1,
body .hero .sl-hero h1 {
  max-width: 22ch;
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
body.home-page .hero h1 { max-width: 24ch; }
body .hero .hero-role {
  margin-bottom: 14px;
  max-width: 64ch;
  font-size: 10.5px;
  line-height: 1.5;
}
body .hero .hero-sub {
  max-width: 56ch;
  margin-top: 16px;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.48;
  letter-spacing: -.015em;
  text-wrap: pretty;
}
body .hero .hero-cta { margin-top: 22px; gap: 12px; }
body .hero .hero-filter {
  margin-top: 14px !important;
  max-width: 72ch;
  font-size: 10.5px;
  line-height: 1.5;
  color: #858b98;
  text-wrap: pretty;
}
body .hero .tp-rail,
body .hero .sy-spec { margin-top: 24px; max-width: 960px; }
body .hero .tp-rail-item { padding-block: 13px; }
body .hero .tp-rail-item::before { top: 15px; }
body .hero .sy-spec-item { padding-top: 13px; }
body .hero .proof { padding-block: 14px; }

/* Form and confirmation openings follow the same tighter text spacing. */
.section[data-load-anim] { padding-top: clamp(120px, 11vw, 156px) !important; }
.section[data-load-anim] .h-display {
  margin-top: 14px !important;
  max-width: 20ch !important;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.section[data-load-anim] .wrap > .lead {
  margin-top: 16px !important;
  max-width: 56ch;
  line-height: 1.48;
  text-wrap: pretty;
}
.section[data-load-anim] .form { margin-top: 28px; }
body .ty { min-height: auto; padding: 128px var(--pad-x) 64px; }
.ty .ty-inner { gap: 16px; }
.ty .h-display { line-height: 1.04; letter-spacing: -.05em; text-wrap: balance; }
.ty .lead { max-width: 48ch; line-height: 1.48; text-wrap: pretty; }
.ty .cta-row { margin-top: 4px; }

@media (max-width: 760px) {
  body .hero, body.home-page .hero { padding-top: 112px; padding-bottom: 22px; gap: 30px; }
  body .hero h1,
  body.home-page .hero h1,
  body .hero .tp-hero h1,
  body .hero .sy-hero h1,
  body .hero .sl-hero h1 {
    max-width: 100%;
    font-size: clamp(35px, 8.6vw, 49px);
    line-height: 1.03;
    letter-spacing: -.05em;
  }
  body .hero .hero-role { margin-bottom: 12px; font-size: 9px; }
  body .hero .hero-sub { margin-top: 14px; max-width: 48ch; font-size: 15.5px; line-height: 1.45; }
  body .hero .hero-cta { margin-top: 20px; gap: 10px; flex-wrap: wrap; }
  body .hero .hero-filter { margin-top: 13px !important; max-width: 52ch; font-size: 10px; line-height: 1.45; }
  body .hero .tp-rail, body .hero .sy-spec { margin-top: 20px; }
  body .hero .proof { padding-block: 12px; }
  .section[data-load-anim] { padding-top: 112px !important; }
  .section[data-load-anim] .h-display { margin-top: 12px !important; font-size: clamp(34px, 8.3vw, 46px); }
  .section[data-load-anim] .wrap > .lead { margin-top: 14px !important; font-size: 16px; }
  body .ty { padding-top: 112px; padding-bottom: 48px; }
  .ty .ty-inner { gap: 14px; }
  .ty .lead { font-size: 16px; }
}
@media (min-width: 761px) and (max-height: 820px) {
  body .hero, body.home-page .hero { padding-top: 116px; gap: 28px; }
  body .hero h1,
  body.home-page .hero h1,
  body .hero .tp-hero h1,
  body .hero .sy-hero h1,
  body .hero .sl-hero h1 { font-size: clamp(46px, 4.7vw, 68px); }
}

/* Home: one centered composition, followed by a continuous logo marquee. */
body.home-page .hero {
  padding-top: clamp(128px, 10.5vw, 152px);
  padding-bottom: 0;
  gap: 32px;
  border-bottom: 0;
  background-image: none;
}
body.home-page .hero > .wrap {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.home-page .hero h1 {
  max-width: 100%;
  font-size: clamp(44px, 4.7vw, 68px);
  line-height: 1.06;
  letter-spacing: -.05em;
}
body.home-page .hero .home-statement { display: block; max-width: 21ch; margin-inline: auto; text-wrap: balance; }
body.home-page .hero h1 .home-answer { display: block; margin-top: 4px; color: #a1a5ae; }
body.home-page .hero .hero-sub { max-width: 51ch; margin-top: 22px; font-size: 17px; line-height: 1.55; text-wrap: balance; }
body.home-page .hero .hero-cta { justify-content: center; margin-top: 24px; gap: 12px; }
body.home-page .hero .hero-filter { max-width: 64ch; margin-top: 16px !important; font-size: 10.5px; line-height: 1.55; text-wrap: balance; }
body.home-page .hero .grid-bg { opacity: .35; }
body.home-page .hero .hero-glow, body.home-page .hero .hero-glow2 { opacity: .5; }
body.home-page .gg-veil { opacity: .5; }
body.home-page .hero-veil .darkveil-canvas { opacity: .36; }
body.home-page .hero .proof {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding: 28px 0 26px;
  border: 0;
  border-top: 1px solid rgba(190,205,230,.1);
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}
body.home-page .hero .proof::before, body.home-page .hero .proof::after { display: none; }
.home-page .logo-grid { width: 100%; }
.home-page .logo-grid .logo-track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; padding: 0; width: 100%; }
.home-page .logo-grid .logo-item { width: auto; height: 40px; justify-content: center; opacity: .65; }
.home-page .logo-grid .logo-item img { max-width: 100%; max-height: 38px; object-fit: contain; }
body.home-page .hero + [data-portfolio] .pf-peek,
body.home-page .hero + div > .pf-peek { padding-top: 52px; border-top: 0; }
body.home-page .hero + div .pf-heading h2 { font-size: clamp(28px, 2.7vw, 38px); }
@media (max-width: 760px) {
  body.home-page .hero { padding-top: 112px; gap: 28px; }
  body.home-page .hero h1 { font-size: clamp(28px, 8.2vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
  body.home-page .hero .home-statement { max-width: 21ch; }
  body.home-page .hero h1 .home-answer { margin-top: 6px; }
  body.home-page .hero .hero-sub { max-width: 43ch; font-size: 15px; line-height: 1.5; margin-top: 18px; }
  body.home-page .hero .hero-cta { margin-top: 22px; }
  body.home-page .hero .hero-filter { max-width: 47ch; font-size: 10px; line-height: 1.5; margin-top: 14px !important; }
  body.home-page .hero .proof { padding-block: 22px; }
  .home-page .logo-grid .logo-track { gap: 16px; }
  .home-page .logo-grid .logo-item { height: 32px; }
  .home-page .logo-grid .logo-item img { max-height: 30px; }
  body.home-page .hero + [data-portfolio] .pf-peek,
  body.home-page .hero + div > .pf-peek { padding-top: 36px; }
}
@media (max-width: 440px) {
  .home-page .logo-grid .logo-track { gap: 12px; }
  .home-page .logo-grid .logo-instituto img { max-width: 52px; }
  body.home-page .hero .hero-cta { flex-wrap: nowrap; width: 100%; justify-content: center; }
  body.home-page .hero .hero-cta .site-cta { width: auto; flex: 0 1 auto; font-size: 12px; padding: 13px 17px; }
}

/* Service blocks: the portfolio's framed visuals and editorial captions. */
.services-section { scroll-margin-top: 96px; }
.services-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; margin-bottom: 40px; }
.services-kicker { color: #a1adc0; font: 10px 'Space Mono', monospace; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 20px; }
.services-heading h2 { font-size: clamp(34px, 3.8vw, 52px); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; }
.services-heading h2 span { color: #909aaa; }
.services-heading > p { max-width: 40ch; justify-self: end; color: #a1a7b5; font-size: 15px; line-height: 1.75; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.service-card { --service-accent: #99bbef; display: flex; flex-direction: column; min-width: 0; border-radius: 23px; }
.service-card--system { --service-accent: #b6afda; }
.service-card--web { --service-accent: #9cbfc8; }
.service-card--crm { --service-accent: #a9c7b6; }
.service-card-frame { padding: 7px; border: 1px solid #a6bad333; border-radius: 23px; background: linear-gradient(145deg, #bccfe512, #18202b33 50%, #7896c212); box-shadow: inset 0 1px #dceaff0d, 0 12px 38px #0002; transition: transform .3s, border-color .3s; }
.service-card-visual { position: relative; height: 248px; overflow: hidden; border-radius: 16px; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--service-accent) 9%, transparent), transparent 75%), #10141b; }
.service-card-meta { position: absolute; inset: 20px 23px auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 10px 'Space Mono', monospace; letter-spacing: .09em; text-transform: uppercase; color: #a5b0c1; }
.service-card-meta span:last-child { color: #7e8b9e; font-size: 9px; }
.service-art { position: absolute; width: min(80%, 350px); height: 192px; left: 50%; top: 38px; transform: translateX(-50%); color: var(--service-accent); }
.service-art-grid { stroke: #b1c8e211; }
.service-art-panel { fill: #171f2b; stroke: #a6bad33d; }
.service-art-area { fill: color-mix(in srgb, var(--service-accent) 9%, transparent); stroke: none; }
.service-art-line { stroke: var(--service-accent); stroke-width: 2; }
.service-art-core { fill: color-mix(in srgb, var(--service-accent) 17%, #141c27); stroke: color-mix(in srgb, var(--service-accent) 55%, transparent); }
.service-card-visual-label { position: absolute; bottom: 18px; left: 24px; right: 24px; text-align: center; color: #7f8d9f; font: 9px 'Space Mono', monospace; letter-spacing: .03em; }
.service-card-copy { padding: 23px 7px 0; display: flex; flex-direction: column; flex: 1; }
.service-card-copy h3 { color: #edf0f5; font-size: clamp(21px, 2.2vw, 27px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.service-card-copy > p { max-width: 49ch; color: #99a3b2; font-size: 14px; line-height: 1.7; margin: 12px 0 22px; }
.service-card-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 15px; border-top: 1px solid #a6bad31f; font-size: 12px; color: #bbc6d6; }
.service-card-action > span { font-size: 19px; color: var(--service-accent); transition: transform .3s; }
.service-card:focus-visible { outline: 2px solid #82b7ff; outline-offset: 7px; }
@media (hover: hover) {
  .service-card:hover .service-card-frame { transform: translateY(-4px); border-color: color-mix(in srgb, var(--service-accent) 55%, transparent); }
  .service-card:hover .service-card-action > span { transform: translate(2px, -2px); }
}
@media (max-width: 760px) {
  .services-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .services-heading > p { justify-self: start; max-width: 44ch; font-size: 14px; }
  .services-kicker { font-size: 9px; margin-bottom: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-card-visual { height: 226px; }
  .service-art { height: 172px; top: 36px; }
  .service-card-copy { padding-top: 19px; }
  .service-card-copy h3 { font-size: 23px; }
  .service-card-meta { inset: 18px 19px auto; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card-frame, .service-card-action > span { transition: none; }
  .service-card:hover .service-card-frame, .service-card:hover .service-card-action > span { transform: none; }
}
