/* SuperMarioDoc: diagnostic illustration and cinematic work reel. */
.diagnostic-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 72% 42%, rgba(52,112,127,.18), transparent 48%), #07141e;
}
.diagnostic-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image: linear-gradient(rgba(158,235,206,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(158,235,206,.09) 1px, transparent 1px);
  background-size: 49px 49px;
  mask-image: radial-gradient(circle at 75% 52%, black, transparent 68%);
}
.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(280px, .73fr) minmax(0, 1.27fr);
  gap: clamp(35px, 4vw, 75px);
  align-items: center;
}
.diagnostic-copy { position: relative; z-index: 3; }
.diagnostic-copy h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 4vw, 4.2rem); }
.diagnostic-copy h2 span { color: #9db3c1; }
.diagnostic-copy > p:not(.kicker) { max-width: 440px; line-height: 1.85; color: #aebfca; font-size: 1.035rem; }
.diagnostic-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-top: 19px;
  border: 1px solid rgba(201,250,123,.24);
  border-radius: 100px;
  background: rgba(201,250,123,.07);
  color: #d5ecc4;
  font-size: .85rem;
  font-weight: 700;
}
.chip-light, .screen-live b, .notification-indicator, .film-live-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(201,250,123,.12), 0 0 18px rgba(201,250,123,.75);
  animation: statusGlow 1.9s ease-in-out infinite;
}
.diagnostic-stage { position: relative; min-height: 450px; display: grid; place-items: center; perspective: 1100px; }
.diagnostic-halo {
  position: absolute;
  width: 77%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(83,173,195,.24), transparent 68%);
  border: 1px solid rgba(118,215,205,.12);
  box-shadow: 0 0 0 46px rgba(121,197,210,.018), 0 0 0 98px rgba(121,197,210,.014);
  animation: haloPulse 7s ease-in-out infinite;
}
.diagnostic-screen {
  width: min(100%, 660px);
  position: relative;
  overflow: hidden;
  background: #06131b;
  border: 1px solid rgba(151,210,216,.39);
  border-radius: 17px;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.025), 0 25px 65px rgba(0,0,0,.53), 0 0 80px rgba(72,201,171,.10);
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
  animation: screenBreathe 8s ease-in-out infinite;
}
.diagnostic-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(87,195,182,.017) 6px, transparent 7px);
  mix-blend-mode: screen;
}
.screen-top {
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid rgba(160,220,218,.17);
  background: #0f2630;
  color: #9eb8bd;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.screen-lights { display: flex; gap: 6px; }
.screen-lights i { width: 9px; height: 9px; border-radius: 50%; background: #48737b; }
.screen-lights i:first-child { background: #e9947f; }
.screen-lights i:nth-child(2) { background: #e3cf76; }
.screen-lights i:last-child { background: #75d0a7; }
.screen-live { display: flex; align-items: center; gap: 9px; color: #d0f3c2; white-space: nowrap; }
.screen-live b { width: 6px; height: 6px; }
.screen-contents { position: relative; overflow: hidden; padding: 25px 25px 32px; }
.screen-contents::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 26px;
  top: -20%;
  background: linear-gradient(transparent, rgba(157,249,195,.13), transparent);
  animation: sweep 5.8s linear infinite;
}
.metric-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.metric-row > div > span { color: #a2b8bd; font-size: .6rem; letter-spacing: .18em; display: block; font-weight: 800; }
.metric-row strong { color: #edf6f5; display: block; font-size: 1.15rem; font-weight: 760; margin-top: 2px; }
.metric-running { display: flex; gap: 8px; align-items: center; font-size: .61rem; letter-spacing: .08em; font-weight: 800; white-space: nowrap; color: #9eddb7; }
.metric-running i { width: 10px; height: 10px; border: 2px solid rgba(159,238,178,.23); border-top-color: #b9f17f; border-radius: 50%; animation: spin .85s linear infinite; }
.monitor-chart { display: block; width: 100%; height: 202px; overflow: visible; }
.chart-grid { fill: none; stroke: rgba(138,214,198,.13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.graph-area { fill: url(#chartFill); }
.graph-line { fill: none; vector-effect: non-scaling-stroke; stroke-width: 2.8; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(202,252,132,.3)); }
.graph-primary { stroke: #c8fa7b; }
.graph-secondary { stroke: #64bdea; stroke-width: 2; opacity: .92; }
.chart-point { fill: #c9fa7b; filter: drop-shadow(0 0 8px #a8fd6d); animation: pointBlink 2.2s ease-in-out infinite; }
.screen-stats { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; color: #a6bec4; font-size: .58rem; letter-spacing: .075em; font-weight: 800; margin-top: 14px; }
.screen-stats span { display: inline-flex; align-items: center; gap: 7px; }
.stat-dot { width: 6px; height: 6px; border-radius: 50%; background: #c9fa7b; }
.stat-dot.blue { background: #64bdea; }
.screen-progress { height: 5px; margin-top: 21px; background: #1b3941; border-radius: 4px; overflow: hidden; }
.screen-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4a9fac, #c9fa7b); box-shadow: 0 0 12px rgba(201,250,123,.55); animation: progressTravel 5.6s ease-in-out infinite alternate; }
.diagnostic-disclaimer { display: block; padding: 0 25px 12px; font-size: .62rem; letter-spacing: .03em; color: #78999f; text-align: right; }
.floating-system, .floating-telemetry, .floating-notification { position: absolute; z-index: 4; backdrop-filter: blur(12px); box-shadow: 0 15px 42px rgba(0,0,0,.35); }
.floating-system {
  display: flex; align-items: center; gap: 13px;
  right: -3%; bottom: 7%;
  background: rgba(19,53,53,.93);
  border: 1px solid rgba(170,255,153,.36);
  border-radius: 14px; padding: 17px 19px;
  animation: floatA 5s ease-in-out infinite;
}
.floating-check { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #c9fa7b; color: #0f3128; font-weight: 950; font-size: 1.45rem; box-shadow: 0 0 25px rgba(201,250,123,.18); }
.floating-system small { display: block; color: #a3c2b7; font-size: .59rem; letter-spacing: .13em; font-weight: 800; }
.floating-system strong { display: block; color: #e8ffdf; font-size: .99rem; white-space: nowrap; }
.floating-system div > span { color: #acd5be; display: block; font-size: .74rem; }
.floating-telemetry { display: flex; gap: 13px; align-items: center; top: 1%; left: -5%; border: 1px solid rgba(126,203,236,.28); padding: 12px 14px; border-radius: 12px; background: rgba(11,37,52,.94); animation: floatB 6.2s ease-in-out infinite; }
.mini-bars { height: 37px; display: flex; gap: 3px; align-items: end; }
.mini-bars i { background: linear-gradient(#70d9e5,#347e98); border-radius: 2px 2px 0 0; width: 4px; height: 36%; animation: barWave .9s ease-in-out infinite alternate; }
.mini-bars i:nth-child(2) { animation-delay: -.4s; height: 74%; }
.mini-bars i:nth-child(3) { animation-delay: -.2s; height: 50%; }
.mini-bars i:nth-child(4) { animation-delay: -.7s; height: 93%; }
.mini-bars i:nth-child(5) { animation-delay: -.5s; height: 65%; }
.mini-bars i:nth-child(6) { animation-delay: -.15s; height: 82%; }
.mini-bars i:nth-child(7) { animation-delay: -.3s; height: 47%; }
.floating-telemetry > span:last-child { color: #8db7c2; font-size: .57rem; font-weight: 800; letter-spacing: .09em; }
.floating-telemetry strong { display: block; color: #e6f7fc; font-size: .81rem; letter-spacing: 0; }
.floating-notification { display: flex; align-items: center; gap: 10px; top: 7%; right: -4%; padding: 11px 14px; border: 1px solid rgba(201,250,123,.17); background: #112f34e8; border-radius: 100px; color: #b9edcd; font-size: .63rem; letter-spacing: .07em; font-weight: 850; animation: floatA 6.8s ease-in-out infinite reverse; }
.notification-indicator { width: 5px; height: 5px; }
.pc-tower { position: absolute; left: 1%; bottom: -6%; width: 85px; height: 185px; border: 2px solid #46616b; border-radius: 8px; background: linear-gradient(105deg, #081219, #16303a); transform: rotate(-5deg); box-shadow: 10px 18px 25px #0007, inset 0 0 0 5px #0b1b24; opacity: .8; }
.pc-top { position: absolute; height: 3px; width: 64%; left: 18%; top: 12%; background: #34515f; }
.pc-fan { width: 54px; height: 54px; position: absolute; left: 14px; border: 2px solid #345c6a; border-radius: 50%; background: repeating-conic-gradient(from 20deg, #17333f 0deg 30deg, #0b1e28 30deg 56deg); box-shadow: inset 0 0 0 8px #10252f, 0 0 12px rgba(75,192,171,.1); animation: spin 6s linear infinite; }
.fan-top { top: 34px; } .fan-bottom { top: 100px; animation-direction: reverse; }
.pc-led { position: absolute; bottom: 9px; left: 42px; width: 5px; height: 5px; background: #bbf579; border-radius: 50%; box-shadow: 0 0 12px #bbf579; animation: statusGlow 1.4s infinite; }

/* About: keep the actual portrait as the only photograph in this section. */
.about-visual--single .about-portrait {
  width: 100%;
  height: 625px;
  object-position: center 33%;
  border-radius: 22px;
}
/* Film reel: the clip is assembled from Mario's own photographs, muted. */
.work-film { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; border: 1px solid rgba(148,196,204,.22); background: #102632; aspect-ratio: 16 / 9; box-shadow: 0 25px 65px rgba(0,0,0,.22); }
.work-film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,rgba(0,7,13,.78),transparent 34%,transparent 68%,rgba(0,7,13,.38)); }
.film-heading { position: absolute; z-index: 2; left: clamp(22px,4vw,53px); top: clamp(18px,3vw,36px); pointer-events: none; display: flex; flex-direction: column; gap: 12px; }
.film-heading > span { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(.59rem,.9vw,.75rem); font-weight: 850; letter-spacing: .14em; color: #ecf9ec; }
.film-heading > strong { max-width: 620px; font-size: clamp(1.7rem,3.8vw,4rem); letter-spacing: -.05em; line-height: 1.04; text-shadow: 0 3px 25px rgba(0,0,0,.62); }
.film-live-dot { width: 7px; height: 7px; background: #ff8570; box-shadow: 0 0 0 4px #ff85702c, 0 0 12px #ff8570; }
.film-toggle { position: absolute; z-index: 5; right: clamp(16px,3vw,38px); bottom: clamp(16px,3vw,38px); display: flex; align-items: center; gap: 9px; border: 1px solid rgba(228,244,242,.7); background: rgba(5,19,26,.78); color: #fff; border-radius: 100px; padding: 11px 16px; font-weight: 850; font-size: .81rem; cursor: pointer; backdrop-filter: blur(12px); transition: background .2s, transform .2s; }
.film-toggle:hover { background: #173d48; transform: translateY(-2px); }
.film-toggle > span:first-child { font-size: 1.2rem; line-height: 1; width: 15px; text-align: center; }

@keyframes statusGlow { 50% { opacity: .4; box-shadow: 0 0 0 2px rgba(201,250,123,.08); } }
@keyframes haloPulse { 50% { scale: 1.07; opacity: .55; } }
@keyframes screenBreathe { 50% { transform: rotateY(-3deg) rotateX(1deg) translateY(-5px); } }
@keyframes sweep { from { top: -20%; } to { top: 130%; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes pointBlink { 50% { opacity: .33; } }
@keyframes progressTravel { to { width: 97%; } }
@keyframes floatA { 50% { translate: 0 -13px; } }
@keyframes floatB { 50% { translate: 0 10px; } }
@keyframes barWave { to { height: 16%; } }

@media (max-width: 1000px) {
  .diagnostic-layout { grid-template-columns: 1fr; gap: 40px; }
  .diagnostic-copy { max-width: 780px; }
  .diagnostic-stage { width: min(100%, 750px); margin-inline: auto; min-height: 465px; }
  .diagnostic-screen { width: 90%; }
  .floating-system { right: 0; }
  .floating-telemetry { left: 0; }
  .pc-tower { left: 0; }
  .about-visual--single .about-portrait { height: 540px; }
}
@media (max-width: 620px) {
  .diagnostic-copy > p:not(.kicker) { font-size: .97rem; }
  .diagnostic-stage { min-height: 350px; width: 100%; margin-top: 7px; }
  .diagnostic-screen { width: 100%; transform: none; animation: none; border-radius: 12px; }
  .screen-top { min-height: 40px; padding: 0 10px; gap: 8px; font-size: .48rem; letter-spacing: .055em; }
  .screen-lights { gap: 3px; }
  .screen-lights i { width: 6px; height: 6px; }
  .screen-contents { padding: 15px 14px 19px; }
  .metric-row strong { font-size: .94rem; }
  .metric-row > div > span, .metric-running { font-size: .48rem; }
  .monitor-chart { height: 143px; }
  .screen-stats { font-size: .46rem; }
  .diagnostic-disclaimer { font-size: .5rem; padding: 0 14px 11px; }
  .floating-telemetry { top: -17px; left: 0; transform: scale(.8); transform-origin: left top; }
  .floating-notification { top: -16px; right: -7px; transform: scale(.76); transform-origin: right top; }
  .floating-system { right: -4px; bottom: -14px; transform: scale(.82); transform-origin: right bottom; padding: 11px; }
  .floating-system strong { font-size: .83rem; }
  .pc-tower { display: none; }
  .about-visual--single { min-height: 0; }
  .about-visual--single .about-portrait { height: 395px; width: 100%; }
  .work-film { aspect-ratio: 4 / 3; border-radius: 16px; }
  .film-heading { top: 14px; left: 15px; gap: 8px; }
  .film-heading > span { font-size: .56rem; letter-spacing: .07em; }
  .film-heading > strong { font-size: clamp(1.5rem,6.2vw,2.2rem); }
  .film-toggle { right: 12px; bottom: 12px; font-size: .75rem; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .diagnostic-stage *, .diagnostic-stage *::before, .diagnostic-stage *::after, .film-live-dot { animation: none !important; }
  .diagnostic-screen { transform: none; }
}

/* Home: the first visual is Mario's real tattooed hand working beside the SSD. */
.hero-hands .hero-portrait {
  top: 1%;
  right: 7%;
  width: 85%;
  height: 91%;
  border-radius: 27px;
  border: 1px solid rgba(137,214,231,.42);
  box-shadow: 0 35px 92px rgba(0,0,0,.59), 0 0 80px rgba(74,194,189,.12);
}
.hero-hands .hero-portrait img {
  object-fit: cover;
  object-position: center 49%;
  filter: saturate(1.05) contrast(1.09);
}
.hero-hands .hero-portrait::after {
  background: linear-gradient(0deg,rgba(4,16,24,.73), transparent 34%), linear-gradient(100deg,rgba(68,189,200,.08),transparent 70%);
}
.hero-hands .hero-orbit { inset: 3% 1% 6%; }
.hero-work-label {
  position: absolute;
  left: -1%;
  bottom: 2%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 17px 22px;
  border: 1px solid rgba(201,250,123,.34);
  border-radius: 15px;
  background: rgba(9,31,39,.94);
  box-shadow: 0 16px 35px rgba(0,0,0,.43);
  backdrop-filter: blur(12px);
}
.hero-work-label > span { display: flex; align-items: center; gap: 9px; color: var(--lime); font-weight: 850; font-size: .6rem; letter-spacing: .15em; }
.hero-work-label > span i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-work-label strong { font-size: 1.02rem; line-height: 1.25; }
.hero-work-label small { font-size: .74rem; color: #b8c9d3; }

/* Home: larger powered-on desktop PC, illustrated light effects layered over
   a genuine photograph of Mario's open, liquid-cooled PC. */
.diagnostic-layout { grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr); gap: clamp(25px,3vw,55px); }
.diagnostic-stage { min-height: 475px; justify-items: start; perspective: 1100px; }
.diagnostic-screen {
  z-index: 2;
  width: 68%;
  margin-left: 0;
  transform: rotateY(-5deg) rotateX(1deg);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.025), 0 25px 65px rgba(0,0,0,.62), 0 0 34px rgba(58,235,196,.16);
}
.screen-top { padding-inline: 13px; gap: 9px; font-size: .51rem; }
.screen-contents { padding: 17px 16px 20px; }
.monitor-chart { height: 190px; }
.metric-row strong { font-size: .99rem; }
.metric-running { font-size: .47rem; }
.screen-stats { font-size: .47rem; }
.screen-stand {
  position: absolute;
  left: 23%;
  bottom: 2%;
  width: 15%;
  height: 90px;
  z-index: 1;
  background: linear-gradient(90deg,#172936,#2c434f 52%,#0c1d27);
  clip-path: polygon(35% 0,65% 0,70% 79%,100% 88%,100% 100%,0 100%,0 88%,30% 79%);
  filter: drop-shadow(0 20px 15px rgba(0,0,0,.6));
}
.pc-tower {
  left: auto;
  right: -2%;
  bottom: 6%;
  width: 33%;
  height: 370px;
  z-index: 2;
  opacity: 1;
  overflow: hidden;
  border: 4px solid #3d535e;
  border-radius: 12px;
  background: #0b151e;
  box-shadow: 18px 22px 39px rgba(0,0,0,.58), inset 0 0 0 8px #08121b, 0 0 33px rgba(71,197,216,.13);
  transform: perspective(700px) rotateY(-9deg) rotate(-1deg);
}
.pc-tower::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 4px;
  border: 1px solid rgba(190,231,246,.26);
  border-radius: 7px;
  background: linear-gradient(120deg,rgba(191,231,249,.12),transparent 35%,rgba(77,175,195,.1) 75%,transparent);
  pointer-events: none;
}
.pc-tower::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 6px auto 6px 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(#3cf2f4,#a352ff,#b5ff8e,#3cf2f4);
  background-size: 100% 240%;
  box-shadow: 0 0 16px #40e6ee, 0 0 26px rgba(186,85,255,.3);
  animation: rgbFlow 4s linear infinite;
}
.pc-hardware {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 16% center;
  filter: brightness(.60) contrast(1.15) saturate(1.13);
  opacity: .94;
}
.pc-top { z-index: 5; width: 65%; top: 7px; background: #3c6d77; box-shadow: 0 0 5px #43c7da; }
.pc-fan {
  z-index: 2;
  width: clamp(44px,5.5vw,78px);
  height: clamp(44px,5.5vw,78px);
  border: 5px solid rgba(70,226,255,.85);
  background: radial-gradient(circle,#0a1822 0 19%,rgba(49,94,110,.62) 21% 64%,#162632 67%);
  box-shadow: 0 0 12px #45e5fb, 0 0 30px rgba(114,80,238,.7), inset 0 0 12px rgba(125,220,251,.95);
  animation: fanLight 3s ease-in-out infinite alternate;
}
.pc-fan::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 4deg, rgba(194,244,255,.75) 0deg 24deg, #0d2836 24deg 48deg, #0d2836 48deg 72deg);
  animation: rotorSpin .78s linear infinite;
  opacity: .85;
}
.pc-fan::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 37%;
  border-radius: 50%;
  background: #193c4a;
  border: 2px solid #a4e9ff;
  box-shadow: 0 0 8px #8bfbf5;
}
.fan-top { top: 11%; left: 7%; }
.fan-bottom { top: 38%; left: 7%; animation-delay: -1.3s; }
.fan-bottom::before { animation-duration: 1.03s; animation-direction: reverse; }
.pc-rgb-strip {
  position: absolute;
  z-index: 3;
  right: 8%;
  top: 16%;
  width: 5px;
  height: 55%;
  background: linear-gradient(180deg,#3ceaf9,#bc65fb,#9bfb7b,#35dbf0);
  background-size: 100% 220%;
  border-radius: 5px;
  box-shadow: 0 0 13px #77c6ff, 0 0 21px #b94dfa;
  animation: rgbFlow 5s linear infinite;
}
.pc-liquid-pump {
  position: absolute;
  z-index: 3;
  right: 13%;
  bottom: 23%;
  width: 52px;
  height: 52px;
  border: 6px solid rgba(127,254,230,.9);
  border-radius: 50%;
  background: radial-gradient(circle, #43b5c1, #112b42 50%,#0a1824 58%);
  box-shadow: inset 0 0 10px #5fe7fa, 0 0 13px #48dbd6, 0 0 27px rgba(112,235,223,.4);
  animation: liquidGlow 2.7s ease-in-out infinite;
}
.pc-liquid-tube {
  position: absolute;
  z-index: 2;
  border: 5px solid rgba(219,87,114,.82);
  box-shadow: 0 0 12px rgba(239,71,122,.52);
  border-radius: 45%;
  pointer-events: none;
}
.tube-a { width: 55%; height: 38%; left: 16%; bottom: 19%; border-right: 0; border-bottom: 0; transform: rotate(-13deg); }
.tube-b { width: 53%; height: 40%; left: 23%; bottom: 23%; border-left: 0; border-bottom: 0; transform: rotate(12deg); }
.pc-led { z-index: 5; left: auto; right: 14px; bottom: 12px; width: 7px; height: 7px; }
.floating-system { left: 23%; right: auto; bottom: -2%; padding: 13px 15px; }
.floating-system strong { font-size: .87rem; }
.floating-telemetry { top: -1%; left: -3%; }
.floating-notification { top: 0%; right: 0%; }

@keyframes rotorSpin { to { transform: rotate(360deg); } }
@keyframes fanLight { to { border-color: #cd73fa; box-shadow: 0 0 18px #ce70f8, 0 0 30px rgba(70,218,240,.6), inset 0 0 16px rgba(211,128,251,.93); } }
@keyframes liquidGlow { 50% { border-color: #cb74ef; box-shadow: inset 0 0 14px #75e4fd, 0 0 22px #be80ff, 0 0 36px rgba(125,222,241,.52); } }
@keyframes rgbFlow { to { background-position: 0 100%; } }

@media (max-width: 1100px) {
  .diagnostic-layout { grid-template-columns: 1fr; gap: 40px; }
  .diagnostic-stage { width: min(100%, 760px); margin-inline: auto; }
  .pc-fan { width: 78px; height: 78px; }
  .hero-hands .hero-portrait { width: 91%; right: 3%; }
}
@media (max-width: 620px) {
  .hero-hands { height: 510px; }
  .hero-hands .hero-portrait { width: 85%; right: 8%; height: 92%; }
  .hero-work-label { bottom: 0%; left: 0; padding: 12px 14px; }
  .hero-work-label strong { font-size: .86rem; }
  .diagnostic-stage { position: relative; display: block; min-height: 540px; margin-top: 23px; }
  .diagnostic-screen { width: 100%; margin: 0; transform: none; animation: none; }
  .screen-top { padding-inline: 10px; font-size: .49rem; }
  .screen-contents { padding: 13px 13px 18px; }
  .monitor-chart { height: 133px; }
  .screen-stand { display: none; }
  .pc-tower { display: block; width: 42%; height: 240px; right: 2%; bottom: 5px; border-width: 3px; }
  .pc-fan { width: 51px; height: 51px; border-width: 4px; }
  .pc-fan::before { inset: 4px; }
  .pc-liquid-pump { width: 34px; height: 34px; border-width: 4px; }
  .pc-liquid-tube { border-width: 3px; }
  .floating-system { left: 0; right: auto; bottom: 4%; transform-origin: left bottom; transform: scale(.8); }
  .floating-telemetry { left: 0; top: -14px; transform-origin: left top; transform: scale(.8); }
  .floating-notification { right: 0; top: auto; bottom: 232px; transform-origin: right bottom; transform: scale(.7); }
}
@media (prefers-reduced-motion: reduce) {
  .pc-fan, .pc-fan::before, .pc-tower::after, .pc-rgb-strip, .pc-liquid-pump { animation: none !important; }
}

/* Home restaurata dalle due immagini ORIGINALI del sito pubblico di Mario. */
.home-original {
  position: relative;
  background: #071521;
  padding: 75px 0 0;
  color: #f3f9ff;
}
.original-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 30px;
  min-height: 460px;
  padding: 60px 64px;
  border: 1px solid rgba(102, 204, 245, .2);
  border-radius: 25px;
  overflow: hidden;
  background: radial-gradient(ellipse 75% 95% at 84% 43%, rgba(0, 154, 216, .21), transparent 78%),
    radial-gradient(ellipse 48% 65% at 21% 95%, rgba(31, 49, 126, .24), transparent),
    linear-gradient(132deg, #030e1c 0%, #08243b 100%);
}
.original-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .1;
  pointer-events: none;
  background-image: linear-gradient(#6daed933 1px, transparent 1px), linear-gradient(90deg, #6daed933 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(0deg, black, transparent 80%);
}
.original-copy { position: relative; z-index: 2; }
.original-eyebrow { margin: 0 0 20px; font-size: .72rem; letter-spacing: .22em; font-weight: 900; color: #87daed; }
.original-copy h1 { margin: 0; max-width: 570px; font-size: clamp(2.6rem, 4.1vw, 4.7rem); letter-spacing: -.055em; line-height: 1.13; color: #fff; }
.original-copy h1 em { font-style: normal; color: #71d7ff; }
.original-copy>p:not(.original-eyebrow) { max-width: 520px; margin: 27px 0 24px; font-size: 1rem; color: #c6d6e3; line-height: 1.8; }
.original-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.original-pills span { border: 1px solid #42738c; color: #c3d7e2; border-radius: 99px; padding: 7px 12px; font-size: .76rem; }
.original-contact { margin-top: 28px; min-height: 48px; font-size: .84rem; }
.original-hero-monitor { position: relative; z-index: 1; justify-self: end; width: 100%; max-width: 440px; transform: perspective(900px) rotateY(-8deg) rotateZ(-3deg); }
.original-monitor-body { position: relative; min-height: 250px; border: 11px solid #183a50; border-radius: 22px; padding: 18px 20px; background: linear-gradient(147deg,#081a30,#051021); box-shadow: 0 0 0 1px #51a6d955, 0 40px 75px #0009, 0 0 60px #078ac02f; text-align: center; display: flex; align-items: center; flex-direction: column; }
.original-monitor-heading { align-self: flex-end; font-size: .52rem; letter-spacing: .24em; font-weight: 800; color: #a4d6ec; }
.original-monitor-check { display: grid; place-items: center; margin: 15px 0 7px; width: 52px; height: 52px; border: 4px solid #35e99a; border-radius: 50%; color: #35e99a; font-size: 2rem; font-weight: 900; }
.original-monitor-body strong { font-size: .9rem; letter-spacing: .12em; color: #d9f3ff; }
.original-monitor-body small { color: #738eaa; margin: 5px 0 13px; font-size: .59rem; }
.original-monitor-bars { display: flex; align-items: flex-end; gap: 6px; height: 34px; }
.original-monitor-bars i { width: 17px; height: 28px; border-radius: 3px 3px 0 0; background: linear-gradient(#14e0df,#1378fd); box-shadow: 0 0 15px #068fff55; animation: originalBars 2.3s ease-in-out infinite alternate; }
.original-monitor-bars i:nth-child(2n) { animation-delay: -.65s; }
.original-monitor-bars i:nth-child(3n) { animation-delay: -1.25s; }
.original-monitor-stand { width: 55%; height: 23px; margin: -2px auto 0; background: linear-gradient(#638aa6,#1b405b); clip-path: polygon(42% 0,58% 0,72% 75%,100% 100%,0 100%,28% 75%); }
.original-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.original-photo-card { margin: 0; overflow: hidden; border-radius: 16px; border: 1px solid #4a748a88; background: #eef4f6; color: #132c39; box-shadow: 0 18px 45px #0005; }
.original-scene { position: relative; width: 100%; aspect-ratio: 1280 / 719; overflow: hidden; isolation: isolate; background: #071d31; }
.original-base, .tattoo-edit { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: fill; }
.tattoo-edit { pointer-events: none; }
/* Le immagini ritoccate appaiono SOLO sulla pelle: tutto il resto resta il file originale. */
.tattoo-forearm { clip-path: polygon(0 48%, 21% 47%, 22% 65%, 0 69%); }
.tattoo-left-hand { clip-path: polygon(25% 48%, 28% 44%, 33% 41%, 40% 40%, 46% 44%, 49% 49%, 52% 58%, 51% 66%, 46% 70%, 35% 69%, 27% 65%); }
.tattoo-right-hand { clip-path: polygon(51% 42%, 54% 39%, 57% 36%, 62% 35%, 67% 37%, 71% 43%, 73% 58%, 72% 65%, 65% 65%, 59% 60%, 55% 55%, 51% 52%); }
.original-photo-card figcaption { padding: 22px 22px 24px; text-align: center; }
.original-photo-card h2 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; color: #1e3c4a; margin: 0 0 8px; }
.original-photo-card p { font-size: .94rem; color: #536b78; margin: 0; line-height: 1.5; }
.original-screen-animation { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.original-graph-shade { fill: #061a32; opacity: .79; }
.original-telemetry-shade { opacity: .48; }
.animated-original-line { stroke: #25d5ff; stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px #35caff); opacity: .96; }
.animated-original-bars rect { fill: #34d9ff; filter: drop-shadow(0 0 3px #16baf3); opacity: .95; }
.animated-original-telemetry rect { fill: #3eeaff; opacity: .82; }
/* The cooling fan is anchored to the exact fan center of the 1280x719 photograph.
   Only the blades move; the heat sink, frame, desk and monitor remain fixed. */
.original-fan-assembly { position: absolute; left: 70.25%; top: 37.3%; width: 8.4%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.original-fan-rotor { position: absolute; inset: 5%; overflow: hidden; border-radius: 50%; background: #101924; box-shadow: inset 0 0 11px #000b; }
.original-fan-blades { position: absolute; inset: 0; border-radius: 50%; background-image: url('assets/home-diagnostica-original.png'); background-size: 1333% 749%; background-position: 71.9% 35.0%; filter: brightness(1.14) contrast(1.22); mask-image: radial-gradient(circle, #000 0 75%, transparent 95%); animation: originalFanSpin 1.35s linear infinite; will-change: transform; }
.original-fan-blades::after { content: ''; position: absolute; inset: 3%; border-radius: 50%; background: repeating-conic-gradient(from 10deg, #7a9aab42 0deg 9deg, #0a1a2500 13deg 42deg, #accbdb30 45deg 51deg); }
.original-fan-hub { position: absolute; left: 39%; top: 39%; width: 22%; height: 22%; border-radius: 50%; background: radial-gradient(circle at 36% 32%,#33404b 0%,#151d27 36%,#071017 78%); box-shadow: 0 0 0 1px #5b717a55, 0 2px 5px #0009; }
.original-fan-light { position: absolute; inset: 0; border: 2px solid #4bc9f4b8; border-radius: 50%; box-shadow: inset 0 0 5px #2abbff8a, 0 0 5px #2bcbfa75; animation: originalFanGlow 3.1s ease-in-out infinite; }
.original-fan-light::before { content: ''; position: absolute; inset: 5%; border: 1px solid #55cfff75; border-radius: 50%; }
.original-home-note { text-align: right; padding-top: 13px; color: #849cab; font-size: .68rem; }
.home-original .hero-trust { margin-top: 38px; }
@keyframes originalBars { from { transform: scaleY(.62); opacity: .68; } to { transform: scaleY(1); opacity: 1; } }
@keyframes originalFanSpin { to { transform: rotate(360deg); } }
@keyframes originalFanGlow { 50% { border-color: #9fe9ff; box-shadow: inset 0 0 7px #59d1ffb8, 0 0 9px #5cddffa8; } }
@media (max-width: 940px) {
  .original-banner { padding: 45px 38px; gap: 22px; min-height: 420px; }
  .original-copy h1 { font-size: clamp(2.2rem, 4.8vw, 3.3rem); }
  .original-monitor-body { min-height: 205px; border-width: 7px; }
  .original-photo-grid { gap: 16px; }
}
@media (max-width: 680px) {
  .home-original { padding-top: 27px; }
  .original-banner { display: flex; flex-direction: column; align-items: stretch; padding: 31px 22px 38px; gap: 26px; border-radius: 16px; }
  .original-copy h1 { font-size: clamp(2.2rem, 8vw, 3.3rem); }
  .original-copy>p:not(.original-eyebrow) { margin: 18px 0; }
  .original-hero-monitor { align-self: center; width: min(88%,350px); }
  .original-monitor-body { min-height: 225px; }
  .original-photo-grid { grid-template-columns: 1fr; margin-top: 18px; gap: 20px; }
  .original-photo-card figcaption { padding: 17px 14px 20px; }
  .original-photo-card h2 { font-size: 1.08rem; }
  .original-photo-card p { font-size: .85rem; }
  .original-home-note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .original-monitor-bars i, .original-fan-blades, .original-fan-light { animation: none !important; }
}

/* V6 · Portfolio compatto: tre mini-film ricavati dalle fotografie reali di Mario. */
.work-section { padding-top: 88px; padding-bottom: 88px; }
.work-head { margin-bottom: 30px; }
.work-showcase { display: grid; grid-template-columns: minmax(0,1.48fr) minmax(300px,.82fr); align-items: start; gap: clamp(18px,2.5vw,30px); max-width: 1130px; margin: 0 auto; }
.work-player { min-width: 0; overflow: hidden; border-radius: 19px; border: 1px solid rgba(151,195,202,.24); background: #0e2430; box-shadow: 0 15px 40px rgba(0,0,0,.18); }
.work-player .work-film { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; max-height: 355px; }
.work-player .film-heading { top: 16px; left: 19px; }
.work-player .film-heading > span { font-size: .65rem; letter-spacing: .11em; background: #051821bd; border: 1px solid #c0fff12e; border-radius: 99px; padding: 8px 10px; backdrop-filter: blur(6px); }
.work-player .film-toggle { right: 15px; bottom: 15px; padding: 9px 14px; }
.work-player-caption { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 20px 22px 21px; }
.work-player-caption > div:first-child { min-width: 0; }
.work-video-counter { display: block; color: #b6ed97; font-size: .67rem; font-weight: 850; letter-spacing: .14em; margin-bottom: 7px; }
.work-player-caption h3 { font-size: clamp(1.2rem,2vw,1.55rem); font-weight: 850; letter-spacing: -.04em; margin: 0 0 6px; color: #f2fafa; }
.work-player-caption p { margin: 0; color: #9cb7c4; font-size: .88rem; line-height: 1.48; }
.work-video-navigation { display: flex; flex-shrink: 0; gap: 8px; }
.work-video-navigation button { width: 40px; height: 40px; border: 1px solid #63889675; border-radius: 12px; background: #193542; color: #e7f9f5; font-size: 1.75rem; line-height: .7; display: grid; place-items: center; cursor: pointer; transition: background .2s,transform .2s; }
.work-video-navigation button:hover { background: #2c5a62; transform: translateY(-2px); }
.work-video-navigation button:focus-visible,.work-item:focus-visible,.film-toggle:focus-visible { outline: 3px solid #c9fa7b; outline-offset: 3px; }
.work-playlist { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.work-playlist-heading { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 0 2px 5px; }
.work-playlist-heading span { font-size: .66rem; font-weight: 850; letter-spacing: .15em; color: #c6e1e0; }
.work-playlist-heading small { color: #7996a3; font-size: .75rem; }
.work-item { display: grid; grid-template-columns: 104px minmax(0,1fr) 22px; gap: 14px; align-items: center; text-align: left; padding: 9px 12px 9px 9px; width: 100%; min-height: 102px; border-radius: 15px; border: 1px solid #5b86984d; background: #112734; color: #e5f4f4; cursor: pointer; font: inherit; transition: transform .2s, background .2s, border-color .2s; }
.work-item:hover { transform: translateX(-3px); border-color: #a1e2b966; background: #183946; }
.work-item.is-selected { background: linear-gradient(110deg,#1c4648,#122d3b); border-color: #b9f39e9c; box-shadow: inset 3px 0 0 #c9fa7b; }
.work-item img { width: 104px; height: 82px; object-fit: cover; border-radius: 9px; filter: contrast(1.04) saturate(.84); }
.work-item > span:nth-of-type(1) { min-width: 0; }
.work-item small { display: block; font-size: .63rem; font-style: normal; font-weight: 850; letter-spacing: .06em; color: #a8daaa; }
.work-item strong { display: block; color: #edf9f6; font-size: .94rem; font-weight: 850; margin: 5px 0 3px; line-height: 1.2; }
.work-item em { display: block; font-size: .74rem; color: #91b1bd; font-style: normal; line-height: 1.35; }
.work-item-play { justify-self: end; font-size: .71rem; color: #c5fca4; }
.work-playlist-note { font-size: .77rem; line-height: 1.6; color: #93adb9; margin: 4px 2px 0; }
.work-section .gallery-cta { max-width: 1130px; margin: 24px auto 0; }

/* V6 · Il volto resta lo stesso, ma il lavoro e il rapporto con il cliente diventano protagonisti. */
.about-section { padding-top: 90px; padding-bottom: 100px; }
.about-section .about-grid { grid-template-columns: minmax(195px,265px) minmax(0,1fr); gap: clamp(32px,5.5vw,75px); align-items: start; max-width: 1130px; }
.about-section .about-visual--single { min-height: 0; width: 100%; margin-top: 12px; }
.about-section .about-visual--single .about-portrait { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%; border-radius: 17px; box-shadow: 0 14px 32px #19404a24; }
.about-image-note { display: block; font-size: .67rem; font-weight: 850; letter-spacing: .12em; color: #50757c; margin-top: 12px; text-align: center; }
.about-section .about-content h2 { font-size: clamp(2.8rem,4.4vw,4.5rem); margin-bottom: 16px; }
.about-section .about-content .about-lead { max-width: 760px; margin-bottom: 20px; font-size: clamp(1.08rem,1.8vw,1.28rem); }
.about-section .about-content > p { max-width: 770px; font-size: 1rem; line-height: 1.75; margin-bottom: 13px; }
.about-values { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 23px; }
.about-values span { display: inline-flex; padding: 8px 12px; border: 1px solid #95c4b5; border-radius: 100px; background: #dff0e8; color: #286253; font-size: .79rem; font-weight: 760; }
.about-section .about-signoff { margin-top: 25px; max-width: 680px; }
.reviews-block { max-width: 1130px; margin: 68px auto 0; padding-top: 37px; border-top: 1px solid #bfd3d3; }
.reviews-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.reviews-intro .kicker { color: #33816e; margin-bottom: 10px; }
.reviews-intro h3 { font-size: clamp(2.2rem,3.5vw,3.1rem); line-height: 1.12; letter-spacing: -.055em; color: #13323d; margin: 0 0 9px; }
.reviews-intro h3 em { color: #338373; font-style: normal; }
.reviews-intro p:not(.kicker) { max-width: 680px; color: #526d77; font-size: .91rem; line-height: 1.6; margin: 0; }
.reviews-all { flex-shrink: 0; border-bottom: 1px solid #317c72; padding-bottom: 5px; color: #1e655f; font-size: .84rem; font-weight: 850; }
.reviews-all:hover { color: #0d342f; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.review-card { margin: 0; display: flex; flex-direction: column; min-height: 198px; border: 1px solid #c5d8d8; border-radius: 17px; padding: 21px 21px 19px; background: #f9fcfb; box-shadow: 0 12px 28px #193e4710; }
.review-quote-mark { height: 27px; font-family: Georgia,serif; font-size: 3rem; line-height: 1; color: #58a58a; }
.review-card p { color: #1e3e4c; line-height: 1.45; font-size: 1.06rem; font-weight: 760; margin: 15px 0 16px; }
.review-card footer { color: #66828d; font-size: .75rem; line-height: 1.5; margin-top: auto; }
.review-card footer span { display: block; font-weight: 850; color: #267969; }
.review-invite { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 27px; margin-top: 17px; background: #d9ebe5; border-radius: 17px; border: 1px solid #b7d1c7; }
.review-invite strong { color: #163c42; font-size: 1.01rem; }
.review-invite p { color: #58747b; font-size: .87rem; line-height: 1.5; margin: 5px 0 0; }
.review-invite .button { flex-shrink: 0; }

/* V6 · Collegamenti social chiari e leggibili, compreso lo stato in attesa di TikTok. */
.contact-side .social-buttons { display: grid; grid-template-columns: 1fr; width: 100%; gap: 9px; margin-top: 2px; }
.social-button { display: flex; gap: 10px; align-items: center; padding: 12px 10px; border: 1px solid #a5cad144; border-radius: 13px; background: #21424caa; color: #eefaf6; min-width: 0; transition: transform .2s, border-color .2s, background .2s; }
a.social-button:hover { transform: translateY(-2px); background: #285760; border-color: #b8f6bf8c; }
a.social-button:focus-visible { outline: 3px solid #c9fa7b; outline-offset: 3px; }
.social-icon { width: 33px; height: 33px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 900; color: #fff; background: #3764c4; }
.social-instagram .social-icon { background: linear-gradient(140deg,#7154d6,#e24083,#f4b659); }
.social-tiktok .social-icon { background: #101820; box-shadow: inset 2px 0 #5ce1df,inset -2px 0 #f55b7d; }
.social-button strong { display: block; font-size: .86rem; color: #eff9f7; }
.social-button small { display: block; font-size: .69rem; color: #a1bdc7; margin-top: 2px; overflow-wrap: anywhere; }
.quote-request { margin-top: 18px; }
.quote-request a { font-size: .88rem; font-weight: 780; color: #d7f3bf; text-decoration: underline; text-underline-offset: 5px; }
.quote-request a:hover { color: #fff; }

@media (max-width: 1020px) {
  .work-showcase { grid-template-columns: minmax(0,1.18fr) minmax(280px,.82fr); }
  .work-item { grid-template-columns: 82px minmax(0,1fr) 15px; gap: 10px; }
  .work-item img { width: 82px; height: 77px; }
  .work-item em { display: none; }
  .contact-side .social-buttons { max-width: 430px; }
}
@media (max-width: 800px) {
  .work-showcase { display: block; }
  .work-player { max-width: 680px; margin: auto; }
  .work-playlist { max-width: 680px; margin: 16px auto 0; }
  .work-item { grid-template-columns: 105px minmax(0,1fr) 24px; }
  .work-item img { width: 105px; }
  .work-item em { display: block; }
  .about-section .about-grid { grid-template-columns: minmax(170px,230px) minmax(0,1fr); gap: 26px; }
  .reviews-grid { gap: 10px; }
  .review-card { padding: 17px; }
  .review-card p { font-size: .97rem; }
}
@media (max-width: 620px) {
  .work-section { padding-top: 63px; padding-bottom: 65px; }
  .work-player .work-film { aspect-ratio: 16 / 10; border-radius: 0; }
  .work-player .film-heading { top: 9px; left: 10px; }
  .work-player .film-heading > span { font-size: .52rem; padding: 6px 8px; }
  .work-player .film-toggle { right: 9px; bottom: 9px; }
  .work-player-caption { padding: 17px 14px; }
  .work-player-caption p { font-size: .8rem; }
  .work-video-navigation button { width: 34px; height: 38px; }
  .work-playlist { display: flex; flex-direction: row; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 3px 2px 12px; scrollbar-width: thin; }
  .work-playlist-heading,.work-playlist-note { display: none; }
  .work-item { scroll-snap-align: start; min-width: 238px; min-height: 100px; grid-template-columns: 80px minmax(0,1fr); gap: 9px; padding: 8px; }
  .work-item img { width: 80px; height: 79px; }
  .work-item strong { font-size: .85rem; }
  .work-item em,.work-item-play { display: none; }
  .work-section .gallery-cta { margin-top: 8px; }
  .about-section { padding-top: 64px; padding-bottom: 65px; }
  .about-section .about-grid { display: flex; flex-direction: column; gap: 26px; }
  .about-section .about-content { order: 1; }
  .about-section .about-visual--single { order: 2; width: 175px; align-self: center; margin: 0; }
  .about-section .about-visual--single .about-portrait { height: auto; width: 100%; aspect-ratio: 4/5; }
  .about-image-note { font-size: .58rem; }
  .about-section .about-content h2 { font-size: 2.8rem; }
  .about-section .about-content .about-lead { font-size: 1.13rem; }
  .about-section .about-content > p { font-size: 1rem; }
  .about-section .about-signoff { align-items: flex-start; gap: 12px; }
  .about-section .about-signoff > span:first-child { max-width: 180px; }
  .reviews-block { margin-top: 38px; padding-top: 28px; }
  .reviews-intro { display: block; }
  .reviews-intro h3 { font-size: 2.4rem; }
  .reviews-all { display: inline-block; margin-top: 14px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 9px; }
  .review-card { min-height: 130px; padding: 16px 18px; }
  .review-quote-mark { height: 14px; font-size: 2.4rem; }
  .review-card p { margin: 10px 0; }
  .review-card footer span { display: inline; }
  .review-invite { flex-direction: column; align-items: stretch; padding: 19px; }
  .review-invite .button { width: 100%; text-align: center; }
  .contact-side .social-buttons { grid-template-columns: 1fr; }
  .social-button { flex-direction: row; align-items: center; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-item,.social-button,.work-video-navigation button { transition: none; }
}

/* A small entry point to the dedicated Windows software library. */
.downloads-teaser { display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:28px;padding:30px 32px;border-radius:19px;background:#0b2730;color:#f0f8f7;border:1px solid #28665d;box-shadow:0 18px 40px #12342a12; }
.downloads-teaser-label { display:block;color:#c9fa7b;font-size:.71rem;font-weight:850;letter-spacing:.16em;margin-bottom:10px; }
.downloads-teaser h3 { margin:0 0 9px;font-size:clamp(1.36rem,2.2vw,1.9rem);letter-spacing:-.035em; }
.downloads-teaser p { margin:0;max-width:690px;color:#b7cfce;line-height:1.6;font-size:.95rem; }
.downloads-teaser .button { flex:0 0 auto; }
@media(max-width:800px){.downloads-teaser { flex-direction:column;align-items:stretch;padding:26px 22px; }.downloads-teaser .button { width:100%;text-align:center; }}
.music-invite { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:19px 24px; border:1px solid rgba(170,221,181,.28); border-radius:16px; background:linear-gradient(110deg,#153840,#102734); max-width:1130px; margin:19px auto 0; }
.music-invite-kicker { display:block; color:#c9fa7b; font-size:.73rem; letter-spacing:.12em; font-weight:850; margin-bottom:3px; }
.music-invite strong { display:block; color:#f6fffb; font-size:1.08rem; line-height:1.3; }
.music-invite strong small { color:#c2d6db; font-size:.9rem; font-weight:500; }
.music-invite p { color:#a8c3cb; font-size:.86rem; line-height:1.5; margin:4px 0 0; }
.music-trigger { flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; gap:9px; background:#c9fa7b; color:#071620; border:0; border-radius:12px; padding:12px 18px; min-height:48px; font:inherit; font-size:.88rem; font-weight:850; cursor:pointer; transition:background .2s,transform .2s; }
.music-trigger:hover { background:#ddffa8; transform:translateY(-2px); }
.music-trigger:focus-visible,.music-dock-close:focus-visible,.music-spotify-link:focus-visible { outline:3px solid #c9fa7b; outline-offset:3px; }
.about-music-invite { margin-top:24px; }
.music-dock[hidden] { display:none !important; }
.music-dock { position:fixed; z-index:90; right:20px; bottom:20px; width:min(375px,calc(100vw - 36px)); padding:14px; border-radius:18px; border:1px solid rgba(171,226,205,.33); background:#091c27; box-shadow:0 18px 65px rgba(0,0,0,.58); }
.music-dock-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; margin:0 0 11px; color:#c6e0e5; font-size:.86rem; }
.music-dock-heading strong { color:#fff; }
.music-dock-heading > span > span { color:#c9fa7b; font-size:1.22rem; margin-right:4px; }
.music-dock-close { display:grid; place-items:center; background:#25414e; color:#e9f8f6; border:0; width:31px; height:31px; border-radius:9px; font-size:.9rem; cursor:pointer; }
.spotify-player { min-height:152px; width:100%; border-radius:12px; overflow:hidden; }
.spotify-player iframe { display:block; width:100%; height:152px; border:0; border-radius:12px; }
.spotify-player > a { display:flex; align-items:center; justify-content:center; min-height:152px; background:#183641; border-radius:12px; color:#e1f4eb; text-decoration:underline; }
.music-dock-help { color:#acc5cb; font-size:.78rem; margin:11px 2px 4px; line-height:1.5; }
.music-spotify-link { display:inline-block; color:#c9fa7b; text-decoration:underline; font-size:.82rem; margin:2px; }
@media(max-width:620px) { .music-invite { flex-direction:column; align-items:stretch; gap:14px; padding:17px 18px; } .music-trigger { width:100%; } .music-dock { right:18px; bottom:84px; } }
