:root {
      /* PALETTE PRINCIPALE
         Cambia questi valori per modificare i colori del sito senza cercare in tutto il CSS. */
      --bg: #091014; /* Sfondo principale scuro della pagina. */
      --bg-soft: #10191f; /* Sfondo secondario per sezioni e aree meno profonde. */
      --surface: rgba(255, 255, 255, 0.055); /* Card/pannelli trasparenti leggeri. */
      --surface-strong: rgba(255, 255, 255, 0.085); /* Card/pannelli piu evidenti, hover e blocchi importanti. */
      --line: rgba(255, 255, 255, 0.12); /* Bordi sottili di card, sezioni, bottoni e separatori. */
      --text: #f4faf7; /* Testo principale chiaro: titoli e contenuto importante. */
      --muted: #adc0b8; /* Testo secondario: descrizioni, sottotitoli, note. */
      --accent: #21e6a2; /* Colore brand principale: bottoni, highlight, icone, stati attivi. */
      --hero-highlight: #21e6a2; /* Colore della parola evidenziata nel titolo hero. */
      --accent-dark: #0daa74; /* Versione piu scura dell'accento per gradienti e dettagli. */
      --cyan: #4ec8ff; /* Colore freddo di supporto: glow, gradienti e dettagli tecnici. */
      --gold: #ffd166; /* Accento caldo per badge, dettagli premium o note speciali. */
      --danger: #ff6b6b; /* Errori, attenzione, stati pericolosi o azioni distruttive. */
      --shadow: 0 28px 90px rgba(0, 0, 0, 0.38); /* Ombra generale dei pannelli grandi. */

      /* STRUTTURA
         Non sono colori: cambiali solo se vuoi modificare forma e larghezza del layout. */
      --radius: 8px; /* Raggio angoli di bottoni, card e controlli. */
      --container: 1160px; /* Larghezza massima del contenuto centrale. */
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      background:
        /* Glow azzurro in alto a sinistra. Cambia rgba(78, 200, 255, ...) per variare il colore. */
        radial-gradient(circle at 18% 8%, rgba(78, 200, 255, 0.18), transparent 34rem),
        /* Glow verde/accento in alto a destra. Cambia rgba(33, 230, 162, ...) per variare il colore. */
        radial-gradient(circle at 85% 14%, rgba(33, 230, 162, 0.16), transparent 30rem),
        /* Gradiente di fondo principale dall'alto verso il basso. */
        linear-gradient(180deg, #0b1418 0%, #091014 46%, #070b0e 100%);
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
      letter-spacing: 0;
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background-image:
        /* Griglia sottile sullo sfondo: aumenta l'alpha 0.035 per renderla piu visibile. */
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
      background-size: 64px 64px;
      mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
    }

    a {
      color: inherit;
    }

    img {
      max-width: 100%;
      display: block;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 10;
      border-bottom: 1px solid rgba(255, 255, 255, 0.09);
      background: rgba(9, 16, 20, 0.78);
      backdrop-filter: blur(18px);
    }

    .nav-wrap {
      width: min(var(--container), calc(100% - 32px));
      min-height: 72px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      font-weight: 800;
      color: var(--text);
    }

    .brand-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(33, 230, 162, 0.35);
      border-radius: var(--radius);
      background: linear-gradient(135deg, rgba(33, 230, 162, 0.18), rgba(78, 200, 255, 0.12));
      color: var(--accent);
      box-shadow: 0 0 34px rgba(33, 230, 162, 0.14);
    }

    .brand small {
      display: block;
      margin-top: 2px;
      color: var(--muted);
      font-size: 0.76rem;
      font-weight: 600;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .nav-toggle {
      display: none;
      width: 44px;
      height: 44px;
      place-items: center;
      gap: 5px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.06);
      color: var(--text);
      cursor: pointer;
    }

    .nav-toggle span {
      width: 20px;
      height: 2px;
      display: block;
      border-radius: 999px;
      background: currentColor;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    body.menu-open .nav-toggle span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    body.menu-open .nav-toggle span:nth-child(2) {
      opacity: 0;
    }

    body.menu-open .nav-toggle span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links a {
      padding: 10px 12px;
      border-radius: var(--radius);
      color: var(--muted);
      font-size: 0.94rem;
      font-weight: 700;
      text-decoration: none;
      transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: var(--text);
      background: rgba(255, 255, 255, 0.08);
      outline: none;
    }

    .section {
      width: min(var(--container), calc(100% - 32px));
      margin: 0 auto;
      padding: 84px 0;
    }

    .hero {
      width: min(var(--container), calc(100% - 32px));
      min-height: calc(100vh - 72px);
      margin: 0 auto;
      padding: 74px 0 56px;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
      align-items: center;
      gap: 48px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 18px;
      padding: 8px 11px;
      border: 1px solid rgba(33, 230, 162, 0.24);
      border-radius: 999px;
      background: rgba(33, 230, 162, 0.08);
      color: #cffff0;
      font-size: 0.82rem;
      font-weight: 800;
      text-transform: uppercase;
    }

    .hero h1 {
      max-width: 820px;
      margin: 0;
      font-size: clamp(2.75rem, 6.8vw, 6.45rem);
      line-height: 0.94;
      font-weight: 900;
      color: var(--text);
      overflow-wrap: anywhere;
    }

    .hero h1 span {
      color: var(--hero-highlight, var(--accent));
    }

    .lead {
      max-width: 680px;
      margin: 24px 0 0;
      color: var(--muted);
      font-size: clamp(1.05rem, 2vw, 1.3rem);
      line-height: 1.7;
    }

    .hero-actions,
    .card-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 30px;
    }

    .btn-pro {
      min-height: 46px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid transparent;
      border-radius: var(--radius);
      padding: 12px 16px;
      color: #06100c;
      background: linear-gradient(135deg, var(--accent), #7affc9);
      cursor: pointer;
      font: inherit;
      font-weight: 850;
      text-decoration: none;
      box-shadow: 0 16px 38px rgba(33, 230, 162, 0.22);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .btn-pro:hover {
      color: #06100c;
      transform: translateY(-2px);
      box-shadow: 0 20px 44px rgba(33, 230, 162, 0.3);
    }

    .btn-ghost {
      color: var(--text);
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.14);
      box-shadow: none;
    }

    .btn-ghost:hover {
      color: var(--text);
      background: rgba(255, 255, 255, 0.1);
      box-shadow: none;
    }

    .hero-panel {
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: calc(var(--radius) + 10px);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
        rgba(13, 22, 27, 0.72);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .panel-top {
      min-height: 260px;
      position: relative;
      display: grid;
      place-items: center;
      background:
        linear-gradient(135deg, rgba(33, 230, 162, 0.17), rgba(78, 200, 255, 0.1)),
        url("katageo/immagini/demo.jpg") center / cover;
    }

    .panel-top::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(5, 9, 12, 0.03), rgba(5, 9, 12, 0.16));
    }

    .panel-badge {
      position: relative;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 999px;
      background: rgba(7, 12, 15, 0.72);
      backdrop-filter: blur(14px);
      color: var(--text);
      font-weight: 850;
      font-size: var(--featured-badge-size, 1rem);
    }

    .panel-body {
      padding: 24px;
    }

    .metric-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .metric {
      min-height: 98px;
      padding: 14px;
      border: 1px solid rgba(255, 255, 255, 0.11);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.055);
    }

    .metric strong {
      display: block;
      color: var(--text);
      font-size: var(--featured-metric-title-size, 1.35rem);
    }

    .metric span,
    .metric-text {
      display: block;
      margin-top: 5px;
      color: var(--muted);
      font-size: var(--featured-metric-text-size, 0.82rem);
      line-height: 1.35;
    }

    .section-head {
      display: grid;
      grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.42fr);
      gap: 28px;
      align-items: end;
      margin-bottom: 28px;
    }

    .section-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
      color: var(--accent);
      font-size: 0.78rem;
      font-weight: 900;
      text-transform: uppercase;
    }

    .section h2 {
      margin: 0;
      font-size: clamp(2rem, 4vw, 3.5rem);
      line-height: 1.02;
      font-weight: 900;
    }

    .section-copy {
      margin: 0;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.7;
    }

    .about-band {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
      gap: 18px;
      align-items: stretch;
    }

    .about-main,
    .service-list {
      border: 1px solid var(--line);
      border-radius: calc(var(--radius) + 8px);
      background: var(--surface);
      box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
    }

    .about-main {
      padding: clamp(24px, 4vw, 42px);
    }

    .about-main p {
      margin: 0;
      color: #d7e6df;
      font-size: clamp(1.05rem, 1.7vw, 1.22rem);
      line-height: 1.75;
    }

    .about-main p + p {
      margin-top: 20px;
    }

    .text-link {
      color: var(--accent);
      font-weight: 850;
      text-decoration: none;
      border-bottom: 1px solid rgba(33, 230, 162, 0.45);
    }

    .service-list {
      padding: 12px;
    }

    .service {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 12px;
      padding: 14px;
      border-radius: var(--radius);
    }

    .service + .service {
      border-top: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 0;
    }

    .service i {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: var(--radius);
      background: rgba(33, 230, 162, 0.11);
      color: var(--accent);
    }

    .service h3 {
      margin: 0 0 4px;
      font-size: 1rem;
      font-weight: 850;
    }

    .service p {
      margin: 0;
      color: var(--muted);
      font-size: 0.92rem;
      line-height: 1.5;
    }

    .project-slider {
      position: relative;
    }

    [data-standard-project-slider] {
      margin-top: 28px;
    }

    .projects-grid,
    .featured-projects-grid {
      display: flex;
      gap: 18px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-behavior: smooth;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      padding: 2px 2px 18px;
    }

    .projects-grid::-webkit-scrollbar,
    .featured-projects-grid::-webkit-scrollbar {
      display: none;
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      z-index: 5;
      width: 46px;
      height: 46px;
      display: inline-grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: var(--radius);
      color: var(--text);
      background: rgba(9, 16, 20, 0.82);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
      backdrop-filter: blur(14px);
      cursor: pointer;
      transform: translateY(-50%);
      transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

    .slider-arrow--prev {
      left: -14px;
    }

    .slider-arrow--next {
      right: -14px;
    }

    .slider-arrow:hover,
    .slider-arrow:focus-visible {
      border-color: rgba(33, 230, 162, 0.42);
      background: rgba(33, 230, 162, 0.16);
      outline: none;
      transform: translateY(-50%) scale(1.04);
    }

    .slider-arrow:disabled {
      opacity: 0;
      pointer-events: none;
    }

    .featured-projects-grid .project-card {
      min-height: 100%;
      border-color: rgba(33, 230, 162, 0.24);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.052)),
        radial-gradient(circle at 16% 0%, rgba(33, 230, 162, 0.12), transparent 24rem);
    }

    .featured-projects-grid .project-media {
      min-height: 260px;
    }

    .project-card {
      flex: 0 0 min(520px, calc(100vw - 64px));
      scroll-snap-align: start;
      min-height: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: calc(var(--radius) + 8px);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.04));
      box-shadow: 0 18px 58px rgba(0, 0, 0, 0.2);
      transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    }

    .project-card:hover {
      transform: translateY(-4px);
      border-color: rgba(33, 230, 162, 0.36);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.052));
    }

    .project-card.featured {
      flex-basis: min(640px, calc(100vw - 64px));
    }

    .featured-projects-grid .project-card.featured {
      flex-basis: min(640px, calc(100vw - 64px));
    }

    .featured-projects-grid .project-card.compact {
      flex-basis: min(460px, calc(100vw - 64px));
    }

    .project-card.compact {
      flex-basis: min(460px, calc(100vw - 64px));
    }

    .project-media {
      position: relative;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      background: #111c22;
    }

    .project-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.01);
      transition: transform 0.45s ease;
    }

    .project-media.logo-media {
      display: grid;
      place-items: center;
      background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 238, 0.92)),
        #f7fbf9;
    }

    .project-media.logo-media img {
      width: min(78%, 420px);
      height: min(64%, 180px);
      object-fit: contain;
      transform: none;
    }

    .brand-lockup {
      position: relative;
      z-index: 1;
      display: grid;
      place-items: center;
      gap: 10px;
      color: #0b1514;
      text-align: center;
      font-weight: 900;
    }

    .brand-lockup i {
      width: 62px;
      height: 62px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: linear-gradient(135deg, #21e6a2, #4ec8ff);
      color: #06100c;
      font-size: 1.6rem;
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
    }

    .brand-lockup span {
      font-size: clamp(1.55rem, 3vw, 2.35rem);
      line-height: 1;
    }

    .brand-lockup small {
      color: #49635b;
      font-size: 0.85rem;
      font-weight: 850;
      text-transform: uppercase;
    }

    .project-card:hover .project-media img {
      transform: scale(1.055);
    }

    .project-card:hover .project-media.logo-media img {
      transform: none;
    }

    .project-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, transparent 46%, rgba(5, 8, 10, 0.78));
    }

    .status {
      position: absolute;
      left: 14px;
      bottom: 14px;
      z-index: 1;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 999px;
      background: rgba(5, 9, 12, 0.72);
      color: #dcfff2;
      font-size: 0.78rem;
      font-weight: 850;
      backdrop-filter: blur(12px);
    }

    .status.done {
      color: #e5ffcf;
    }

    .project-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      padding: 22px;
    }

    .project-body h3 {
      margin: 0;
      color: var(--text);
      font-size: clamp(1.25rem, 2vw, 1.65rem);
      font-weight: 900;
    }

    .project-body p,
    .project-description {
      margin: 12px 0 0;
      color: var(--muted);
      line-height: 1.65;
    }

    .project-description p,
    .project-description ul,
    .project-description ol {
      margin: 10px 0 0;
    }

    .project-description hr,
    .section-copy hr,
    .about-main hr,
    .service hr,
    .process-step hr,
    .metric hr {
      height: 1px;
      margin: 14px 0;
      border: 0;
      background: var(--line);
    }

    .section-copy a,
    .project-description a,
    .about-main a,
    .service a,
    .process-step a,
    .metric a {
      color: var(--accent);
      font-weight: 800;
      text-decoration: none;
    }

    .section-copy ul,
    .section-copy ol,
    .about-main ul,
    .about-main ol,
    .service ul,
    .service ol,
    .process-step ul,
    .process-step ol,
    .metric ul,
    .metric ol {
      padding-left: 1.15rem;
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 18px;
    }

    .chip {
      padding: 7px 9px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.055);
      color: #d9e8e2;
      font-size: 0.78rem;
      font-weight: 750;
    }

    .project-body .card-actions {
      margin-top: auto;
      padding-top: 20px;
    }

    .process {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .process-step {
      min-height: 188px;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: calc(var(--radius) + 6px);
      background: rgba(255, 255, 255, 0.052);
    }

    .process-step span {
      display: inline-grid;
      width: 42px;
      height: 42px;
      margin-bottom: 18px;
      place-items: center;
      border-radius: var(--radius);
      background: rgba(78, 200, 255, 0.12);
      color: var(--cyan);
      font-weight: 900;
    }

    .process-step h3 {
      margin: 0 0 8px;
      font-size: 1.05rem;
      font-weight: 850;
    }

    .process-step p {
      margin: 0;
      color: var(--muted);
      font-size: 0.94rem;
      line-height: 1.58;
    }

    .cta-section {
      width: min(var(--container), calc(100% - 32px));
      margin: 0 auto 72px;
    }

    .cta-section[hidden] {
      display: none;
    }

    .cta-list {
      display: grid;
      gap: 16px;
    }

    .cta {
      padding: clamp(28px, 5vw, 50px);
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 24px;
      align-items: center;
      border: 1px solid rgba(33, 230, 162, 0.22);
      border-radius: calc(var(--radius) + 10px);
      background:
        linear-gradient(135deg, rgba(33, 230, 162, 0.14), rgba(78, 200, 255, 0.08)),
        rgba(255, 255, 255, 0.052);
      box-shadow: var(--shadow);
    }

    .cta h2 {
      margin: 0;
      font-size: clamp(1.8rem, 4vw, 3.2rem);
      line-height: 1.05;
      font-weight: 900;
    }

    .cta p,
    .cta-copy {
      max-width: 700px;
      margin: 12px 0 0;
      color: var(--muted);
      line-height: 1.7;
    }

    .site-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: grid;
      place-items: center;
      padding: clamp(12px, 2.5vw, 28px);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    .site-modal.is-open {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }

    .site-modal__backdrop {
      position: absolute;
      inset: 0;
      border: 0;
      background:
        radial-gradient(circle at 18% 12%, rgba(33, 230, 162, 0.18), transparent 30rem),
        rgba(3, 7, 9, 0.82);
      backdrop-filter: blur(18px);
    }

    .site-modal__dialog {
      position: relative;
      width: min(1180px, 100%);
      height: min(780px, calc(100vh - 32px));
      display: grid;
      grid-template-rows: auto 1fr;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: calc(var(--radius) + 10px);
      background: linear-gradient(180deg, rgba(17, 27, 32, 0.98), rgba(8, 13, 16, 0.98));
      box-shadow: 0 34px 120px rgba(0, 0, 0, 0.58);
      transform: translateY(10px) scale(0.985);
      transition: transform 0.22s ease;
    }

    .site-modal.is-open .site-modal__dialog {
      transform: translateY(0) scale(1);
    }

    .site-modal__header {
      min-height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 14px 16px 14px 18px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.045);
    }

    .site-modal__title {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .site-modal__title i {
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      display: grid;
      place-items: center;
      border-radius: var(--radius);
      background: rgba(33, 230, 162, 0.12);
      color: var(--accent);
    }

    .site-modal__title strong {
      display: block;
      overflow: hidden;
      color: var(--text);
      font-size: 1.05rem;
      font-weight: 900;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .site-modal__title span {
      display: block;
      margin-top: 2px;
      overflow: hidden;
      color: var(--muted);
      font-size: 0.86rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .site-modal__actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 0 0 auto;
    }

    .icon-btn {
      width: 42px;
      height: 42px;
      display: inline-grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: var(--radius);
      background: rgba(255, 255, 255, 0.07);
      color: var(--text);
      text-decoration: none;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .icon-btn:hover,
    .icon-btn:focus-visible {
      border-color: rgba(33, 230, 162, 0.38);
      background: rgba(33, 230, 162, 0.12);
      color: var(--text);
      outline: none;
      transform: translateY(-1px);
    }

    .site-modal__frame-wrap {
      position: relative;
      min-height: 0;
      background:
        linear-gradient(135deg, rgba(33, 230, 162, 0.08), rgba(78, 200, 255, 0.06)),
        #0b1115;
    }

    .site-modal__loader {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 24px;
      color: var(--muted);
      text-align: center;
    }

    .site-modal__loader span {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
    }

    .site-modal__frame {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      border: 0;
      background: #fff;
    }

    body.modal-open {
      overflow: hidden;
    }

    footer {
      border-top: 1px solid rgba(255, 255, 255, 0.09);
      background: rgba(4, 8, 10, 0.62);
    }

    .footer-wrap {
      width: min(var(--container), calc(100% - 32px));
      min-height: 96px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .footer-wrap a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--accent);
      font-weight: 850;
      text-decoration: none;
    }

    @media (max-width: 980px) {
      .hero,
      .section-head,
      .about-band,
      .cta {
        grid-template-columns: 1fr;
      }

      .hero {
        min-height: auto;
        padding-top: 54px;
        grid-template-columns: 1fr;
      }

      .hero-panel {
        width: min(100%, 620px);
      }

      .project-card,
      .project-card.featured,
      .project-card.compact {
        flex-basis: min(560px, calc(100vw - 48px));
      }

      .process {
        grid-template-columns: repeat(2, 1fr);
      }

      .cta {
        justify-items: start;
      }
    }

    @media (max-width: 720px) {
      .nav-wrap {
        width: min(var(--container), calc(100% - 24px));
        min-height: 64px;
        padding: 10px 0;
        align-items: center;
        flex-direction: row;
        position: relative;
      }

      .brand {
        min-width: 0;
      }

      .brand > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .brand small {
        display: none;
      }

      .nav-toggle {
        display: grid;
        flex: 0 0 auto;
      }

      .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 20;
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: calc(var(--radius) + 8px);
        background: rgba(8, 14, 18, 0.96);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
        backdrop-filter: blur(18px);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease;
      }

      body.menu-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }

      .nav-links a {
        width: 100%;
        text-align: left;
        padding: 12px;
        font-size: 0.95rem;
      }

      .section {
        width: min(var(--container), calc(100% - 24px));
        padding: 56px 0;
      }

      .projects-grid,
      .featured-projects-grid {
        padding-inline: 0;
      }

      .project-card,
      .project-card.featured,
      .project-card.compact {
        flex-basis: min(86vw, 420px);
      }

      .slider-arrow {
        width: 42px;
        height: 42px;
      }

      .slider-arrow--prev {
        left: -6px;
      }

      .slider-arrow--next {
        right: -6px;
      }

      .hero {
        width: min(var(--container), calc(100% - 24px));
        padding: 42px 0 34px;
        gap: 28px;
      }

      .hero h1 {
        font-size: clamp(2.35rem, 12.5vw, 4.1rem);
        line-height: 0.98;
      }

      .lead {
        font-size: 1rem;
        line-height: 1.58;
      }

      .panel-top {
        min-height: 210px;
      }

      .panel-badge {
        max-width: calc(100% - 28px);
        justify-content: center;
        text-align: center;
      }

      .metric-grid,
      .process {
        grid-template-columns: 1fr;
      }

      .hero-actions,
      .card-actions {
        flex-direction: column;
      }

      .btn-pro {
        width: 100%;
      }

      .footer-wrap {
        padding: 24px 0;
        align-items: flex-start;
        flex-direction: column;
      }

      .site-modal {
        padding: 0;
      }

      .site-modal__dialog {
        width: 100%;
        height: 100dvh;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
      }

      .site-modal__header {
        min-height: 86px;
        align-items: flex-start;
        padding: 14px;
      }

      .site-modal__title strong,
      .site-modal__title span {
        max-width: 190px;
      }

      .site-modal__actions { gap: 6px; }
    }

    @media (max-width: 430px) {
      .hero h1 {
        font-size: clamp(2rem, 11.4vw, 3.15rem);
      }

      .eyebrow {
        max-width: 100%;
        font-size: 0.72rem;
      }

      .hero-panel,
      .project-card {
        border-radius: calc(var(--radius) + 4px);
      }

      .project-card,
      .project-card.featured,
      .project-card.compact {
        flex-basis: calc(100vw - 36px);
      }

      .project-media {
        min-height: 190px;
      }

      .featured-projects-grid .project-media {
        min-height: 210px;
      }

      .metric {
        min-height: auto;
      }
    }

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