/* Content and experience consolidation — feedback pass 2026-07-27. */

h1,h2,h3,.system-step h3,.solution-face h3,.work-card h3 {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 16px;
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

/* Menu: a single compositor transition and a layout that always fits. */
.site-menu { visibility: visible !important; pointer-events: none; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); align-content: start; }
.site-menu.is-open { pointer-events: auto; }
.menu-links { align-self: start; }
.menu-kicker { position: relative; inset: auto; grid-column: 2; grid-row: 1; width: auto; margin: 6vh 0 0; }
.menu-footer { grid-column: 2; grid-row: 1; align-self: end; position: fixed; }

/* Four levers: title and active number stay explicit; type never breaks mid-word. */
.system-sticky { padding-top: clamp(90px,10vh,130px); }
.system-top { display: flex; justify-content: flex-end; border: 0; }
.system-progress { display: flex; align-items: baseline; gap: 8px; color: rgba(255,255,255,.45); }
.system-progress [data-system-index] { color: var(--orange); font: 700 clamp(56px,7vw,104px)/.75 var(--sans); letter-spacing: -.09em; }
.system h2 { display: block; max-width: 9ch; font-size: clamp(66px,6.5vw,106px); }
.system-description { position: relative; z-index: 2; max-width: 520px; margin-top: 38px; color: rgba(255,255,255,.72) !important; font-size: clamp(17px,1.25vw,20px); }
.system-step { padding-left: clamp(32px,5vw,86px); }
.system-step .feature-icon { margin-bottom: 28px; color: var(--orange); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.04); }
.system-step h3 { max-width: none; width: max-content; font-size: clamp(64px,7.3vw,118px); white-space: nowrap; }
.system-step:last-child h3 { white-space: normal; }
.system-step.is-active .feature-icon { color: #101216; border-color: var(--orange); background: var(--orange); transform: rotate(-6deg); transition: transform .5s var(--ease),background .35s,color .35s; }

/* Client proof is a contextual evidence panel, not a floating logo strip. */
.clients { padding-bottom: clamp(90px,10vw,150px); }
.clients-context {
  margin: clamp(48px,6vw,86px) var(--page) 0;
  padding: 22px 0;
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,.23);
  border-bottom: 1px solid rgba(255,255,255,.23);
}
.clients-context strong { font-size: clamp(19px,1.6vw,27px); letter-spacing: -.05em; }
.clients-context { border-color: rgba(21,23,27,.18); }
.clients-context p { max-width: 680px; color: rgba(21,23,27,.68); line-height: 1.6; }
.clients .logo-river { background: rgba(21,23,27,.025); border-color: rgba(21,23,27,.12); }
.clients .logo-river { margin-top: 0; padding: 42px 0; background: rgba(255,255,255,.035); border-bottom: 1px solid rgba(255,255,255,.15); }
.clients .logo-track img { height: clamp(58px,5vw,82px); max-width: clamp(180px,15vw,265px); opacity: .9; }

/* Manifesto: paced typographic composition with visible motion. */
.manifesto { grid-template-columns: minmax(240px,.48fr) minmax(0,1.52fr); gap: clamp(40px,7vw,120px); align-items: center; min-height: 100svh; overflow: hidden; }
.manifesto::before { background: radial-gradient(circle at 14% 72%,rgba(69,105,188,.16),transparent 28%),radial-gradient(circle at 84% 20%,rgba(238,120,35,.17),transparent 25%); }
.manifesto-side { position: relative; z-index: 1; align-self: center; }
.manifesto-side .feature-icon { width: 68px; height: 68px; margin-bottom: 34px; color: #c9323c; border-radius: 22px; }
.manifesto-side .feature-icon svg { width: 34px; height: 34px; }
.manifesto-side h3 { max-width: 9ch; font-size: clamp(34px,3.4vw,56px); line-height: .92; }
.manifesto-side p { max-width: 30ch; margin-top: 26px; line-height: 1.65; color: rgba(21,23,27,.67); }
.manifesto h2 { grid-column: 2; max-width: none; font-size: clamp(48px,5.8vw,94px); line-height: .92; }
.manifesto h2 span { display: block; transform-origin: left center; }
.manifesto h2 span:nth-child(2) { margin-left: 10%; }
.manifesto h2 span:nth-child(3) { margin-top: .24em; }
.manifesto h2 span:nth-child(4) { margin-left: 5%; }
.manifesto > p { grid-column: 2; margin-top: 48px; }
.manifesto.is-inview h2 { animation: none; }
.manifesto.is-inview h2 span { animation: manifesto-sweep .8s var(--ease) both; }
.manifesto.is-inview h2 span:nth-child(2) { animation-delay: .08s; }
.manifesto.is-inview h2 span:nth-child(3) { animation-delay: .16s; }
.manifesto.is-inview h2 span:nth-child(4) { animation-delay: .24s; }
@keyframes manifesto-sweep { from { transform: translateX(70px) skewX(-5deg); } to { transform: none; } }

/* Products: two clear offer objects with their own icon and quick scan layer. */
.solutions {
  min-height: 100svh;
  padding: clamp(92px,11vh,132px) var(--page);
  background: #0d0f13;
  display: grid;
  grid-template-columns: minmax(300px,.37fr) minmax(0,.63fr);
  gap: clamp(38px,5vw,84px);
  align-items: center;
}
.solutions-heading { margin: 0; align-self: center; }
.solutions-heading h2 { max-width: 10ch; font-size: clamp(54px,5.3vw,84px); line-height: .93; }
.solution-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px,1.7vw,28px); align-self: center; }
.solution-card { overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 34px; background: linear-gradient(145deg,#171a20,#101216); box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.solution-card.solution-department { background: radial-gradient(circle at 92% 8%,rgba(69,105,188,.42),transparent 34%),linear-gradient(145deg,#171a20,#101216); }
.solution-face { min-height: min(67vh,540px); padding: clamp(26px,2.3vw,38px); display: flex; flex-direction: column; }
.solution-face::before { display: none; }
.product-mark { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.product-mark > span { font: 500 9px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.product-mark .feature-icon { width: 58px; height: 58px; color: var(--orange); border-color: rgba(238,120,35,.5); background: rgba(238,120,35,.09); }
.solution-department .product-mark .feature-icon { color: #8aa4ee; border-color: rgba(138,164,238,.5); background: rgba(69,105,188,.14); }
.solution-face h3 { margin-top: auto; font-size: clamp(40px,3.65vw,58px); }
.product-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 26px; }
.product-chips span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.19); border-radius: 999px; font: 500 8px var(--mono); text-transform: uppercase; }
.solution-toggle { margin-top: 30px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.solution-details { padding-left: clamp(30px,3vw,48px); padding-right: clamp(30px,3vw,48px); }

/* Portfolio: native rail on every device; heading and complete card share the viewport. */
.works { min-height: 100svh; padding: clamp(90px,10vh,130px) 0; display: grid; grid-template-columns: minmax(300px,.38fr) minmax(0,.62fr); gap: clamp(32px,5vw,84px); align-items: center; overflow: hidden; }
.works-heading { display: block; align-self: center; padding: 0 0 0 var(--page); }
.works-heading h2 { font-size: clamp(66px,6.6vw,108px); }
.works-heading > p { max-width: 34ch; margin-top: 34px; }
.works-controls { display: flex; align-items: center; gap: 14px; margin-top: 42px; }
.works-controls button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; }
.works-controls button:hover { background: var(--orange); border-color: var(--orange); }
.works-controls span { font: 500 9px var(--mono); letter-spacing: .08em; }
.works-window { min-width: 0; min-height: 0; overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory; scrollbar-width: none; contain: layout paint; }
.works-window::-webkit-scrollbar { display: none; }
.works-track { width: max-content; padding: 0 var(--page) 0 0; gap: 18px; transform: none !important; }
.work-card { width: min(58vw,760px); height: min(72svh,640px); min-height: 500px; scroll-snap-align: start; border-radius: 30px; }

/* Competence title is permanently paired with the interactive index. */
.competence { min-height: 100svh; padding-block: clamp(92px,10vw,150px); grid-template-columns: minmax(340px,.72fr) minmax(0,1.28fr); align-items: center; }
.competence-intro { position: relative; top: auto; align-self: center; }
.competence-intro h2 { display: block; max-width: 10ch; margin: 0 0 34px; font-size: clamp(62px,5.7vw,92px); }
.competence-intro > p { max-width: 39ch; font-size: clamp(17px,1.2vw,20px); }
.competence-node .feature-icon { width: 38px; height: 38px; margin: 0 0 22px; border-radius: 12px; color: #c9323c; }
.competence-node .feature-icon svg { width: 19px; height: 19px; }

/* AICEL: headline, accreditation and reasons remain in one visual field. */
.trust { min-height: 100svh; padding-block: clamp(90px,10vh,130px); align-items: center; scroll-margin-top: 64px; }
.trust h2 { display: block; margin-top: 0; font-size: clamp(58px,5.5vw,90px); }
.trust > img { width: min(100%,300px); max-width: 300px; }
.trust-points span { display: flex; align-items: center; gap: 10px; min-height: 66px; font-size: 10px; }
.trust-points .feature-icon { width: 34px; height: 34px; border-radius: 10px; color: var(--orange); }
.trust-points .feature-icon svg { width: 17px; height: 17px; }

/* Certificates: sticky title at left, evidence cards at right. */
.certifications { padding-block: clamp(95px,10vw,150px); display: grid; grid-template-columns: minmax(330px,.68fr) minmax(0,1.32fr); gap: clamp(46px,7vw,120px); align-items: start; }
.cert-heading { position: sticky; top: 110px; display: block; margin: 0; }
.certifications h2 { display: block; font-size: clamp(60px,5.4vw,88px); }
.cert-grid { grid-template-columns: 1fr; gap: 16px; }
.cert-grid article { min-height: 280px; grid-template-columns: 58px 170px minmax(0,1fr); grid-template-rows: auto 1fr; gap: 20px 28px; align-items: center; border-radius: 26px; }
.cert-grid article > span { grid-column: 1; grid-row: 1; }
.cert-grid img { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.cert-grid h3 { grid-column: 3; grid-row: 1; align-self: end; }
.cert-grid p { grid-column: 3; grid-row: 2; align-self: start; margin-top: 0; }

/* Final title and actions stay visible together. */
.contact { min-height: 100svh; display: grid; grid-template-columns: minmax(410px,.88fr) minmax(0,1.12fr); grid-template-rows: auto auto; gap: 26px clamp(45px,7vw,120px); align-content: center; }
.contact h2 { display: block; grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; font-size: clamp(62px,5.7vw,96px); }
.contact-intro { grid-column: 2; margin: 0; }
.contact-choices { grid-column: 2; grid-template-columns: 1fr; max-width: none; }
.contact-choice { min-height: 210px; }
.contact-choice .feature-icon { width: 42px; height: 42px; margin-bottom: 20px; border-radius: 13px; }

@media (max-width: 900px) {
  .site-menu { display: block; }
  .menu-kicker { display: none; }
  .system-sticky { min-height: 620px; }
  .system h2 { font-size: clamp(52px,13vw,68px); }
  .system-step h3,.system-step:last-child h3 { width: auto; white-space: normal; font-size: clamp(54px,14vw,78px); }
  .clients-context { grid-template-columns: 1fr; margin-inline: 22px; }
  .clients .logo-track img { height: 56px; max-width: 190px; }
  .manifesto { display: block; min-height: 0; }
  .manifesto-side { margin-bottom: 64px; }
  .manifesto h2 { font-size: clamp(45px,11.6vw,64px); }
  .manifesto h2 span:nth-child(2),.manifesto h2 span:nth-child(4) { margin-left: 0; }
  .solutions { min-height: auto; padding: 92px 22px; display: block; }
  .solutions-heading { margin-bottom: 42px; }
  .solutions-heading h2 { font-size: clamp(52px,15vw,76px); }
  .solution-grid { display: block; }
  .solution-card { border-radius: 26px; }
  .solution-face { min-height: 540px; }
  .works { display: block; min-height: 0; padding-block: 100px; }
  .works-heading { padding: 0 22px 55px; }
  .works-heading h2 { font-size: clamp(58px,15vw,80px); }
  .works-track { padding-left: 22px; }
  .work-card { width: 87vw; height: 560px; min-height: 0; }
  .competence { display: block; min-height: 0; }
  .competence-intro h2 { font-size: clamp(48px,12vw,66px); }
  .competence-node .feature-icon { display: inline-grid; margin: 0 14px 0 0; vertical-align: middle; }
  .trust { min-height: 0; }
  .certifications { display: block; }
  .cert-heading { position: relative; top: auto; margin-bottom: 58px; }
  .certifications h2 { font-size: clamp(48px,12vw,68px); }
  .cert-grid article { min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto 110px auto auto; }
  .cert-grid article > span,.cert-grid img,.cert-grid h3,.cert-grid p { grid-column: 1; grid-row: auto; }
  .contact { min-height: 0; display: block; }
  .contact h2 { font-size: clamp(51px,13vw,72px); margin-bottom: 38px; }
  .contact-intro { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto.is-inview h2 span { animation: none; }
}

/* Motto: one statement with an optical response to the visitor's cursor. */
.manifesto-motto {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center start;
  min-height: min(850px, 92svh);
  padding-block: clamp(110px, 14vw, 220px);
  isolation: isolate;
  cursor: none;
}
.manifesto-motto::before {
  z-index: -2;
  background: linear-gradient(122deg, #dce4ee 0%, #f4f0e9 54%, #e8bb9d 54%, #df8358 100%);
}
.manifesto-motto h2 {
  grid-column: 1;
  width: min(1240px, 92vw);
  margin: 0;
  font-size: clamp(54px, 7.2vw, 122px);
  line-height: .84;
  letter-spacing: -.095em;
}
.manifesto-motto h2 > .manifesto-line {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow: visible;
}
.manifesto-motto h2 > .manifesto-line:nth-child(2) { margin-left: 8%; }
.manifesto-motto h2 > .manifesto-line:nth-child(3) { margin-top: .22em; margin-left: 16%; }
.manifesto-motto h2 > .manifesto-line:nth-child(4) { margin-left: 4%; }
.manifesto-motto h2 .manifesto-word {
  display: inline-block;
  transform-origin: left center;
  will-change: transform;
}
.manifesto-motto.is-inview h2 .manifesto-word { animation: none; }
.manifesto-motto h2 em {
  position: relative;
  display: inline-block;
  color: #c9323c;
  font-style: normal;
}
.manifesto-motto h2 em::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -.06em;
  left: 0;
  height: .045em;
  transform: scaleX(.16);
  transform-origin: left;
  background: currentColor;
  animation: motto-underline 2.8s var(--ease) infinite alternate;
}
.manifesto-spotlight {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: min(36vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: .72;
  background: radial-gradient(circle, rgba(255,255,255,.72) 0%, rgba(255,255,255,.22) 25%, rgba(238,120,35,.14) 48%, transparent 72%);
  filter: blur(12px);
  transform: translate3d(-50%,-50%,0);
  transition: opacity .35s ease;
}
.manifesto-motto:hover .manifesto-spotlight { opacity: 1; }
@keyframes motto-underline { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .manifesto-motto { display: block; min-height: 0; padding-block: 120px; cursor: auto; }
  .manifesto-motto h2 { width: 100%; font-size: clamp(47px, 11.8vw, 68px); line-height: .88; }
  .manifesto-motto h2 > .manifesto-line:nth-child(2),
  .manifesto-motto h2 > .manifesto-line:nth-child(3),
  .manifesto-motto h2 > .manifesto-line:nth-child(4) { margin-left: 0; }
  .manifesto-motto h2 > .manifesto-line:nth-child(3) { margin-top: .28em; }
  .manifesto-spotlight { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .manifesto-word { transform: none !important; }
  .manifesto-motto h2 em::after { animation: none; transform: scaleX(1); }
}

/* Products: two distinct offers, each with its own atmosphere and material. */
.solution-grid {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(14px, 1.6vw, 28px);
  align-items: start;
}
.solution-card {
  min-height: 720px;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 36px 12px 36px 12px;
  box-shadow: none;
  transition: transform .7s var(--ease), grid-template-rows .75s var(--ease);
}
.solution-card::before,
.solution-card::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.solution-card::after {
  inset: 0;
  opacity: .38;
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(135deg, #000, transparent 76%);
}
.solution-card:hover { transform: translateY(-8px); }
.solution-face { min-height: 720px; padding: clamp(30px,4.5vw,66px); }
.solution-card.is-open .solution-face { min-height: 0; }
.solution-card .product-mark {
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  max-width: 100%;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.solution-card .product-mark .feature-icon {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 0;
  background: rgba(255,255,255,.16);
  color: currentColor;
}
.solution-card .product-mark span { color: inherit; font-size: 8px; }
.solution-card .solution-face h3 {
  max-width: 8ch;
  margin: clamp(70px,10vw,142px) 0 25px;
  font-size: clamp(55px,5.7vw,96px);
  line-height: .82;
  color: #fff;
}
.solution-card .solution-face h3 em { color: inherit; opacity: .78; }
.solution-card .solution-face > p { max-width: 29ch; color: rgba(255,255,255,.78); }
.solution-card .product-chips { margin-top: 42px; }
.solution-card .product-chips span {
  border-color: rgba(255,255,255,.32);
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.08);
}
.solution-card .solution-toggle {
  width: 100%;
  min-width: 0;
  margin-top: 50px;
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.solution-card .solution-toggle::before { content: '↘'; font-size: 18px; font-weight: 400; }
.solution-card .solution-toggle:hover { background: rgba(255,255,255,.18); }
.solution-card .solution-details {
  margin: 0 clamp(30px,4.5vw,66px) clamp(30px,4.5vw,60px);
  padding: 32px 0 0;
  border-top: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.86);
}
.solution-card .solution-details > p:first-child,
.solution-card .solution-note,
.solution-card .department-columns li { color: rgba(255,255,255,.82); }
.solution-card .solution-details > ul li,
.solution-card .department-columns li { border-color: rgba(255,255,255,.25); }
.solution-card .solution-details .text-link { color: #fff; }

/* Blue: a precise instrument, built from depth, reflection and a faint coordinate field. */
.solution-card.solution-compass {
  background: linear-gradient(148deg, #112449 0%, #204a8b 46%, #6c96d5 100%);
}
.solution-compass::before {
  top: -20%;
  right: -48%;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(255,255,255,.055), 0 0 0 116px rgba(255,255,255,.035);
  transform: rotate(22deg);
  transition: transform 1.2s var(--ease);
}
.solution-compass:hover::before { transform: rotate(88deg) scale(1.06); }
.solution-compass .solution-face h3 em { color: #cbdcff; opacity: 1; }
.solution-compass .product-mark { color: #e9f1ff; }
.solution-compass .solution-toggle { box-shadow: inset 0 1px rgba(255,255,255,.15); }

/* Orange: an active operating system, with a warm tonal shift rather than a generic dark card. */
.solution-card.solution-department {
  background: linear-gradient(137deg, #8b3518 0%, #c95a20 43%, #ef9b55 100%);
}
.solution-department::before {
  right: -10%;
  bottom: -43%;
  width: min(50vw, 700px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,245,228,.38);
  border-radius: 42% 58% 46% 54% / 50% 40% 60% 50%;
  box-shadow: inset 0 0 0 54px rgba(255,244,223,.07), inset 0 0 0 108px rgba(255,244,223,.05);
  transform: rotate(-18deg);
  transition: transform 1.2s var(--ease);
}
.solution-department:hover::before { transform: rotate(20deg) scale(1.08); }
.solution-department::after { background-image: linear-gradient(rgba(255,245,229,.23) 1px, transparent 1px), linear-gradient(90deg, rgba(255,245,229,.23) 1px, transparent 1px); }
.solution-department .solution-face h3 { max-width: 10ch; }
.solution-department .solution-face h3 em { color: #fff0d9; opacity: 1; }
.solution-department .product-mark { color: #fff6e9; }
.solution-department .solution-toggle { color: #fff8ed; }

@media (max-width: 900px) {
  .solution-grid { grid-template-columns: 1fr; gap: 18px; }
  .solution-card { min-height: 0; border-radius: 26px 10px 26px 10px; }
  .solution-face { min-height: 560px; padding: 30px; }
  .solution-card .solution-face h3 { margin-top: 78px; font-size: clamp(52px,14vw,76px); }
  .solution-card .solution-details { margin: 0 30px 30px; }
  .solution-compass::before { width: 390px; right: -42%; }
  .solution-department::before { width: 440px; right: -22%; }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card, .solution-card::before { transition: none; }
}

/* Portfolio: the counter replaces arrows; on desktop scroll itself becomes the control. */
.works-progress {
  margin-top: 42px;
  color: rgba(255,255,255,.66);
  font: 500 10px/1 var(--mono);
  letter-spacing: .1em;
}
.works-progress b { color: var(--orange); font-weight: 500; }
.works.is-scroll-driven .works-window { scroll-snap-type: none; }
@media (max-width: 900px) {
  .works-progress { margin-top: 30px; }
}

/* Competences: colour is a navigation system, not a decoration. */
.competence-node:nth-of-type(1) { --competence-color: #4569bc; color: #294b95; border-color: rgba(69,105,188,.55); background: rgba(69,105,188,.11); }
.competence-node:nth-of-type(2) { --competence-color: #c9323c; color: #a32631; border-color: rgba(201,50,60,.55); background: rgba(201,50,60,.1); }
.competence-node:nth-of-type(3) { --competence-color: #df741f; color: #b4510c; border-color: rgba(223,116,31,.56); background: rgba(238,120,35,.12); }
.competence-node:nth-of-type(4) { --competence-color: #287267; color: #16594f; border-color: rgba(40,114,103,.56); background: rgba(40,114,103,.11); }
.competence-node span { color: var(--competence-color); }
.competence-node:hover,
.competence-node.is-current {
  border-color: var(--competence-color);
  background: var(--competence-color);
  color: #fff;
  box-shadow: 0 18px 38px color-mix(in srgb, var(--competence-color) 28%, transparent);
}
.competence-node:hover span,
.competence-node.is-current span { color: rgba(255,255,255,.72); }
.competence-core {
  background: #4569bc;
  box-shadow: 0 20px 44px rgba(69,105,188,.25);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.competence-map:has(.competence-node:nth-of-type(2).is-current) .competence-core { background: #c9323c; box-shadow: 0 20px 44px rgba(201,50,60,.24); }
.competence-map:has(.competence-node:nth-of-type(3).is-current) .competence-core { background: #df741f; box-shadow: 0 20px 44px rgba(223,116,31,.25); }
.competence-map:has(.competence-node:nth-of-type(4).is-current) .competence-core { background: #287267; box-shadow: 0 20px 44px rgba(40,114,103,.24); }
@media (prefers-reduced-motion: reduce) {
  .competence-core { transition: none; }
}

/* A compact manifesto: one viewport, one deliberate writing moment. */
.manifesto-motto {
  min-height: 100svh;
  padding-block: clamp(84px, 9vh, 118px);
}
.manifesto-motto h2 {
  width: min(1120px, 88vw);
  font-size: clamp(48px, 5.25vw, 88px);
  line-height: .88;
}
.manifesto-motto h2 > .manifesto-line:nth-child(2) { margin-left: 4%; }
.manifesto-motto h2 > .manifesto-line:nth-child(3) { margin-top: .18em; margin-left: 9%; }
.manifesto-motto h2 > .manifesto-line:nth-child(4) { margin-left: 2%; }
.manifesto-motto.is-inview h2 span { animation: none; }
.manifesto-word::after {
  content: '';
  display: none;
  width: .06em;
  height: .82em;
  margin-left: .08em;
  vertical-align: -.06em;
  background: currentColor;
  animation: manifesto-caret .72s step-end infinite;
}
.manifesto-word.is-typing::after { display: inline-block; }
@keyframes manifesto-caret { 50% { opacity: 0; } }
@media (max-width: 900px) {
  .manifesto-motto { min-height: 100svh; padding-block: 100px; }
  .manifesto-motto h2 { width: 100%; font-size: clamp(43px, 10.8vw, 62px); }
}
@media (prefers-reduced-motion: reduce) {
  .manifesto-word::after { display: none; }
}

/* Offers: editorial hierarchy first, with two calm colour transitions. */
.solutions { display: block; padding: clamp(90px, 10vw, 150px) var(--page); }
.solutions-heading {
  display: block;
  margin: 0 0 clamp(40px, 5vw, 72px);
}
.solutions-heading h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(52px, 6.2vw, 102px);
  line-height: .87;
}
.solution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 32px);
  align-items: stretch;
}
.solution-card {
  min-height: 670px;
  border: 0;
  border-radius: 32px 12px 32px 12px;
  box-shadow: none;
}
.solution-card::before,
.solution-card::after { display: none; }
.solution-card:hover { transform: translateY(-5px); }
.solution-face { min-height: 670px; padding: clamp(34px,4vw,62px); }
.solution-card.is-open .solution-face { min-height: 0; }
.solution-card .product-mark {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}
.solution-card .product-mark .feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.16);
}
.solution-card .solution-face h3 {
  max-width: 9ch;
  margin: auto 0 22px;
  font-size: clamp(52px, 5vw, 84px);
  line-height: .86;
}
.solution-card .solution-face > p { max-width: 31ch; }
.solution-card .product-chips { margin-top: 30px; }
.solution-card .product-chips span { background: transparent; }
.solution-card .solution-toggle {
  width: auto;
  min-width: 250px;
  margin-top: 38px;
  background: transparent;
  backdrop-filter: none;
}
.solution-card .solution-toggle::before { display: none; }
.solution-card .solution-details {
  margin: 0 clamp(34px,4vw,62px) clamp(34px,4vw,58px);
  padding-top: 28px;
}

.solution-card.solution-compass {
  background: linear-gradient(142deg, #182c5d 0%, #315b9e 48%, #89a9d9 100%);
}
.solution-card.solution-compass .solution-face h3 em { color: #dce9ff; }
.solution-card.solution-department {
  background: linear-gradient(142deg, #943f20 0%, #ce6632 49%, #f0af78 100%);
}
.solution-card.solution-department .solution-face h3 em { color: #fff1df; }

@media (max-width: 900px) {
  .solutions { padding: 96px 22px; }
  .solutions-heading { margin-bottom: 42px; }
  .solutions-heading h2 { font-size: clamp(49px, 12vw, 70px); }
  .solution-grid { grid-template-columns: 1fr; gap: 18px; }
  .solution-card { min-height: 0; }
  .solution-face { min-height: 560px; padding: 30px; }
  .solution-card .solution-face h3 { margin-top: 78px; font-size: clamp(52px,14vw,76px); }
  .solution-card .solution-details { margin: 0 30px 30px; }
}

/* Competence colours belong to the labels only; the map remains a neutral surface. */
.competence-node:nth-of-type(1),
.competence-node:nth-of-type(2),
.competence-node:nth-of-type(3),
.competence-node:nth-of-type(4) {
  border-color: rgba(21,23,27,.35);
  background: rgba(255,255,255,.22);
}
.competence-node:hover,
.competence-node.is-current {
  border-color: #15171b;
  background: #15171b;
  color: var(--competence-color);
  box-shadow: none;
}
.competence-node:hover span,
.competence-node.is-current span { color: var(--competence-color); }
.competence-core {
  background: var(--orange);
  box-shadow: 0 20px 44px rgba(238,120,35,.19);
  transition: none;
}
.competence-map:has(.competence-node:nth-of-type(2).is-current) .competence-core,
.competence-map:has(.competence-node:nth-of-type(3).is-current) .competence-core,
.competence-map:has(.competence-node:nth-of-type(4).is-current) .competence-core {
  background: var(--orange);
  box-shadow: 0 20px 44px rgba(238,120,35,.19);
}

/* Contact: the closing thought becomes a deliberate invitation, not a generic CTA. */
.contact { isolation: isolate; }
.contact-kicker {
  position: relative; z-index: 2; grid-column: 1; grid-row: 1; align-self: start; margin: 0 0 -8px;
  color: rgba(255,255,255,.55); font: 500 9px var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.contact .contact-title {
  position: relative; z-index: 2; grid-column: 1; grid-row: 1 / span 2; display: grid; gap: .04em; padding-top: 31px;
  font-size: clamp(56px,5.35vw,94px); line-height: .86;
}
.contact-title > span { display: block; transform-origin: left bottom; }
.contact-title > span:nth-child(2) { margin-left: 7%; }
.contact-title > span:nth-child(3) { margin-left: 16%; margin-top: .08em; }
.contact-title em { color: #fff; font-style: normal; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: .055em; text-underline-offset: .13em; }
.contact-title.reveal-ready.is-visible > span { animation: contact-title-rise .78s var(--ease) both; }
.contact-title.reveal-ready.is-visible > span:nth-child(2) { animation-delay: .1s; }
.contact-title.reveal-ready.is-visible > span:nth-child(3) { animation-delay: .2s; }
@keyframes contact-title-rise { from { opacity: 0; transform: translateY(44px) skewY(3deg); } to { opacity: 1; transform: translateY(0) skewY(0); } }
@media (max-width: 900px) {
  .contact-kicker { margin-bottom: 20px; }
  .contact .contact-title { display: block; padding-top: 0; font-size: clamp(48px,12.1vw,70px); }
  .contact-title > span:nth-child(2),.contact-title > span:nth-child(3) { margin-left: 0; }
  .contact-title > span { margin-bottom: .08em; }
}
@media (prefers-reduced-motion: reduce) { .contact-title.reveal-ready.is-visible > span { animation: none; } }

/* The certification descriptions are intentionally complete and need room to breathe. */
.cert-grid article { min-height: 330px; }
.cert-grid p strong { color: #fff; font-weight: 700; }
.cert-grid article:nth-child(2) img { max-width: 185px; filter: none; }
@media (max-width: 900px) { .cert-grid article { min-height: 0; } }

/* Contact: a quiet prism surface, directly tied to the diamond palette. */
.contact {
  background:
    linear-gradient(121deg, rgba(7,10,17,.24) 0%, rgba(7,10,17,.1) 42%, rgba(7,10,17,.2) 100%),
    linear-gradient(128deg, #4569bc 0%, #c9323c 48%, #ee7823 100%);
}
.contact::before { content: none; }
.contact-kicker { color: rgba(255,255,255,.72); }
.contact .contact-title {
  max-width: 11ch;
  padding-top: 28px;
  font-size: clamp(58px,5.65vw,100px);
  text-wrap: balance;
}
.contact-title > span:nth-child(2),
.contact-title > span:nth-child(3) { margin-left: 0; }
.contact-title > span:nth-child(3) { margin-top: .08em; }
.contact-title em {
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.contact-intro { color: rgba(255,255,255,.84); }
.contact-choice {
  background: rgba(11,13,16,.16);
  border-color: rgba(255,255,255,.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contact-choice:hover { background: rgba(11,13,16,.28); }
@media (max-width: 900px) {
  .contact { background: linear-gradient(145deg, #4569bc 0%, #c9323c 54%, #ee7823 100%); }
  .contact .contact-title { max-width: 10ch; padding-top: 0; font-size: clamp(48px,12vw,70px); }
}

/* Competences: a neutral map; colour only identifies the four labels. */
.competence { background: #e8e7e1; }
.competence-node {
  background: rgba(255,255,255,.38);
  border-color: rgba(21,23,27,.22);
  box-shadow: none;
}
.competence-node:nth-of-type(1) { --competence-color: #4260a3; color: #4260a3; }
.competence-node:nth-of-type(2) { --competence-color: #a43a46; color: #a43a46; }
.competence-node:nth-of-type(3) { --competence-color: #ae5c22; color: #ae5c22; }
.competence-node:nth-of-type(4) { --competence-color: #286458; color: #286458; }
.competence-node span,
.competence-node .feature-icon { color: var(--competence-color); }
.competence-node:hover,
.competence-node.is-current {
  background: rgba(255,255,255,.72);
  border-color: var(--competence-color);
  color: var(--competence-color);
  box-shadow: none;
  transform: translateY(-4px);
}
.competence-node:hover span,
.competence-node.is-current span { color: var(--competence-color); }
.competence-core,
.competence-map:has(.competence-node:nth-of-type(2).is-current) .competence-core,
.competence-map:has(.competence-node:nth-of-type(3).is-current) .competence-core,
.competence-map:has(.competence-node:nth-of-type(4).is-current) .competence-core {
  background: #17191d;
  color: #fff;
  box-shadow: none;
}
.competence-core b { color: rgba(255,255,255,.92); }
.competence-core p { color: rgba(255,255,255,.78); }
@media (max-width: 900px) {
  .competence-node:hover,.competence-node.is-current { transform: translateY(-3px); }
  .competence-node:nth-of-type(1):hover,.competence-node:nth-of-type(1).is-current,
  .competence-node:nth-of-type(3):hover,.competence-node:nth-of-type(3).is-current { transform: translateX(-50%) translateY(-3px); }
}

/* Prism is reserved for signals and actions, never for a whole section surface. */
:root { --prism-gradient: linear-gradient(108deg, #4569bc 0%, #c9323c 47%, #ee7823 100%); }
.hero-refraction .hero-lede { border-left: 0; position: relative; }
.hero-refraction .hero-lede::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--prism-gradient);
}
.works-progress b,
.cert-grid article > span {
  background: var(--prism-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-choice.meeting strong,
.menu-footer a[href="#contatti"] {
  background: var(--prism-gradient);
  color: #fff;
}
.contact-choice.meeting strong {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 34px 0 14px;
  padding: 14px 17px;
  border-radius: 999px;
  font-size: 17px;
  letter-spacing: -.045em;
}
.contact-choice.meeting strong b { float: none; font-size: 19px; }
.menu-footer a[href="#contatti"] {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  color: #fff !important;
}

/* Keep the contact section neutral: the prism belongs to the action, not the background. */
.contact { background: #0b0d10; }
.contact-choice { background: rgba(255,255,255,.055); }
.contact-choice:hover { background: rgba(255,255,255,.12); }
.contact-choice.meeting,
.contact-choice.meeting:hover,
.contact-choice.meeting:focus-visible {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}
.contact-choice.meeting small,
.contact-choice.meeting span { color: rgba(255,255,255,.7); }
@media (max-width: 900px) { .contact { background: #0b0d10; } }

/* Cursor: it only appears where an action is available. */
@media (pointer: fine) and (min-width: 901px) {
  html.cursor-active .magnetic,
  html.cursor-active .signal-core,
  html.cursor-active .competence-node,
  html.cursor-active .solution-toggle,
  html.cursor-active .contact-choice,
  html.cursor-active .work-card[role="button"] { cursor: none; }
  .cursor {
    --cursor-x: 0px;
    --cursor-y: 0px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    mix-blend-mode: difference;
    transform: translate(-50%,-50%) translate3d(var(--cursor-x),var(--cursor-y),0) scale(.28);
    transition: width .28s var(--ease),height .28s var(--ease),opacity .18s,transform .32s var(--ease),background .25s,color .25s;
  }
  .cursor.is-visible { transform: translate(-50%,-50%) translate3d(var(--cursor-x),var(--cursor-y),0) scale(1); }
  .cursor span { display: none; }
  .cursor::after {
    content: '↗';
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: currentColor;
    font: 400 27px/1 var(--sans);
    transform: translate(-1px,1px);
  }
  .cursor.is-phone {
    background: #fff;
    color: #111;
    mix-blend-mode: normal;
  }
  .cursor.is-phone::after {
    content: '';
    width: 22px;
    height: 22px;
    margin: 20px;
    background: currentColor;
    transform: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1-.24c1.12.37 2.32.56 3.57.56a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.19 2.45.56 3.57a1 1 0 0 1-.24 1l-2.2 2.22Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.62 10.79a15.46 15.46 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1-.24c1.12.37 2.32.56 3.57.56a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.61 21 3 13.39 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.19 2.45.56 3.57a1 1 0 0 1-.24 1l-2.2 2.22Z'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}

/* Certification marks use one monochrome treatment. */
.cert-grid img,
.cert-grid article:nth-child(2) img { filter: brightness(0) invert(1) !important; }

/* Menu: a soft full-screen panel with generous, reliable spacing. */
.site-menu {
  display: grid !important;
  grid-template-columns: minmax(0,1.08fr) minmax(310px,.72fr);
  grid-template-rows: 1fr auto;
  gap: clamp(42px,7vw,120px);
  padding: clamp(118px,14vh,170px) var(--page) clamp(34px,5vh,64px);
  background:
    radial-gradient(ellipse 52% 68% at 84% 16%, rgba(69,105,188,.36), transparent 72%),
    radial-gradient(ellipse 45% 62% at 12% 100%, rgba(201,50,60,.27), transparent 74%),
    #151820;
  border-radius: 0 0 42px 42px;
  overflow-y: auto;
}
.menu-links { display: grid; align-content: center; gap: clamp(16px,2.4vh,28px); }
.menu-links a {
  width: fit-content;
  gap: 18px;
  padding: 5px 0;
  font-size: clamp(44px,5vw,78px);
  line-height: .92;
  letter-spacing: -.06em;
  word-spacing: .08em;
}
.menu-links a span { line-height: .92; }
.menu-links a small { margin-top: .62em; color: rgba(255,255,255,.46); }
.menu-links a:hover,.menu-links a:focus-visible { color: #fff; transform: translateX(10px); }
.menu-kicker {
  position: relative;
  inset: auto;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  width: min(30vw,420px);
  margin: 0;
  font-size: clamp(25px,2.35vw,40px);
  line-height: 1.08;
  letter-spacing: -.045em;
  word-spacing: .08em;
}
.menu-footer {
  position: relative;
  right: auto;
  bottom: auto;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 24px 24px 24px 10px;
  background: rgba(255,255,255,.06);
  text-align: left;
}
.menu-footer a { justify-content: flex-start; }
.menu-toggle {
  position: relative;
  min-width: 106px;
  min-height: 46px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(21,24,32,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  color: #151820;
}
.menu-toggle span { padding-right: 28px; }
.menu-toggle i {
  position: absolute;
  right: 15px;
  width: 18px;
  height: 1px;
  margin: 0 !important;
  background: currentColor !important;
  transform-origin: center;
}
.menu-toggle i:first-of-type { top: 18px; }
.menu-toggle i:last-of-type { top: 26px; }
.menu-toggle[aria-expanded=true] { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); color: #fff; }
.menu-toggle[aria-expanded=true] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded=true] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .site-menu { display: flex !important; flex-direction: column; gap: 38px; padding: 112px 22px 34px; border-radius: 0 0 30px 30px; }
  .menu-links { align-content: start; gap: 18px; }
  .menu-links a { font-size: clamp(42px,11.5vw,66px); line-height: .94; }
  .menu-kicker { display: none; }
  .menu-footer { margin-top: auto; width: 100%; }
}

/* Client logos: one restrained neutral treatment, carried by an uninterrupted loop. */
.clients .logo-river {
  position: relative;
  isolation: isolate;
  padding-block: clamp(34px,4vw,54px);
  border-top: 1px solid rgba(21,23,27,.1);
  border-bottom: 1px solid rgba(21,23,27,.1);
}
.clients .logo-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: client-logo-river 72s linear infinite;
  will-change: transform;
}
.clients .logo-set {
  display: flex;
  align-items: center;
  gap: clamp(60px,7vw,128px);
  padding-right: clamp(60px,7vw,128px);
  flex: 0 0 auto;
}
.clients .logo-track img {
  display: block;
  width: auto;
  height: clamp(42px,3.8vw,66px);
  max-width: clamp(125px,11vw,205px);
  object-fit: contain;
  filter: grayscale(1) contrast(.78);
  opacity: .58;
  mix-blend-mode: multiply;
  transition: opacity .35s ease, transform .5s var(--ease);
}
.clients .logo-track img:hover { opacity: .82; transform: translateY(-3px); }
@keyframes client-logo-river { to { transform: translate3d(-50%,0,0); } }
@media (max-width: 900px) {
  .clients .logo-set { gap: 56px; padding-right: 56px; }
  .clients .logo-track { animation-duration: 54s; }
  .clients .logo-track img { height: 42px; max-width: 145px; }
}
@media (prefers-reduced-motion: reduce) { .clients .logo-track { animation: none; } }

/* Closing contact: black field, with one clear featured call card. */
.contact { background: #0b0d10; }
.contact-choice { background: rgba(255,255,255,.055); }
.contact-choice.meeting,
.contact-choice.meeting:hover,
.contact-choice.meeting:focus-visible {
  background: var(--prism-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 42px rgba(118,55,57,.2);
}
.contact-choice.meeting small,
.contact-choice.meeting span { color: rgba(255,255,255,.82); }
.contact-choice.meeting strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  gap: 20px;
  margin: 40px 0 14px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font-size: clamp(27px,2.15vw,38px);
  letter-spacing: -.065em;
}
.contact-choice.meeting strong b { font-size: 28px; }

/* Prism language: selected key words and navigation signals share the diamond palette. */
:root {
  --prism-gradient-light: linear-gradient(108deg, #94aaff 0%, #ff8790 48%, #ffb269 100%);
}
.diagnosis h2 em,
.clients-heading h2 em,
.competence-intro h2 em,
.trust h2 em {
  background: var(--prism-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}
.proof-rail > div:last-child strong i,
.system h2 em,
.solutions-heading h2 em,
.works-heading h2 em,
.cert-heading h2 em,
.system-progress [data-system-index],
.system-progress-total,
.system-step li::before {
  background: var(--prism-gradient-light);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-style: normal;
}
.system-progress { gap: 8px; }
.system-progress-total { display: inline-block; }
.system-step .feature-icon,
.system-step.is-active .feature-icon {
  color: #fff;
  border-color: transparent;
  background: var(--prism-gradient);
}

/* Footer: a short, deliberate closing hierarchy. */
.site-footer {
  display: grid;
  grid-template-columns: minmax(280px,1.45fr) minmax(190px,.7fr) minmax(190px,.7fr);
  align-items: start;
  gap: clamp(34px,6vw,110px);
  padding: clamp(64px,7vw,112px) var(--page) 28px;
  background: #0b0d10;
  border-top: 1px solid rgba(255,255,255,.14);
}
.site-footer > * { min-width: 0; }
.site-footer .footer-brand { display: grid; justify-items: start; gap: 24px; text-align: left; }
.site-footer .footer-brand img { width: clamp(154px,12vw,194px); }
.site-footer .footer-brand p { max-width: 36ch; margin: 0; color: rgba(255,255,255,.62); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -.02em; line-height: 1.65; }
.footer-contact,
.footer-links { display: grid; align-content: start; justify-items: start; gap: 10px; text-align: left; font: 500 10px/1.35 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.footer-contact > span,
.footer-links > span { margin-bottom: 8px; color: rgba(255,255,255,.42); }
.footer-contact > a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font: 600 clamp(14px,1.2vw,17px)/1.2 var(--sans); letter-spacing: -.035em; text-transform: none; }
.footer-contact > a b { font-size: 18px; font-weight: 400; }
.footer-contact > small { margin-top: 6px; color: rgba(255,255,255,.5); }
.footer-links a { min-height: 30px; color: rgba(255,255,255,.7); border: 0; transition: color .25s ease, transform .3s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom { grid-column: 1 / -1; display: flex !important; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(38px,5vw,72px); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.43); font: 500 9px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; text-align: left !important; }
.footer-bottom small { color: inherit; }
.footer-bottom a { min-height: 32px; display: inline-flex; align-items: center; color: rgba(255,255,255,.62); }
.footer-bottom .footer-top { margin-left: auto; color: #fff; }
.footer-top b { margin-left: 8px; font-size: 16px; font-weight: 400; }
@media (max-width: 760px) {
  .site-footer { grid-template-columns: 1fr; gap: 36px; padding: 58px 22px 25px; }
  .footer-bottom { flex-wrap: wrap; margin-top: 4px; }
  .footer-bottom .footer-top { margin-left: auto; }
}

/* Diamond reader: compact, legible and keyed to the face currently in view. */
.hero-refraction .hero-insight {
  top: 39%;
  right: max(4vw, 48px);
  bottom: auto;
  width: min(17vw, 255px);
  padding: 16px 18px;
  border-width: 1px;
}
.hero-refraction .hero-insight > span { font-size: 7px; }
.hero-refraction .hero-insight h2 { margin: 9px 0 7px; font-size: clamp(20px,1.35vw,25px); line-height: .95; }
.hero-refraction .hero-insight p { font-size: clamp(11px,.75vw,12.5px); font-weight: 500; line-height: 1.42; }
.hero-refraction .hero-insight[data-facet="1"] { --facet: #3f61aa; border-color: rgba(63,97,170,.42); background: linear-gradient(135deg,rgba(63,97,170,.18),rgba(255,255,255,.92) 62%); box-shadow: 0 12px 30px rgba(47,73,134,.14); }
.hero-refraction .hero-insight[data-facet="2"] { --facet: #bd4052; border-color: rgba(189,64,82,.42); background: linear-gradient(135deg,rgba(189,64,82,.18),rgba(255,255,255,.92) 62%); box-shadow: 0 12px 30px rgba(132,44,59,.14); }
.hero-refraction .hero-insight[data-facet="3"] { --facet: #d8671c; border-color: rgba(216,103,28,.45); background: linear-gradient(135deg,rgba(216,103,28,.2),rgba(255,255,255,.92) 62%); box-shadow: 0 12px 30px rgba(171,80,20,.14); }
.hero-refraction .hero-insight[data-facet="4"] { --facet: #343942; border-color: rgba(52,57,66,.42); background: linear-gradient(135deg,rgba(52,57,66,.16),rgba(255,255,255,.92) 62%); box-shadow: 0 12px 30px rgba(41,45,52,.12); }
@media (max-width: 900px) {
  .hero-refraction .hero-insight { width: 100%; padding: 15px 17px; margin-top: 22px; }
  .hero-refraction .hero-insight h2 { font-size: 23px; }
  .hero-refraction .hero-insight p { font-size: 12px; }
}

/* Cursor states: fixed coordinates come from the pointer, never from a transformed layout box. */
@media (pointer: fine) and (min-width: 901px) {
  .cursor {
    left: 0;
    top: 0;
    width: 58px;
    height: 58px;
    display: grid;
    border-radius: 50%;
    background: #fff;
    color: #111;
    mix-blend-mode: difference;
    transform: translate3d(-50%,-50%,0) scale(.2);
    will-change: transform, left, top;
  }
  .cursor.is-visible { transform: translate3d(-50%,-50%,0) scale(1); }
  .cursor.is-arrow::after { content: '↗'; font-size: 25px; }
  .cursor.is-grab::after { content: '→'; font-size: 27px; transform: none; }
  .cursor.is-phone { background: #fff; color: #111; mix-blend-mode: normal; }
  .cursor.is-phone::after {
    content: '☎';
    display: grid;
    width: 100%;
    height: 100%;
    margin: 0;
    background: none;
    -webkit-mask: none;
    mask: none;
    place-items: center;
    font: 400 25px/1 var(--sans);
    transform: none;
  }
}
