@font-face {
  font-family: Manrope;
  src: url('assets/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --surface: #0c1421;
  --header: #0e1725;
  --card: #162335;
  --paper: #101a29;
  --ink: #f0f4fa;
  --muted: #b9c7d9;
  --nav-ink: #d8e3f0;
  --line: #334158;
  --blue: #abcdef;
  --blue-hover: #d0e4fc;
  --blue-tint: #20304a;
  --icon-ink: #adcbef;
  --focus: #b6d6ff;
  --action: #d4e7ff;
  --action-hover: #e9f2ff;
  --action-ink: #14243a;
  --hero-glow: #182a43;
  --brand-edge: #92afd6a6;
  --brand-brightness: 1.24;
  --contact: #172741;
  --radius: .85rem;
  font: 400 100%/1.63 Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
button[hidden] { display: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.contact :focus-visible { outline-color: #fff; }
section:focus, main:focus { outline: none; }

h1, h2, h3 { font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4.1vw, 3.6rem); letter-spacing: -.064em; }
h3 { font-size: 1.24rem; line-height: 1.25; letter-spacing: -.034em; }

.container { width: min(calc(100% - 5.5rem), 77rem); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7.2vw, 6.8rem); }
.section-heading { display: grid; gap: .8rem; align-content: start; }
.section-heading > p { max-width: 31rem; color: var(--muted); }

.icon {
  flex: 0 0 auto;
  width: 1.36rem;
  height: 1.36rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .62rem 1.08rem;
  border: 1px solid transparent;
  border-radius: .52rem;
  text-align: center;
  text-decoration: none;
  font-size: .925rem;
  font-weight: 800;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}
.button-navy { color: var(--action-ink); background: var(--action); }
.button-navy:hover { background: var(--action-hover); }

.skip-link { position: fixed; z-index: 5; top: .6rem; left: .6rem; transform: translateY(-150%); padding: .65rem 1rem; color: var(--blue); background: var(--surface); border-radius: .4rem; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 4; top: 0; background: var(--header); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 4.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-size: 1.12rem; font-weight: 800; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand img { filter: brightness(var(--brand-brightness)) drop-shadow(0 0 1px var(--brand-edge)); }
.header-mark { display: grid; flex: 0 0 auto; place-items: center; width: 2.88rem; height: 2.88rem; }
.header-mark img { width: 100%; height: auto; filter: brightness(var(--brand-brightness)); }
.site-nav { display: flex; align-items: center; gap: clamp(1.05rem, 2.5vw, 2.25rem); }
.site-nav > a:not(.button) { color: var(--nav-ink); font-size: .9375rem; font-weight: 800; text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--blue); text-decoration: underline; text-underline-offset: .25em; }
.site-nav .button { min-height: 2.65rem; }
.menu-toggle { display: none; }

.hero { background: radial-gradient(ellipse at 76% 10%, var(--hero-glow), transparent 62%), var(--surface); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 3.4vw, 3.4rem);
  padding-block: clamp(3rem, 5vw, 5.15rem) clamp(2.15rem, 4vw, 3.8rem);
}
.hero-copy { display: grid; min-width: 0; align-content: center; gap: clamp(1.25rem, 2.3vw, 1.75rem); }
.hero-intro { display: grid; gap: .95rem; }
.hero-intro h1 {
  color: #fff6e8;
  font-size: clamp(2rem, 4.05vw, 3.55rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.055em;
}
.hero-intro h1 span { display: block; color: #a6cdff; }
.hero-about { display: grid; gap: .35rem; max-width: 28rem; }
.hero-about h2 { font-size: 1rem; line-height: 1.35; letter-spacing: 0; }
.hero-about p { color: var(--muted); font-size: clamp(1rem, 1.32vw, 1.125rem); line-height: 1.6; }
.hero-flow {
  display: grid;
  grid-template-columns: auto minmax(2.2rem, 1fr) auto;
  align-items: center;
  gap: .5rem;
  max-width: 24.75rem;
  padding: .2rem .42rem .4rem 0;
}
.hero-flow-message {
  position: relative;
  padding: .75rem clamp(.65rem, 1.5vw, 1.1rem);
  color: #f4f8ff;
  background: #203e65;
  border: 1px solid #42658e;
  border-radius: 1.5rem;
  font-size: clamp(.875rem, 1.3vw, 1.02rem);
  font-weight: 800;
  line-height: 1.3;
}
.hero-flow-message::after {
  position: absolute;
  inset-inline-start: .65rem;
  inset-block-end: -.52rem;
  width: .9rem;
  height: .72rem;
  background: #203e65;
  clip-path: polygon(22% 0, 100% 0, 0 100%);
  content: '';
}
.hero-flow-arrow {
  position: relative;
  display: block;
  height: 1.75rem;
  color: #79b9ff;
  transform: rotate(-10deg);
}
.hero-flow-arrow::before {
  position: absolute;
  inset: .14rem .22rem .46rem .05rem;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 65% 65%;
  content: '';
}
.hero-flow-arrow::after {
  position: absolute;
  inset: .38rem .16rem auto auto;
  width: .62rem;
  height: .62rem;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  content: '';
  transform: rotate(53deg);
}
.hero-flow-arrow span {
  position: absolute;
  inset: auto auto .23rem 46%;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #f4c36b;
}
.hero-flow-order {
  position: relative;
  display: grid;
  gap: .3rem;
  min-width: 5.65rem;
  padding: .55rem .75rem .75rem;
  color: #162742;
  background: #fff4df;
  border-radius: .35rem;
  clip-path: polygon(0 0, calc(100% - .85rem) 0, 100% .85rem, 100% 100%, 0 100%);
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - .24rem) no-repeat,
        radial-gradient(circle at .24rem 0, #000 .232rem, transparent .24rem) left bottom / .48rem .24rem repeat-x;
  font-size: clamp(.875rem, 1.35vw, 1.045rem);
  font-weight: 800;
  line-height: 1.13;
  transform: rotate(6deg);
}
.hero-flow-order::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: .85rem;
  height: .85rem;
  border-radius: 0 0 0 .15rem;
  background: #dacdb6;
  content: '';
}
.hero-flow-order::after {
  width: 100%;
  height: .52rem;
  margin-top: .08rem;
  background: linear-gradient(#a99d8b 0 0) top left / 100% 2px no-repeat,
              linear-gradient(#a99d8b 0 0) bottom left / 67% 2px no-repeat;
  content: '';
}
.hero-flow-check {
  width: .94rem;
  height: .54rem;
  margin: .1rem 0 .12rem .1rem;
  border: solid #2668ae;
  border-width: 0 0 2px 2px;
  transform: rotate(-47deg);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-flow { --flow-cycle: 6s; }
  .hero-flow-message { animation: hero-flow-request var(--flow-cycle) ease-out infinite; }
  .hero-flow-arrow { animation: hero-flow-trace var(--flow-cycle) ease-out infinite; }
  .hero-flow-order { animation: hero-flow-receipt var(--flow-cycle) ease-out infinite; }
  .hero-flow-check { animation: hero-flow-confirm var(--flow-cycle) ease-out infinite; }
}
/* All four steps use the same timeline so each cycle starts in sync. */
@keyframes hero-flow-request {
  0%, 2% { opacity: 0; translate: 0 .45rem; }
  9%, 96% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 0; }
}
@keyframes hero-flow-trace {
  0%, 8% { opacity: 0; clip-path: inset(-15% 100% -15% -10%); }
  17%, 96% { opacity: 1; clip-path: inset(-15% -10% -15% -10%); }
  100% { opacity: 0; clip-path: inset(-15% -10% -15% -10%); }
}
@keyframes hero-flow-receipt {
  0%, 16% { opacity: 0; translate: 0 .45rem; }
  23%, 96% { opacity: 1; translate: 0 0; }
  100% { opacity: 0; translate: 0 0; }
}
@keyframes hero-flow-confirm {
  0%, 20% { opacity: 0; scale: .6; }
  24%, 100% { opacity: 1; scale: 1; }
}
.hero[data-showcase-paused] :is(.hero-flow-message, .hero-flow-arrow, .hero-flow-order, .hero-flow-check) { animation: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.hero-action {
  display: inline-flex;
  align-items: center;
  gap: .68rem;
  min-height: 2.75rem;
  border-radius: 1.4rem;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
}
.hero-action:is(:hover, :focus-visible) { color: var(--blue-hover); text-decoration: underline; text-underline-offset: .25em; }
.hero-action-icon {
  display: grid;
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--icon-ink);
}
.hero-action:is(:hover, :focus-visible) .hero-action-icon { border-color: currentColor; }
.hero-showcase {
  position: relative;
  min-width: 0;
  margin: 0;
  --showcase-mark-height: 4.15rem;
  --showcase-button-size: 2.7rem;
}
.showcase-deck { display: grid; }
.showcase-slide {
  grid-area: 1 / 1;
  min-width: 0;
  pointer-events: none;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .65s ease-in-out, transform .7s ease-out;
}
.showcase-slide[data-current] { z-index: 1; opacity: 1; transform: scale(1); }
.showcase-screen {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, #000 2.2%, #000 97.8%, transparent),
              linear-gradient(0deg, transparent, #000 5%, #000 98%, transparent);
  mask-composite: intersect;
}
.showcase-screen-contained { object-fit: contain; mask-image: none; }
.showcase-mark {
  position: relative;
  display: block;
  width: 4.6rem;
  height: var(--showcase-mark-height);
  overflow: hidden;
  mask-image: radial-gradient(ellipse at center, #000 54%, transparent 80%);
}
.showcase-mark img { position: absolute; inset-inline: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%); }
.showcase-mark-chat { width: 5.35rem; mask-image: none; }
.showcase-mark-softon { width: 8rem; }
.showcase-caption { position: absolute; z-index: 2; inset-inline-end: 0; inset-block-end: calc((var(--showcase-mark-height) - var(--showcase-button-size)) / 2); }
.showcase-controls { display: flex; gap: .48rem; }
.showcase-controls[hidden] { display: none; }
.showcase-controls button { display: grid; place-items: center; width: var(--showcase-button-size); height: var(--showcase-button-size); padding: 0; color: var(--nav-ink); background: var(--header); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.showcase-controls button[hidden] { display: none; }
.showcase-controls button:hover { color: var(--blue); background: var(--blue-tint); }
.showcase-motion-icon { width: .8rem; height: .85rem; background: linear-gradient(90deg, currentColor 32%, transparent 32% 68%, currentColor 68%); }
.hero[data-showcase-paused] .showcase-motion-icon { background: currentColor; clip-path: polygon(18% 0, 93% 50%, 18% 100%); }
.hero[data-showcase-paused] .showcase-slide { transition: none; transform: none; }
.showcase-status, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.25rem);
  padding-block: .8rem 1.2rem;
}
.hero-shortcuts a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  min-height: 3.25rem;
  padding: .65rem clamp(.85rem, 1.7vw, 1.35rem);
  border: 1px solid #5478a3;
  border-radius: 999px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 750;
  text-decoration: none;
}
.hero-shortcuts a:is(:hover, :focus-visible) { border-color: var(--blue); color: var(--blue-hover); }
.hero-shortcuts .icon { color: var(--icon-ink); }
.hero-shortcuts .hero-shortcut-chevron { width: 1.05rem; height: 1.05rem; transform: rotate(90deg); }
@media (max-width: 40rem) {
  .hero-shortcuts { grid-template-columns: minmax(0, 1fr); }
}

.projects { padding-top: clamp(2.6rem, 4.5vw, 4.5rem); }
.motion-toggle { display: inline-flex; align-items: center; justify-self: start; gap: .45rem; min-height: 2.75rem; cursor: pointer; color: var(--blue); font-size: .9rem; font-weight: 800; }
.motion-toggle[hidden] { display: none; }
.motion-toggle input { flex: none; width: 1rem; height: 1rem; margin: 0; accent-color: var(--blue); }
.project-carousel { margin-top: clamp(1.2rem, 3vw, 2.2rem); }
.project-toolbar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .3rem clamp(.65rem, 1.6vw, 1.15rem); margin-bottom: .85rem; }
.project-toolbar[hidden], .project-card[hidden] { display: none; }
.project-picker, .project-arrows { display: flex; gap: .5rem; }
.project-picker button, .project-arrows button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--header);
  cursor: pointer;
}
.project-picker button { padding: .35rem .8rem .35rem .45rem; border-radius: .7rem; font-size: .9rem; font-weight: 800; line-height: 1.22; }
.project-picker button:hover, .project-picker button[aria-pressed='true'], .project-arrows button:hover { border-color: var(--blue); background: var(--blue-tint); }
.project-logo { display: block; flex: none; width: 2.55rem; }
.project-logo img { width: 100%; height: 2rem; object-fit: contain; }
.project-logo-optmon { position: relative; }
.project-arrows button { width: 2.75rem; padding: 0; border-radius: 50%; }
.project-deck { display: grid; gap: 1rem; }
.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13.5rem, 24%);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.project-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-start-start-radius: var(--radius);
  border-end-start-radius: var(--radius);
  background: #080f19;
}
.project-body { display: grid; justify-items: start; gap: .8rem; padding: clamp(1.05rem, 2.5vw, 2rem); }
.project-body h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.project-body p { color: var(--muted); }
.project-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .95rem; font-weight: 800; color: var(--blue); text-underline-offset: .24em; }
.project-link:hover { color: var(--blue-hover); text-decoration-thickness: 2px; }
.project-warning { margin-top: .6rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .project-carousel[data-motion] .project-card[data-current] .project-video { animation: project-reveal .22s ease-out; }
  .project-carousel[data-motion] .project-logo-optmon::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 44%, #e0f6ff9c 50%, transparent 56%) 100% 0 / 300% 100% no-repeat;
    mask: url('assets/optmon-simbolo-transparente.png') center / contain no-repeat;
    animation: optmon-logo-shine 4.5s ease-in-out infinite;
    pointer-events: none;
    content: '';
  }
}
@keyframes project-reveal { from { opacity: .6; } to { opacity: 1; } }
@keyframes optmon-logo-shine {
  0%, 58% { background-position-x: 100%; }
  83%, 100% { background-position-x: 0%; }
}

.development { background: var(--paper); border-block: 1px solid var(--line); }
.development-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.75rem, 4.15vw, 4.1rem); }
.development-intro { display: grid; min-width: 0; gap: 1.25rem; }
.development-site {
  display: grid;
  gap: .9rem;
  padding: clamp(.9rem, 1.6vw, 1.25rem);
  background: linear-gradient(150deg, #1b2d45, var(--card) 70%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.development-site-copy { display: grid; gap: .42rem; }
.development-site-copy h3 { font-size: 1.35rem; }
.development-site-copy p { color: var(--muted); font-size: .95rem; }
.development-preview { min-width: 0; }
.development-preview-stage {
  display: grid;
  overflow: hidden;
  background: #0d1522;
  border: 1px solid var(--line);
  border-radius: .6rem;
}
.development-screen { grid-area: 1 / 1; min-width: 0; margin: 0; opacity: 0; visibility: hidden; }
.development-screen[data-current] { z-index: 1; opacity: 1; visibility: visible; }
.development-screen img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: contain; }
.development-screen figcaption { padding: .38rem .65rem; color: var(--blue); background: var(--header); font-size: .8rem; font-weight: 750; }
.development-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; padding-top: .35rem; }
.development-choices[hidden] { display: none; }
.development-choices button {
  min-height: 2.75rem;
  padding: .25rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: .28rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 750;
}
.development-choices button:hover, .development-choices button[aria-pressed='true'] { color: var(--blue-hover); }
.development-choices button[aria-pressed='true'] { border-bottom-color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .development-screen { transform: translateX(-.6rem); transition: opacity .38s ease, transform .38s ease, visibility 0s linear .38s; }
  .development-screen[data-current] { transform: translateX(0); transition-delay: 0s; }
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.capability-step {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .55rem;
  padding: clamp(.95rem, 1.8vw, 1.35rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.capability-step-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  color: var(--blue);
}
.capability-step-heading span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.capability-step p { color: var(--muted); font-size: .95rem; }
.capability-step .capability-example {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin-top: .22rem;
  padding-top: .65rem;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.45;
}
.capability-example::before {
  flex: 0 0 .36rem;
  height: .36rem;
  border-radius: 50%;
  background: currentColor;
  content: '';
}
.capability-step:is([data-development-active], :target) {
  border-color: #86b6ef;
  background: #1a2c43;
  box-shadow: 0 0 0 1px #86b6ef45;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.capability-step:is([data-development-active], :target) .capability-step-heading span {
  color: var(--action-ink);
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  transition: color .24s ease, background-color .24s ease, border-color .24s ease;
}

.contents-layout { display: grid; gap: clamp(1.2rem, 3.2vw, 2.3rem); }
.channel-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(.9rem, 2vw, 1.5rem); }
.channel-feature {
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--channel-line);
  border-radius: 1rem;
  text-decoration: none;
  transition: border-color .2s ease;
}
.channel-youtube { --channel-line: #563342; --channel-accent: #ffa7b1; }
.channel-instagram { --channel-line: #55396c; --channel-accent: #f1b7ed; }
.channel-art {
  position: relative;
  display: grid;
  min-height: clamp(8.5rem, 14.5vw, 12rem);
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--channel-line);
  border-radius: 1rem 1rem 0 0;
}
.channel-youtube .channel-art { background: radial-gradient(ellipse at 56% 110%, #a63251 0%, #4a2037 43%, #201927 86%); }
.channel-instagram .channel-art { background: radial-gradient(ellipse at 60% 120%, #a34b7b 0%, #593367 43%, #211b35 90%); }
.channel-video-frame {
  position: relative;
  display: grid;
  width: min(63%, 14rem);
  aspect-ratio: 2.05;
  place-items: center;
  border: 1px solid #b86b7b;
  border-radius: .65rem;
  background: linear-gradient(150deg, #492636, #231b2a 65%);
  box-shadow: 0 .55rem 1.55rem #180d1880;
  transform: rotate(-6deg);
}
.channel-video-frame::after {
  position: absolute;
  inset: auto 9% 11%;
  height: .16rem;
  border-radius: 1rem;
  background: linear-gradient(#ff4865, #ff4865) left / 42% 100% no-repeat #866373;
  transition: background-size .4s ease;
  content: '';
}
.channel-youtube:is(:hover, :focus-visible) .channel-video-frame::after { background-size: 68% 100%; }
.channel-youtube-mark {
  display: grid;
  width: 36%;
  aspect-ratio: 1.46;
  place-items: center;
  margin-bottom: 4%;
  border-radius: 25%;
  background: #ff1943;
  box-shadow: 0 0 1.65rem #ff214e55;
}
.channel-youtube-mark::after {
  width: 30%;
  height: 48%;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: '';
  translate: 9% 0;
}
.channel-photo-stack {
  position: relative;
  isolation: isolate;
  width: clamp(4.35rem, 7.8vw, 6.25rem);
  aspect-ratio: 1;
}
.channel-photo-stack::before, .channel-photo-stack::after {
  position: absolute;
  z-index: -1;
  inset: 11%;
  border: 1px solid #d59bd0a0;
  border-radius: 23%;
  transition: transform .36s ease;
  content: '';
}
.channel-photo-stack::before { background: #71365e; transform: translateX(-48%) rotate(-16deg); }
.channel-photo-stack::after { background: #583a86; transform: translateX(47%) rotate(16deg); }
.channel-instagram:is(:hover, :focus-visible) .channel-photo-stack::before { transform: translateX(-70%) rotate(-25deg); }
.channel-instagram:is(:hover, :focus-visible) .channel-photo-stack::after { transform: translateX(69%) rotate(25deg); }
.channel-instagram-mark {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border: 1px solid #ffd1e471;
  border-radius: 24%;
  background: radial-gradient(circle at 18% 96%, #ffde79, #fa823f 28%, #e73780 54%, #aa41be 75%, #6150e1);
  box-shadow: 0 .55rem 1.5rem #2413358a;
}
.channel-instagram-mark span {
  position: relative;
  display: grid;
  width: 59%;
  aspect-ratio: 1;
  place-items: center;
  border: .16rem solid #fff;
  border-radius: 29%;
  color: #fff;
}
.channel-instagram-mark span::before {
  width: 49%;
  aspect-ratio: 1;
  border: .15rem solid;
  border-radius: 50%;
  content: '';
}
.channel-instagram-mark span::after {
  position: absolute;
  inset: 13% 13% auto auto;
  width: .23rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  content: '';
}
.channel-description {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .5rem;
  padding: clamp(1rem, 2.25vw, 1.6rem);
}
.channel-description h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.channel-description p { max-width: 29rem; color: var(--muted); }
.channel-action { display: flex; align-items: center; gap: .5rem; margin-top: .3rem; color: var(--channel-accent); font-size: .925rem; font-weight: 800; }
.channel-feature:is(:hover, :focus-visible) { border-color: var(--channel-accent); }
.channel-feature:is(:hover, :focus-visible) .channel-action { text-decoration: underline; text-underline-offset: .24em; }

.contact { color: #fff; background: var(--contact); }
.contact-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: clamp(1.65rem, 3.25vw, 2.6rem); }
.contact h2 { max-width: 44rem; font-size: clamp(1.8rem, 3.1vw, 2.85rem); }
.contact p { max-width: 35rem; margin-top: .5rem; color: #d3def4; }
.button-whatsapp, .whatsapp-float { color: #fff; background: #12754d; }
.button-whatsapp:hover, .whatsapp-float:hover { background: #0e6141; }
.whatsapp-float { position: fixed; z-index: 3; inset-inline-end: max(1rem, env(safe-area-inset-right)); inset-block-end: max(1rem, env(safe-area-inset-bottom)); display: grid; width: 3.4rem; height: 3.4rem; place-items: center; border: 1px solid #6dbb9a; border-radius: 50%; box-shadow: 0 .4rem 1.2rem #07101d35; }
.whatsapp-float .icon { width: 1.72rem; height: 1.72rem; }
.site-footer { background: var(--header); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .8rem clamp(1rem, 3vw, 2.5rem);
  padding-block: 1.2rem;
  padding-inline-end: 3.75rem;
}
.footer-brand { justify-self: start; white-space: normal; }
.footer-mark { flex: none; }
.footer-mark img { width: 3.38rem; height: 3.38rem; border: 0; border-radius: 0; object-fit: contain; }
.footer-brand-copy { display: grid; gap: .15rem; line-height: 1.35; }
.footer-tagline, .footer-domain { color: var(--muted); font-size: .85rem; font-weight: 650; letter-spacing: 0; }
.footer-domain { color: var(--blue); overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 clamp(.8rem, 1.6vw, 1.3rem); }
.footer-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--muted); font-size: .875rem; font-weight: 750; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .24em; }
.footer-top { justify-self: start; min-height: 2.75rem; padding: .45rem .75rem; border-color: var(--line); border-radius: 2rem; color: var(--nav-ink); }
.footer-top .icon { width: 1.1rem; height: 1.1rem; color: var(--blue); transform: rotate(-90deg); }
.footer-top:hover { border-color: var(--blue); color: var(--blue-hover); }

@media (max-width: 960px) {
  .container { width: min(calc(100% - 3rem), 77rem); }
  .header-inner { flex-wrap: wrap; gap: 0 1rem; min-height: 4.25rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .63rem; border: 1px solid var(--line); border-radius: .5rem; color: var(--ink); background: var(--header); cursor: pointer; font-weight: 800; }
  .site-nav { flex-basis: 100%; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding-block: .1rem .88rem; }
  .menu-toggle:not([hidden])[aria-expanded='false'] + .site-nav { display: none; }
  .site-nav a:not(.button) { padding-block: .55rem; }
}

@media (max-width: 850px) {
  .project-toolbar { grid-template-columns: minmax(0, 1fr) auto; }
  .project-picker { grid-column: 1 / -1; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
}

@media (max-width: 760px) {
  :root { scroll-padding-top: 4.85rem; }
  .container { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 3.85rem; }
  .header-mark { width: 2.2rem; height: 2.2rem; }
  .site-nav { display: grid; grid-template-columns: 1fr; align-items: start; gap: .08rem; }
  .site-nav .button { justify-self: start; margin-top: .35rem; }
  .hero-inner, .development-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 3rem 1.6rem; }
  .hero-intro h1 { font-size: clamp(2rem, 7vw, 3.05rem); }
  .project-card { grid-template-columns: minmax(0, 1fr); }
  .project-video { border-start-end-radius: var(--radius); border-end-start-radius: 0; }
  .project-body { padding-block: .9rem; gap: .4rem; }
}

@media (max-width: 580px) {
  .channel-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 1.75rem); }
  .header-inner { column-gap: .35rem; }
  .brand { font-size: 1rem; gap: .45rem; }
  .header-mark { width: 2.05rem; height: 2.05rem; }
  .menu-toggle:not([hidden]) { font-size: .8875rem; gap: .3rem; padding-inline: .48rem; }
  .project-toolbar { align-items: stretch; }
  .project-picker { gap: .3rem; }
  .project-picker button { flex: 1; flex-direction: column; gap: .15rem; min-width: 0; padding-inline: .25rem; font-size: .78rem; }
  .project-logo { width: 2.2rem; }
  .project-arrows { gap: .25rem; }
  .capability-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
