*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue:       #2b6a9b;
      --blue-dark:  #1a3d5c;
      --blue-deep:  #162e45;
      --blue-light: #3a85be;
      --diamond:    #1c2d40;
      --white:      #f4f6f8;
      --off-white:  #e8edf2;
      --muted:      #7a9bb8;
      --line:       rgba(255,255,255,0.12);
      --line-dark:  rgba(43,106,155,0.25);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Barlow', sans-serif;
      background: var(--blue-deep);
      color: var(--white);
      overflow-x: hidden;
      cursor: none;
    }

    /* CURSOR */
    .cursor {
      width: 7px; height: 7px;
      background: var(--white);
      border-radius: 50%;
      position: fixed; top: 0; left: 0;
      pointer-events: none; z-index: 9999;
      transform: translate(-50%,-50%);
    }
    .cursor-ring {
      width: 32px; height: 32px;
      border: 1.5px solid rgba(255,255,255,0.4);
      border-radius: 50%;
      position: fixed; top: 0; left: 0;
      pointer-events: none; z-index: 9998;
      transform: translate(-50%,-50%);
      transition: width .3s, height .3s, border-color .3s;
    }

    /* DIAGONAL GRID PATTERN (biglietto) */
    .diag-pattern {
      position: absolute; inset: 0;
      background-image:
        repeating-linear-gradient(
          45deg,
          transparent,
          transparent 80px,
          rgba(255,255,255,0.04) 80px,
          rgba(255,255,255,0.04) 81px
        ),
        repeating-linear-gradient(
          -45deg,
          transparent,
          transparent 80px,
          rgba(255,255,255,0.04) 80px,
          rgba(255,255,255,0.04) 81px
        );
      pointer-events: none;
    }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 200;
      display: flex; justify-content: space-between; align-items: center;
      padding: 1.8rem 5rem;
      transition: background .4s, padding .4s;
    }
    nav.scrolled {
      background: rgba(22,46,69,0.96);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid var(--line);
      padding: 1.1rem 5rem;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 0.9rem;
      text-decoration: none;
    }
    .nav-diamond {
      width: 34px; height: 34px;
      background: var(--diamond);
      transform: rotate(45deg);
      display: flex; align-items: center; justify-content: center;
      border: 1.5px solid rgba(255,255,255,0.2);
      flex-shrink: 0;
      transition: background .3s;
    }
    .nav-diamond span {
      transform: rotate(-45deg);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.7rem; font-weight: 700;
      letter-spacing: 0.05em;
      color: var(--white);
    }
    .nav-logo:hover .nav-diamond { background: var(--blue); }
    .nav-wordmark {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1rem; font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--white);
    }
    .nav-wordmark em { font-style: normal; color: var(--muted); font-weight: 300; }
    .nav-links { display: flex; gap: 2.5rem; list-style: none; }
    .nav-links a {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.8rem; font-weight: 400;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--muted); text-decoration: none;
      transition: color .3s;
      position: relative;
    }
    .nav-links a::after {
      content: ''; position: absolute;
      bottom: -4px; left: 0;
      width: 0; height: 1.5px;
      background: var(--white);
      transition: width .3s;
    }
    .nav-links a:hover { color: var(--white); }
    .nav-links a:hover::after { width: 100%; }
    .nav-cta {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.72rem; font-weight: 600;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--white);
      background: var(--blue);
      padding: 0.7rem 1.8rem;
      text-decoration: none;
      transition: background .3s;
    }
    .nav-cta:hover { background: var(--blue-light); }

    /* HERO */
    .hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 60%, var(--blue) 100%);
    }
    .hero .diag-pattern { z-index: 0; }

    .hero-left {
      position: relative; z-index: 2;
      display: flex; flex-direction: column;
      justify-content: center;
      padding: 10rem 5rem 6rem;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.8rem;
      margin-bottom: 3rem;
      opacity: 0; animation: fadeUp .8s .2s forwards;
    }
    .badge-line { width: 32px; height: 1.5px; background: var(--muted); }
    .badge-text {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.72rem; font-weight: 400;
      letter-spacing: 0.4em; text-transform: uppercase;
      color: var(--muted);
    }
    .hero-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(3.5rem, 5.5vw, 6.5rem);
      font-weight: 700;
      line-height: 0.95;
      letter-spacing: -0.01em;
      text-transform: uppercase;
      margin-bottom: 2.5rem;
      opacity: 0; animation: fadeUp .8s .4s forwards;
    }
    .hero-title .light { font-weight: 300; color: var(--muted); }
    .hero-title .accent { color: var(--blue-light); }
    .hero-desc {
      font-size: 1.05rem; font-weight: 300; line-height: 1.8;
      color: var(--muted); max-width: 420px; margin-bottom: 3.5rem;
      opacity: 0; animation: fadeUp .8s .6s forwards;
    }
    .hero-actions {
      display: flex; gap: 1.2rem; align-items: center;
      opacity: 0; animation: fadeUp .8s .8s forwards;
    }
    .btn-primary {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.75rem; font-weight: 600;
      letter-spacing: 0.25em; text-transform: uppercase;
      background: var(--white); color: var(--blue-dark);
      padding: 1rem 2.5rem; text-decoration: none;
      transition: background .3s, color .3s;
    }
    .btn-primary:hover { background: var(--off-white); }
    .btn-ghost {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.75rem; font-weight: 400;
      letter-spacing: 0.25em; text-transform: uppercase;
      color: var(--muted); text-decoration: none;
      display: flex; align-items: center; gap: 0.6rem;
      transition: color .3s;
    }
    .btn-ghost:hover { color: var(--white); }

    .hero-right {
      position: relative; z-index: 1;
      display: flex; align-items: center; justify-content: center;
    }
    /* ST12 BIG DIAMOND — ispirato al biglietto */
    .big-diamond-wrap {
      position: relative;
      width: 420px; height: 420px;
      opacity: 0; animation: fadeIn 1.2s .5s forwards;
    }
    .big-diamond {
      position: absolute; inset: 60px;
      background: var(--diamond);
      transform: rotate(45deg);
      border: 1.5px solid rgba(255,255,255,0.18);
    }
    .big-diamond-label {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
      z-index: 2;
    }
    .big-diamond-label span {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 10rem; font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--white);
      text-shadow: 0 0 60px rgba(58,133,190,0.4);
    }
    /* Corner words — come nel biglietto */
    .corner-word {
      position: absolute;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.72rem; font-weight: 400;
      letter-spacing: 0.35em; text-transform: uppercase;
      color: rgba(255,255,255,0.5);
      white-space: nowrap;
    }
    .cw-top    { top: 10px;  left: 50%; transform: translateX(-50%); }
    .cw-right  { right: 0;   top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; }
    .cw-bottom { bottom: 10px; left: 50%; transform: translateX(-50%); }
    .cw-left   { left: 0;    top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; }
    /* Diagonal lines */
    .diag-lines {
      position: absolute; inset: 0;
      pointer-events: none;
    }
    .diag-lines svg { width: 100%; height: 100%; }

    /* STATS BAR */
    .stats-bar {
      background: var(--diamond);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      display: flex;
    }
    .stat-item {
      flex: 1; padding: 2.5rem;
      border-right: 1px solid var(--line);
      text-align: center;
      transition: background .3s;
    }
    .stat-item:last-child { border-right: none; }
    .stat-item:hover { background: rgba(43,106,155,0.2); }
    .stat-num {
      display: block;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 3rem; font-weight: 700;
      color: var(--white); line-height: 1; margin-bottom: 0.4rem;
    }
    .stat-lbl {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.65rem; font-weight: 400;
      letter-spacing: 0.3em; text-transform: uppercase;
      color: var(--muted);
    }

    /* SERVICES — 4 pilastri come biglietto */
    .services {
      padding: 8rem 5rem;
      background: var(--blue-dark);
      position: relative; overflow: hidden;
    }
    .services .diag-pattern { opacity: 0.5; }
    .section-header {
      margin-bottom: 5rem;
    }
    .section-eyebrow {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.68rem; font-weight: 400;
      letter-spacing: 0.45em; text-transform: uppercase;
      color: var(--muted); margin-bottom: 1.2rem;
      display: flex; align-items: center; gap: 1rem;
    }
    .section-eyebrow::before {
      content: '';
      width: 28px; height: 1.5px;
      background: var(--blue-light);
      display: inline-block;
    }
    .section-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.5rem, 4vw, 4.5rem);
      font-weight: 700; text-transform: uppercase;
      line-height: 1;
    }
    .section-title .light { font-weight: 300; color: var(--muted); }
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border: 1px solid var(--line);
    }
    .team {
      padding: var(--space-section) var(--space-inner);
    }
    .team-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      border: none;
    }
    .team-card {
      background: rgba(255,255,255,0.04);
      border-radius: 1.2rem;
      overflow: hidden;
      box-shadow: 0 18px 40px rgba(0,0,0,0.15);
      transition: transform .35s ease, box-shadow .35s ease;
      display: flex;
      flex-direction: column;
      min-height: 100%;
    }
    .team-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 28px 60px rgba(0,0,0,0.22);
    }
    .team-card-img {
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      background: rgba(255,255,255,0.04);
    }




    .team-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 50% 5%;
      transition: transform .6s ease;
    }
    .team-card:hover .team-card-img img { transform: scale(1.04); }
    .team-card-content {
      padding: 2rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .team-card-role {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.72rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--blue-light);
      font-weight: 600;
    }
    .team-card-name {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: -0.03em;
      color: var(--white);
      margin: 0;
    }
    .team-card-desc {
      font-size: 1rem;
      font-weight: 300;
      line-height: 1.8;
      color: var(--muted);
      margin: 0;
    }
    .svc-card {
      padding: 3.5rem 2.5rem;
      border-right: 1px solid var(--line);
      position: relative; overflow: hidden;
      transition: background .4s;
    }
    .svc-card:last-child { border-right: none; }
    .svc-card::before {
      content: '';
      position: absolute; bottom: 0; left: 0;
      width: 0; height: 2px;
      background: var(--blue-light);
      transition: width .5s;
    }
    .svc-card:hover { background: rgba(43,106,155,0.15); }
    .svc-card:hover::before { width: 100%; }
    .svc-diamond {
      width: 38px; height: 38px;
      background: var(--blue);
      transform: rotate(45deg);
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 2.5rem;
      transition: background .3s;
    }
    .svc-card:hover .svc-diamond { background: var(--blue-light); }
    .svc-diamond-inner {
      transform: rotate(-45deg);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.6rem; font-weight: 700;
      letter-spacing: 0.05em; color: var(--white);
    }
    .svc-name {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.6rem; font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 1.2rem;
      color: var(--white);
    }
    .svc-desc {
      font-size: 0.92rem; font-weight: 300;
      line-height: 1.8; color: var(--muted);
    }

    /* ABOUT */
    .about {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .about-img {
      position: relative; overflow: hidden; min-height: 500px;
    }
    .carousel-container {
      position: relative; width: 100%; height: 100%;
    }
    .carousel-slides {
      position: relative; width: 100%; height: 100%;
    }
    .carousel-slide {
      position: absolute; top: 0; left: 0; width: 100%; height: 100%;
      opacity: 0; visibility: hidden;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    .carousel-slide.active {
      opacity: 1; visibility: visible;
    }
    .carousel-slide img {
      width: 100%; height: 100%; object-fit: cover;
      filter: brightness(0.6) saturate(0.8);
      transition: transform .8s, filter .8s;
    }
    .about-img:hover .carousel-slide.active img { transform: scale(1.04); filter: brightness(0.7) saturate(0.9); }
    .about-img-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, transparent, var(--blue-deep));
    }
    .about-content {
      background: var(--blue-deep);
      padding: 7rem 5rem;
      display: flex; flex-direction: column; justify-content: center;
      position: relative; overflow: hidden;
    }
    .about-content .diag-pattern { opacity: 0.4; }
    .about-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2rem, 3vw, 3.5rem);
      font-weight: 700; text-transform: uppercase;
      line-height: 1.05; margin-bottom: 2rem;
    }
    .about-title .light { font-weight: 300; color: var(--muted); }
    .about-text {
      font-size: 1rem; font-weight: 300;
      line-height: 1.9; color: var(--muted);
      margin-bottom: 3rem; max-width: 460px;
      position: relative; z-index: 1;
    }
    .about-tags {
      display: flex; flex-wrap: wrap; gap: 0.6rem;
      position: relative; z-index: 1;
    }
    .tag {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.65rem; font-weight: 600;
      letter-spacing: 0.25em; text-transform: uppercase;
      color: var(--blue-light);
      border: 1px solid var(--blue);
      padding: 0.4rem 1rem;
    }

    /* PORTFOLIO */
    .portfolio {
      padding: 8rem 5rem;
      background: var(--blue-dark);
      position: relative;
    }
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      grid-auto-rows: 280px;
      gap: 1rem;
      margin-top: 4rem;
    }
    .p-item {
      position: relative; overflow: hidden;
      background: var(--diamond);
    }
    .p-item.large {
      grid-column: span 2;
      grid-row: span 2;
    }
    .p-item.wide {
      grid-column: span 2;
      grid-row: span 1;
    }
    .p-item.tall {
      grid-column: span 1;
      grid-row: span 2;
    }
    .p-item img {
      width: 100%; height: 100%;
      object-fit: cover;
      filter: brightness(0.65) saturate(0.7);
      transition: transform .7s, filter .7s;
    }
    .p-item:hover img { transform: scale(1.06); filter: brightness(0.8) saturate(0.9); }
    .p-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(22,46,69,.9) 0%, transparent 50%);
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 2rem;
      opacity: 0; transition: opacity .4s;
    }
    .p-item:hover .p-overlay { opacity: 1; }
    .p-tag {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.6rem; font-weight: 400;
      letter-spacing: 0.35em; text-transform: uppercase;
      color: var(--blue-light); margin-bottom: 0.3rem;
    }
    .p-name {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.5rem; font-weight: 700;
      text-transform: uppercase; color: var(--white);
    }
    .p-label-static {
      position: absolute; bottom: 1.5rem; left: 1.5rem;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.65rem; font-weight: 400;
      letter-spacing: 0.25em; text-transform: uppercase;
      color: rgba(255,255,255,0.4);
    }

    /* QUOTE */
    .quote-section {
      background: var(--blue);
      padding: 7rem 5rem;
      text-align: center;
      position: relative; overflow: hidden;
    }
    .quote-section .diag-pattern { opacity: 0.3; }
    .quote-diamond {
      width: 60px; height: 60px;
      background: var(--diamond);
      transform: rotate(45deg);
      margin: 0 auto 3rem;
      display: flex; align-items: center; justify-content: center;
      position: relative; z-index: 1;
    }
    .quote-diamond span {
      transform: rotate(-45deg);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.7rem; font-weight: 700;
      color: var(--white);
    }
    .quote-text {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2rem, 3.5vw, 4rem);
      font-weight: 700; text-transform: uppercase;
      line-height: 1.1; max-width: 800px;
      margin: 0 auto 1.5rem;
      position: relative; z-index: 1;
    }
    .quote-text .light { font-weight: 300; }
    .quote-sub {
      font-size: 0.9rem; font-weight: 300;
      color: rgba(255,255,255,0.7);
      margin-bottom: 3.5rem;
      position: relative; z-index: 1;
    }
    .btn-white {
      display: inline-block;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.5rem; font-weight: 600;
      letter-spacing: 0.24em; text-transform: uppercase;
      background: var(--white); color: var(--blue-dark);
      padding: 1.2rem 3.6rem; text-decoration: none;
      transition: background .3s;
      position: relative; z-index: 1;
    }
    .btn-white:hover { background: var(--off-white); }

    /* CONTACT */
    .contact {
      padding: 8rem 5rem;
      background: var(--blue-dark);
      position: relative; overflow: hidden;
    }
    .contact-info-panel {
      position: relative; z-index: 1;
      margin-bottom: 3rem;
    }
    .contact-info-panel .diag-pattern { opacity: 0.4; }
    .contact-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.2rem, 4vw, 3.5rem);
      font-weight: 700; text-transform: uppercase;
      line-height: 1.1; margin-bottom: 2.5rem;
      position: relative; z-index: 1;
    }
    .contact-title .light { font-weight: 300; color: var(--muted); }
    .contact-detail {
      position: relative; z-index: 1;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.72rem; font-weight: 400;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--muted); line-height: 2.5;
      text-align: center;
    }
    .contact-detail a {
      color: var(--white); text-decoration: none;
      transition: color .3s;
    }
    .contact-detail a:hover { color: var(--blue-light); }
    .contact-detail-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      margin: 0.6rem 0;
      width: 100%;
    }
    .contact-icon {
      display: inline-flex;
      width: 1.2rem;
      height: 1.2rem;
      color: var(--blue-light);
      flex-shrink: 0;
    }
    .contact-icon svg {
      width: 100%;
      height: 100%;
    }
    .contact-website {
      margin-top: 2rem; position: relative; z-index: 1;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.8rem; font-weight: 400;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--blue-light);
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .field { display: flex; flex-direction: column; gap: 0.5rem; }
    .field label {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.6rem; font-weight: 600;
      letter-spacing: 0.35em; text-transform: uppercase;
      color: var(--muted);
    }
    .field input, .field textarea, .field select {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--line);
      border-radius: 0;
      color: var(--white);
      font-family: 'Barlow', sans-serif;
      font-size: 0.95rem; font-weight: 300;
      padding: 0.9rem 1rem;
      outline: none;
      transition: border-color .3s, background .3s;
      resize: none;
      appearance: none;
    }
    .field input:focus,
    .field textarea:focus,
    .field select:focus {
      border-color: var(--blue-light);
      background: rgba(58,133,190,0.06);
    }
    .field select option { background: var(--blue-deep); }
    .submit-btn {
      align-self: flex-start;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.75rem; font-weight: 600;
      letter-spacing: 0.25em; text-transform: uppercase;
      background: var(--blue); color: var(--white);
      border: none; padding: 1rem 2.5rem;
      cursor: pointer; transition: background .3s;
    }
    .submit-btn:hover { background: var(--blue-light); }

    /* FOOTER */
    footer {
      background: var(--diamond);
      border-top: 1px solid var(--line);
      padding: 2.5rem 5rem;
      display: flex; justify-content: space-between; align-items: center;
    }
    .footer-logo {
      display: flex; align-items: center; gap: 0.8rem;
    }
    .footer-diamond {
      width: 22px; height: 22px;
      background: var(--blue);
      transform: rotate(45deg);
      display: flex; align-items: center; justify-content: center;
    }
    .footer-diamond span {
      transform: rotate(-45deg);
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.45rem; font-weight: 700;
      color: var(--white);
    }
    .footer-name {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.75rem; font-weight: 600;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--muted);
    }
    .footer-links { display: flex; gap: 2rem; list-style: none; }
    .footer-links a {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.62rem; font-weight: 400;
      letter-spacing: 0.2em; text-transform: uppercase;
      color: rgba(122,155,184,0.6); text-decoration: none;
      transition: color .3s;
    }
    .footer-links a:hover { color: var(--white); }
    .footer-copy {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 0.58rem; font-weight: 300;
      letter-spacing: 0.15em;
      color: rgba(122,155,184,0.4);
    }

    /* REVEAL */
    .reveal {
      opacity: 0; transform: translateY(35px);
      transition: opacity .8s, transform .8s;
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal-d1 { transition-delay: .1s; }
    .reveal-d2 { transition-delay: .22s; }
    .reveal-d3 { transition-delay: .34s; }
    .reveal-d4 { transition-delay: .46s; }

    /* ANIMATIONS */
    @keyframes fadeUp {
      from { opacity:0; transform:translateY(30px); }
      to   { opacity:1; transform:translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity:0; } to { opacity:1; }
    }
    @keyframes rotateSlow {
      from { transform:rotate(45deg); }
      to   { transform:rotate(405deg); }
    }

    /* RESPONSIVE */
    @media (max-width:960px) {
      nav { padding: 1.4rem 2rem; }
      nav.scrolled { padding: 1rem 2rem; }
      .nav-links, .nav-cta { display:none; }
      .hero { grid-template-columns:1fr; }
      .hero-right { display:none; }
      .hero-left { padding: 9rem 2rem 5rem; }
      .services { padding:5rem 2rem; }
      .services-grid { grid-template-columns:1fr 1fr; }
      .team-grid { grid-template-columns:1fr; }
      .svc-card:nth-child(2) { border-right: none; }
      .about { grid-template-columns:1fr; }
      .about-img { min-height: 300px; }
      .about-content { padding: 4rem 2rem; }
      .portfolio { padding:5rem 2rem; }
      .portfolio-grid { grid-template-columns:1fr; grid-template-rows:auto; }
      .p-item, .p-item.large, .p-item.wide, .p-item.tall {
        grid-column: span 1;
        grid-row: span 1;
      }
      .p-item { height:220px; }
      .quote-section { padding:5rem 2rem; }
      .contact { grid-template-columns:1fr; }
      footer { flex-direction:column; gap:1.2rem; padding:2rem; text-align:center; }
    }
/* ============================================
   ADDITIONS & FIXES
   ============================================ */

/* --- SPACING VARIABLES --- */
:root {
  --space-section: 8rem;
  --space-inner: 5rem;
}

/* --- ACCESSIBILITY: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- TOUCH: disable custom cursor on mobile --- */
@media (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* --- PERFORMANCE: GPU layers for animated elements --- */
.hero-title, .reveal {
  will-change: transform, opacity;
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 46px; height: 46px;
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--line);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 300;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .3s;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--blue-light); }

/* --- HAMBURGER --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(22,46,69,0.98);
  backdrop-filter: blur(16px);
  z-index: 205;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  list-style: none;
  text-align: center;
}
.mobile-link {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  padding: 0.6rem 2rem;
  transition: color .3s;
}
.mobile-link:hover { color: var(--blue-light); }
.mobile-cta {
  margin-top: 2rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.9rem 2.5rem;
}
.mobile-cta:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

/* --- ACTIVE NAV LINK --- */
.nav-links a.active {
  color: var(--white);
}
.nav-links a.active::after { width: 100%; }

/* --- ABOUT second paragraph --- */
.about-text--secondary {
  margin-top: 1rem;
}

/* --- CONTACT EYEBROW fix (was inline style) --- */
.contact-eyebrow {
  position: relative;
  z-index: 1;
}

/* --- FORM ERRORS --- */
.field-error {
  display: block;
  font-size: 0.72rem;
  color: #e57373;
  margin-top: 4px;
  min-height: 1em;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.1em;
}
.field input.invalid,
.field textarea.invalid,
.field select.invalid {
  border-color: #e57373 !important;
}

/* --- FORM SUCCESS --- */
.form-success {
  margin-top: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #81c995;
  min-height: 1.4em;
}

.form-success.form-error {
  color: #e57373;
}

/* --- WORK IN PROGRESS PAGE --- */
.work-in-progress {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--blue-deep);
}

.wip-content {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.wip-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  animation: pulse 2s infinite;
}

.wip-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.wip-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 3rem;
}

.wip-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* --- PROCESS SECTION --- */
.process {
  padding: var(--space-section) var(--space-inner);
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}
.process-header {
  margin-bottom: 4rem;
}
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 2rem;
  position: relative;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child  { padding-right: 0; }
.step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  opacity: 0.5;
}
.step-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
}
.process-connector {
  width: 60px;
  height: 1px;
  background: var(--line);
  flex-shrink: 0;
  margin-top: 2rem;
  position: relative;
}
.process-connector::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--blue);
}

/* --- TESTIMONIALS --- */
.testimonials {
  padding: var(--space-section) var(--space-inner);
  background: var(--blue-deep);
  position: relative;
  overflow: hidden;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.test-card {
  background: var(--diamond);
  border: 1px solid var(--line);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s;
}
.test-card:hover {
  background: rgba(43,106,155,0.15);
  border-color: rgba(58,133,190,0.3);
}
.test-quote {
  font-size: 5rem;
  line-height: 0.6;
  color: var(--blue);
  opacity: 0.4;
  margin-bottom: 1.2rem;
  font-family: Georgia, serif;
}
.test-text {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 2rem;
  font-style: italic;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.test-avatar {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.test-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}
.test-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 2px;
}
.test-stars {
  margin-left: auto;
  color: #f0b429;
  font-size: 0.8rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}

/* --- PORTFOLIO MODAL --- */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.portfolio-modal.open {
  opacity: 1;
  pointer-events: all;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,20,32,0.88);
  backdrop-filter: blur(6px);
}
.modal-content {
  position: relative;
  z-index: 1;
  background: var(--blue-dark);
  border: 1px solid var(--line);
  max-width: 680px;
  width: 90%;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform .35s;
}
.portfolio-modal.open .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
  z-index: 2;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: brightness(0.8);
}
.modal-body {
  padding: 2.5rem;
}
.modal-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue-light);
  display: block;
  margin-bottom: 0.8rem;
}
.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.modal-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2rem;
}
.modal-cta { display: inline-block; }

/* --- QUOTE MODAL --- */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.quote-modal.open {
  opacity: 1;
  pointer-events: all;
}
.quote-modal .modal-content {
  background: var(--blue-deep);
  border-radius: 1.2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
.quote-modal .modal-header {
  text-align: center;
  margin-bottom: 2rem;
}
.quote-modal .modal-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.5rem;
}

/* --- P-ITEM CURSOR POINTER --- */
.p-item { cursor: pointer; }

/* --- RESPONSIVE: new sections --- */
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-cta   { display: none; }

  .process-steps {
    flex-direction: column;
    gap: 2.5rem;
  }
  .process-connector { display: none; }
  .process-step { padding: 0; }
  .process { padding: 5rem 2rem; }

  .testimonials { padding: 5rem 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .scroll-top { bottom: 1.5rem; right: 1.5rem; }
}

/* ============================================
   RESPONSIVE: SMARTPHONE (≤ 600px)
   ============================================ */
@media (max-width: 600px) {

  :root {
    --space-section: 4rem;
    --space-inner: 1.5rem;
  }

  html { scroll-behavior: smooth; }
  body { overflow-x: hidden; }

  /* NAV */
  nav, nav.scrolled { padding: 1rem 1.25rem; }
  .nav-wordmark { font-size: 0.78rem; letter-spacing: 0.1em; }
  .nav-diamond { width: 28px; height: 28px; }

  /* HERO */
  .hero-left { padding: 7rem 1.5rem 3.5rem; }
  .hero-badge { margin-bottom: 2rem; }
  .badge-text { font-size: 0.62rem; letter-spacing: 0.25em; }
  .hero-title { margin-bottom: 1.8rem; }
  .hero-desc { max-width: 100%; margin-bottom: 2.2rem; font-size: 0.95rem; }
  .hero-actions { flex-wrap: wrap; gap: 1rem; }
  .btn-primary, .btn-ghost { font-size: 0.7rem; padding: 0.9rem 1.8rem; }

  /* STATS BAR */
  .stats-bar { flex-direction: column; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 1.6rem 1.25rem;
  }
  .stat-item:last-child { border-bottom: none; }
  .stat-item.stat-wide {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .stat-num { font-size: 2.2rem; }

  /* SERVICES */
  .services { padding: 3.5rem 1.25rem; }
  .section-header { margin-bottom: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; border-bottom: 1px solid var(--line); padding: 2.2rem 1.5rem; }
  .svc-card:last-child { border-bottom: none; }
  .svc-card:nth-child(2) { border-right: none; }

  /* ABOUT */
  .about-img { min-height: 220px; }
  .about-content { padding: 3rem 1.5rem; }
  .about-text { max-width: 100%; margin-bottom: 1.8rem; }
  .about-tags { gap: 0.5rem; }
  .tag { font-size: 0.6rem; padding: 0.35rem 0.8rem; }

  /* TEAM */
  .team { padding: 3.5rem 1.25rem; }
  .team-card-content { padding: 1.5rem; }
  .team-card-name { font-size: 1.4rem; }
  .team-card-desc { font-size: 0.9rem; }

  /* PORTFOLIO */
  .portfolio { padding: 3.5rem 1.25rem; }
  .portfolio-grid { margin-top: 2.5rem; gap: 0.75rem; }
  .p-item { height: 190px; }
  .p-overlay { padding: 1.2rem; opacity: 1; background: linear-gradient(to top, rgba(22,46,69,.92) 0%, transparent 65%); }
  .p-item img { filter: brightness(0.55) saturate(0.7); }
  .p-tag { font-size: 0.6rem; }
  .p-name { font-size: 1rem; }

  /* PROCESS */
  .process { padding: 3.5rem 1.25rem; }
  .step-num { font-size: 3rem; }
  .step-title { font-size: 1.1rem; }
  .step-desc { font-size: 0.85rem; }

  /* TESTIMONIALS */
  .testimonials { padding: 3.5rem 1.25rem; }
  .testimonials-grid { gap: 1.25rem; margin-top: 2.5rem; }
  .test-card { padding: 1.8rem 1.5rem; }
  .test-text { font-size: 0.9rem; }

  /* QUOTE CTA SECTION */
  .quote-section { padding: 3.5rem 1.25rem; }
  .quote-sub { margin-bottom: 2.2rem; font-size: 0.85rem; }
  .btn-white { font-size: 1rem; padding: 1rem 2rem; letter-spacing: 0.15em; }

  /* CONTACT */
  .contact { padding: 3.5rem 1.25rem; }
  .contact-title { margin-bottom: 1.8rem; }
  .contact-detail-item { text-align: left; justify-content: flex-start; }
  .contact-detail a { word-break: break-word; }

  /* FORM */
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .quote-modal .modal-content { padding: 1.75rem 1.5rem; width: 92%; }
  .quote-modal .modal-header h2 { font-size: 1.5rem; }

  /* PORTFOLIO MODAL */
  .modal-content { width: 94%; max-height: 92vh; }
  .modal-img { height: 190px; }
  .modal-body { padding: 1.6rem; }
  .modal-title { font-size: 1.4rem; }
  .modal-desc { font-size: 0.9rem; }

  /* MOBILE MENU */
  .mobile-link { font-size: 1.5rem; padding: 0.5rem 1.5rem; }

  /* FOOTER */
  footer { padding: 1.75rem 1.25rem; }
  .footer-name { font-size: 0.68rem; }
  .footer-copy { font-size: 0.55rem; text-align: center; }

  .scroll-top { width: 40px; height: 40px; bottom: 1.2rem; right: 1.2rem; }
}