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

    :root {
      --bg: #0C0C0C;
      --bg2: #1A1A1A;
      --bg3: #222;
      --red: #FF3D2E;
      --red2: #FF6B5B;
      --yellow: #FFD600;
      --white: #F5F2EC;
      --muted: #777;
      --muted2: #555;
      --border: rgba(255, 61, 46, 0.18);
      --border2: rgba(255, 255, 255, 0.07);
      --font-display: 'Syne', sans-serif;
      --font-body: 'DM Sans', sans-serif;
      --grid-color: rgba(255, 100, 20, 0.12);
      --about-bg: #F5F0EA;
      --about-text: #1a1a1a;
      --about-grid: rgba(0, 0, 0, 0.09);
      --about-muted: #555;
      --about-card-bg: #fff;
      --about-card-border: rgba(0, 0, 0, 0.08);
    }

    body.light {
      --bg: #F7F4EF;
      --bg2: #EDE9E3;
      --bg3: #E0DBD4;
      --white: #1A1A1A;
      --muted: #888;
      --muted2: #aaa;
      --border2: rgba(0, 0, 0, 0.08);
      --grid-color: rgba(255, 100, 20, 0.08);
      /* Invert alternating sections in light mode */
      --section-light: #1A1A1A;
      --section-light-text: #F5F2EC;
      --section-light-muted: #999;
      --section-light-card: #2a2a2a;
      --section-light-border: rgba(255, 255, 255, .08);
    }

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

    body {
      background: var(--bg);
      color: var(--white);
      font-family: var(--font-body);
      overflow-x: hidden;
      transition: background .3s, color .3s;
    }

    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
      background-size: 80px 80px;
      pointer-events: none;
      z-index: 0;
    }

    /* THEME TOGGLE — disabled */
    .theme-toggle {
      display: none !important;
    }

    .theme-toggle input {
      opacity: 0;
      width: 0;
      height: 0;
      position: absolute;
    }

    .theme-track {
      position: absolute;
      inset: 0;
      border-radius: 999px;
      background: #1a1a1a;
      border: 1px solid rgba(255, 255, 255, .2);
      transition: all .35s;
      box-shadow: 0 2px 12px rgba(0, 0, 0, .4);
    }

    body.light .theme-track {
      background: #e8e0d4;
      border-color: rgba(0, 0, 0, .15);
      box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
    }

    .theme-icon-sun,
    .theme-icon-moon {
      position: absolute;
      top: 50%;
      font-size: .8rem;
      line-height: 1;
      transform: translateY(-50%);
      transition: opacity .3s;
    }

    .theme-icon-sun {
      right: 6px;
      opacity: 1;
    }

    .theme-icon-moon {
      left: 6px;
      opacity: 0;
    }

    body.light .theme-icon-sun {
      opacity: 0;
    }

    body.light .theme-icon-moon {
      opacity: 1;
    }

    .theme-thumb {
      position: absolute;
      left: 3px;
      top: 50%;
      transform: translateY(-50%);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: linear-gradient(135deg, #FFD600, #FF6B00);
      box-shadow: 0 1px 6px rgba(0, 0, 0, .4);
      transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
    }

    body.light .theme-thumb {
      transform: translateY(-50%) translateX(26px);
      background: linear-gradient(135deg, #1a1a2e, #16213e);
    }

    nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      display: flex;
      justify-content: center;
      padding: 1.1rem 2rem;
    }

    .nav-inner {
      display: flex;
      align-items: center;
      gap: .2rem;
      background: rgba(16, 16, 20, .72);
      backdrop-filter: blur(28px) saturate(160%);
      -webkit-backdrop-filter: blur(28px) saturate(160%);
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 999px;
      padding: .4rem .5rem;
      transition: background .3s, border-color .3s;
      box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
    }

    body.light .nav-inner {
      background: rgba(248, 244, 238, .78);
      -webkit-backdrop-filter: blur(28px) saturate(160%);
      backdrop-filter: blur(28px) saturate(160%);
      border-color: rgba(0, 0, 0, .1);
      box-shadow: 0 4px 24px rgba(0, 0, 0, .1);
    }

    .nav-link {
      color: var(--muted);
      text-decoration: none;
      font-size: .82rem;
      letter-spacing: .04em;
      padding: .5rem 1.2rem;
      border-radius: 999px;
      transition: all .2s;
      font-weight: 500;
    }

    .nav-link:hover {
      color: var(--white);
    }

    body.light .nav-link:hover {
      color: #111;
    }

    /* Hero light mode fixes */
    body.light .hero h1 .outline,
    body.light .hero-line2 .outline {
      -webkit-text-stroke-color: var(--white);
    }

    body.light .hero-line2 {
      color: var(--red);
    }

    body.light .hero-sub {
      color: #555;
    }

    body.light .hero-photo-ring2 {
      background: radial-gradient(circle, rgba(255, 61, 46, .08) 0%, transparent 70%);
    }

    body.light .btn-outline {
      color: var(--white);
      border-color: rgba(0, 0, 0, .2);
    }

    body.light .btn-outline:hover {
      border-color: #333;
    }

    body.light .scroll-hint {
      color: #888;
    }

    body.light .hero-photo-placeholder {
      background: var(--bg2);
    }

    .nav-link.active {
      background: var(--red);
      color: #fff;
    }

    .nav-cta {
      background: var(--red);
      color: #fff;
      font-size: .82rem;
      font-weight: 700;
      font-family: var(--font-display);
      padding: .5rem 1.4rem;
      border-radius: 999px;
      text-decoration: none;
      margin-left: .4rem;
      transition: all .2s;
    }

    .nav-cta:hover {
      background: #e62e20;
      transform: scale(1.03);
    }

    /* HERO */
    .hero {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      padding: 7rem 2rem 4rem 2rem;
      text-align: left;
      position: relative;
      z-index: 1;
      overflow: hidden;
      padding-right: 0;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      padding-left: clamp(1rem, 5vw, 4rem);
    }

    .hero-glow {
      position: absolute;
      top: 50%;
      right: 5%;
      transform: translate(10%, -50%);
      width: 700px;
      height: 700px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 61, 46, .15) 0%, rgba(255, 61, 46, .06) 35%, transparent 65%);
      pointer-events: none;
      z-index: 0;
    }

    .hero-avail {
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      background: rgba(255, 61, 46, .08);
      border: 1px solid rgba(255, 61, 46, .3);
      border-radius: 999px;
      padding: .4rem 1.1rem;
      font-size: .78rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--red2);
      margin-bottom: 2rem;
    }

    .hero-avail::before {
      content: '';
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--red);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: 1;
        transform: scale(1);
      }

      50% {
        opacity: .4;
        transform: scale(1.4);
      }
    }

    .hero h1,
    .hero-line1,
    .hero-line2 {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 5.5vw, 5rem);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -.03em;
    }

    .hero-line1 {
      margin-bottom: .2rem;
    }

    .hero-line2 {
      margin-top: 0;
      margin-bottom: 1.5rem;
      color: var(--red);
    }

    .hero h1 .name-red,
    .hero-line1 .name-red {
      color: var(--red);
    }

    .hero h1 .outline,
    .hero-line2 .outline {
      -webkit-text-stroke: 2px var(--white);
      color: transparent;
    }

    .hero-sub {
      max-width: 520px;
      color: #888;
      font-size: 1.05rem;
      font-weight: 300;
      line-height: 1.75;
      margin-bottom: 2.5rem;
    }

    .hero-ctas {
      display: flex;
      gap: 1rem;
      justify-content: flex-start;
      flex-wrap: wrap;
    }

    .btn-red {
      background: var(--red);
      color: #fff;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .85rem;
      padding: .85rem 2.2rem;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      transition: all .2s;
    }

    .btn-red:hover {
      background: #e62e20;
      transform: scale(1.04);
    }

    .btn-red svg,
    .btn-outline svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }

    .btn-outline {
      background: transparent;
      color: var(--white);
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .85rem;
      padding: .85rem 2.2rem;
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 999px;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: .5rem;
      transition: all .2s;
    }

    .btn-outline:hover {
      border-color: var(--white);
    }

    .scroll-hint {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .4rem;
      color: var(--muted);
      font-size: .7rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      z-index: 2;
    }

    .scroll-line {
      width: 1px;
      height: 40px;
      background: linear-gradient(to bottom, transparent, var(--red));
      animation: sa 1.6s infinite;
    }

    @keyframes sa {
      0% {
        transform: scaleY(0);
        transform-origin: top;
      }

      50% {
        transform: scaleY(1);
        transform-origin: top;
      }

      51% {
        transform: scaleY(1);
        transform-origin: bottom;
      }

      100% {
        transform: scaleY(0);
        transform-origin: bottom;
      }
    }

    /* HERO PHOTO — large right-side image, fills right half */
    .hero-photo-side {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 50%;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    /* Left-to-right gradient behind the text — solid dark on left, fading into the photo */
    .hero-gradient {
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      width: 75%;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(to right, var(--bg) 0%, var(--bg) 58%, rgba(12, 12, 12, .95) 66%, rgba(12, 12, 12, .7) 76%, rgba(12, 12, 12, .3) 86%, transparent 100%);
    }

    /* Bottom fade */
    .hero-gradient-bottom {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 20%;
      z-index: 2;
      pointer-events: none;
      background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
    }

    .hero-photo-wrap {
      position: relative;
      width: 100%;
      height: 100%;
    }

    /* Red glow ring behind photo */
    .hero-photo-ring {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 85%;
      height: 85%;
      border-radius: 50%;
      background: conic-gradient(rgba(255, 61, 46, .6) 0%, rgba(255, 61, 46, .1) 30%, transparent 50%, rgba(255, 61, 46, .1) 70%, rgba(255, 61, 46, .6) 100%);
      animation: spin-ring 8s linear infinite;
      filter: blur(30px);
    }

    @keyframes spin-ring {
      to {
        transform: translate(-50%, -50%) rotate(360deg);
      }
    }

    /* Second glow layer — more red atmosphere */
    .hero-photo-ring2 {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 90%;
      height: 90%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 61, 46, .15) 0%, rgba(180, 30, 20, .08) 50%, transparent 70%);
      pointer-events: none;
    }

    /* Loading state — ring pulses faster & dimmer */
    .hero-photo-wrap.loading .hero-photo-ring {
      animation: spin-ring 2.4s linear infinite, ring-loading-pulse 1.6s ease-in-out infinite;
    }

    @keyframes ring-loading-pulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: .35;
      }
    }

    .hero-photo-img {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      border-radius: 0;
      border: none;
      display: block;
    }

    /* Pop-in spring when photo first appears */
    @keyframes photo-pop-in {
      0% {
        opacity: 0;
        transform: scale(.92);
      }

      60% {
        opacity: 1;
        transform: scale(1.03);
      }

      80% {
        transform: scale(.99);
      }

      100% {
        opacity: 1;
        transform: scale(1);
      }
    }

    .hero-photo-img.pop-in {
      animation: photo-pop-in .55s cubic-bezier(.34, 1.56, .64, 1) forwards;
    }

    /* Shimmer placeholder — replaces emoji/name during loading */
    @keyframes hero-shimmer {
      0% {
        background-position: -480px 0;
      }

      100% {
        background-position: 480px 0;
      }
    }

    .hero-photo-placeholder {
      position: relative;
      z-index: 1;
      width: 100%;
      height: 100%;
      border-radius: 0;
      background: linear-gradient(90deg,
          var(--bg2) 0%,
          rgba(255, 61, 46, .13) 38%,
          rgba(255, 214, 0, .08) 50%,
          rgba(255, 61, 46, .13) 62%,
          var(--bg2) 100%);
      background-size: 960px 100%;
      animation: hero-shimmer 1.8s ease-in-out infinite;
      border: none;
    }

    .hero-photo-placeholder span,
    .hero-photo-placeholder p {
      display: none;
    }

    .hero-photo-input {
      display: none;
    }

    /* Hero responsive — stack on mobile */
    @media(max-width:900px) {
      .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0;
        padding-right: 0;
        min-height: 100svh;
        align-items: end;
      }

      .hero-content {
        padding: 0 1.5rem max(2.5rem, env(safe-area-inset-bottom, 2.5rem));
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 3;
      }

      .hero h1,
      .hero-line1,
      .hero-line2 {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
      }

      .hero-avail {
        margin-bottom: .8rem;
        font-size: .68rem;
        padding: .3rem .9rem;
      }

      .hero-sub {
        font-size: .85rem;
        margin-bottom: 1.2rem;
        text-align: center;
      }

      .hero-ctas {
        justify-content: center;
        gap: .7rem;
      }

      .btn-red,
      .btn-outline {
        font-size: .78rem;
        padding: .7rem 1.5rem;
      }

      .hero-photo-side {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
      }

      /* Mobile: gradient from bottom to top */
      .hero-gradient {
        width: 100%;
        background: linear-gradient(to top, var(--bg) 0%, rgba(12, 12, 12, .9) 25%, rgba(12, 12, 12, .55) 45%, rgba(12, 12, 12, .15) 65%, transparent 80%);
      }

      .hero-gradient-bottom {
        display: none;
      }

      .hero-photo-wrap {
        max-width: 100%;
        height: 100%;
      }

      .hero-photo-img {
        object-position: top center;
      }

      .hero-glow {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
      }

      .scroll-hint {
        display: none;
      }
    }

    /* ── CUSTOM CURSOR (desktop only) ── */
    @media (hover: hover) and (pointer: fine) {
      * {
        cursor: none !important;
      }

      /* Restore normal cursor inside admin panel */
      .admin-overlay,
      .admin-overlay * {
        cursor: auto !important;
      }

      .admin-overlay input,
      .admin-overlay textarea,
      .admin-overlay select {
        cursor: text !important;
      }

      .admin-overlay button,
      .admin-overlay .admin-nav-item,
      .admin-overlay .btn-red,
      .admin-overlay .btn-sm,
      .admin-overlay .btn-outline,
      .admin-overlay a {
        cursor: pointer !important;
      }

      /* Restore cursor inside modals (modal-overlay is outside admin-overlay in the DOM) */
      .modal-overlay,
      .modal-overlay * {
        cursor: auto !important;
      }

      .modal-overlay input,
      .modal-overlay textarea,
      .modal-overlay select {
        cursor: text !important;
      }

      .modal-overlay button,
      .modal-overlay a {
        cursor: pointer !important;
      }
    }

    @media (hover: none),
    (pointer: coarse) {

      .cursor-dot,
      .cursor-ring {
        display: none !important;
      }
    }

    .cursor-dot {
      position: fixed;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--red);
      pointer-events: none;
      z-index: 9999;
      left: 0;
      top: 0;
      will-change: transform;
    }

    .cursor-ring {
      position: fixed;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1.5px solid var(--red);
      pointer-events: none;
      z-index: 9998;
      left: 0;
      top: 0;
      transition: width .2s, height .2s, opacity .2s;
      opacity: .7;
      will-change: transform;
    }

    .cursor-ring.hover {
      width: 48px;
      height: 48px;
      opacity: .4;
    }

    /* ── SECTIONS: alternating bg ── */
    /* Dark mode:  hero=dark, about=light, services=dark, work=light, contact=dark */
    /* Light mode: opposite */

    /* Same grid on ALL sections */
    section::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
      background-size: 80px 80px;
      pointer-events: none;
      z-index: 0;
    }

    section .wrap,
    .section-inner {
      position: relative;
      z-index: 1;
    }

    /* Hero = dark */
    .hero {
      background: var(--bg);
    }

    /* ══ ABOUT SECTION — redesigned ══ */
    #about {
      background: var(--section-light);
      padding: 5rem 2rem;
    }

    #about .sec-label {
      color: var(--red);
    }

    #about .sec-label::before {
      background: var(--red);
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3.5rem;
      align-items: start;
      max-width: 1200px;
      margin: 0 auto;
    }

    #about h2 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 800;
      line-height: 1.05;
      letter-spacing: -.02em;
      margin-bottom: 1.5rem;
      color: var(--section-light-text);
    }

    #about h2 span {
      color: var(--red);
    }

    #about p {
      font-weight: 400;
      line-height: 1.8;
      margin-bottom: 1rem;
      font-size: .95rem;
      color: var(--section-light-muted);
    }

    /* Stats row — cards with icons */
    .stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-top: 2.5rem;
    }

    .stat {
      background: #fff;
      border: 1px solid rgba(0, 0, 0, .06);
      border-radius: 16px;
      padding: 1.2rem 1rem;
      text-align: center;
    }

    .stat-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      margin: 0 auto .7rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 61, 46, .08);
      color: var(--red);
    }

    .stat-icon svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .stat-num {
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 800;
      line-height: 1;
      color: var(--section-light-text);
    }

    .stat-acc {
      color: var(--red);
    }

    .stat-lbl {
      font-size: .72rem;
      margin-top: .3rem;
      letter-spacing: .04em;
      color: var(--section-light-muted);
    }


    /* Right: Photo + Card — offset to align with h2 (skip past sec-label height) */
    .about-right {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      align-items: stretch;
      margin-top: calc(.7rem * 1.5 + 1rem);
      /* sec-label line-height + margin-bottom */
    }

    .about-photo-wrap {
      position: relative;
      border-radius: 16px;
      overflow: hidden;
      min-height: 340px;
      background: #111;
    }

    .about-photo-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }

    .about-photo-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #ddd, #eee);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
    }

    .about-card {
      background: #fff;
      border-radius: 0 16px 16px 0;
      padding: 1.6rem 1.4rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      border: 1px solid rgba(0, 0, 0, .06);
      border-left: none;
    }

    .about-badge {
      position: absolute;
      top: -.6rem;
      right: 1rem;
      background: var(--red);
      color: #fff;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: .65rem;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: .35rem .9rem;
      border-radius: 999px;
      display: flex;
      align-items: center;
      gap: .3rem;
      transform: rotate(4deg);
      box-shadow: 0 3px 12px rgba(255, 61, 46, .3);
    }

    .about-badge::after {
      content: '+';
      font-size: .7rem;
      font-weight: 800;
    }

    .about-name {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--section-light-text);
      margin-bottom: .15rem;
      display: flex;
      align-items: center;
      gap: .4rem;
    }

    .about-role {
      font-size: .8rem;
      color: var(--section-light-muted);
      margin-bottom: .9rem;
    }

    /* Skill tags */
    .about-tags {
      display: flex;
      gap: .4rem;
      flex-wrap: wrap;
      margin-bottom: 1.2rem;
    }

    .about-tag {
      background: transparent;
      border: 1px solid rgba(0, 0, 0, .12);
      border-radius: 999px;
      font-size: .68rem;
      padding: .3rem .7rem;
      color: var(--section-light-text);
      font-weight: 500;
      letter-spacing: .02em;
    }

    /* Quote */
    .about-quote {
      position: relative;
      padding-left: 0;
      margin-bottom: 1.2rem;
    }

    .about-quote-mark {
      font-family: var(--font-display);
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--red);
      line-height: .8;
      margin-bottom: .4rem;
    }

    .about-quote p {
      font-size: .85rem;
      line-height: 1.6;
      color: var(--section-light-text);
      font-style: italic;
      margin: 0;
    }

    /* Social icons */
    .about-socials {
      display: flex;
      gap: .6rem;
      margin-top: auto;
    }

    .social-icon-btn {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      border: 1px solid rgba(0, 0, 0, .1);
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--section-light-text);
      text-decoration: none;
      transition: all .2s;
    }

    .social-icon-btn:hover {
      background: var(--red);
      border-color: var(--red);
      color: #fff;
    }

    .social-icon-btn svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    /* About responsive */
    @media(max-width:900px) {
      .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .about-grid>div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      #about .sec-label {
        justify-content: center;
      }

      .stats-row {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
      }

      .about-right {
        max-width: 420px;
        margin: 0 auto;
      }

      .about-socials {
        justify-content: center;
      }

      .about-tags {
        justify-content: center;
      }
    }

    @media(max-width:480px) {
      .about-right {
        grid-template-columns: 1fr;
      }

      .about-photo-wrap {
        border-radius: 16px 16px 0 0;
        min-height: 400px;
      }

      .about-card {
        border-radius: 0 0 16px 16px;
        border-left: 1px solid rgba(0, 0, 0, .06);
        border-top: none;
      }

      .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: .6rem;
      }
    }

    /* Services = DARK */
    #services {
      background: var(--bg);
    }

    /* Work = LIGHT (inverted) */
    #work {
      background: var(--section-light);
    }

    #work h2,
    #work .sec-label-text {
      color: var(--section-light-text);
    }

    #work .work-header h2 {
      color: var(--section-light-text);
    }

    #work .sec-label {
      color: var(--red);
    }

    #work .sec-label::before {
      background: var(--red);
    }

    #work .proj-card {
      background: var(--section-light-card);
      border-color: var(--section-light-border);
    }

    #work .proj-name {
      color: var(--section-light-text);
    }

    #work .proj-count {
      color: var(--section-light-muted);
    }

    #work .work-with-me {
      background: var(--red);
      color: #fff;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: .82rem;
      padding: .7rem 1.5rem;
      border-radius: 999px;
      text-decoration: none;
      border: none;
      transition: all .2s;
      display: inline-block;
    }

    #work .work-with-me:hover {
      background: #e62e20;
      transform: scale(1.03);
    }

    /* Filter Tabs */
    .filter-tabs {
      display: flex;
      gap: .5rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .filter-tab {
      background: transparent;
      border: 1px solid var(--section-light-border);
      color: var(--section-light-muted);
      font-family: var(--font-display);
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .06em;
      text-transform: uppercase;
      padding: .45rem 1.1rem;
      border-radius: 999px;
      cursor: pointer;
      transition: all .2s;
    }

    .filter-tab:hover {
      border-color: var(--red);
      color: var(--red);
    }

    .filter-tab.active {
      background: var(--red);
      border-color: var(--red);
      color: #fff;
    }

    /* Contact = DARK */
    #contact {
      background: var(--bg);
    }

    :root {
      --section-light: #F0EBE3;
      --section-light-text: #111;
      --section-light-muted: #555;
      --section-light-card: #fff;
      --section-light-border: rgba(0, 0, 0, .08);
    }

    /* SECTIONS BASE */
    section {
      padding: 5rem 2rem;
      position: relative;
      z-index: 1;
    }

    .wrap {
      max-width: 1200px;
      margin: 0 auto;
    }

    .sec-label {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      font-size: .7rem;
      letter-spacing: .22em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 1rem;
    }

    .sec-label::before {
      content: '';
      width: 26px;
      height: 1px;
      background: var(--red);
    }

    .work-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 3rem;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .work-header h2 {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 3.5vw, 3rem);
      font-weight: 800;
      letter-spacing: -.02em;
    }

    /* ── PROJECTS GRID — equal 3-col, orange overlay ── */
    .projects-grid {
      display: flex;
      flex-direction: column;
      gap: 3rem;
    }

    /* Category label */
    .proj-section-label {
      font-family: var(--font-display);
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--section-light-muted);
      margin-bottom: 1.2rem;
      display: flex;
      align-items: center;
      gap: .8rem;
    }

    .proj-section-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--section-light-border);
    }

    /* Cards row */
    .proj-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 3px;
    }

    /* Individual card */
    .proj-card {
      position: relative;
      overflow: hidden;
      cursor: pointer;
      aspect-ratio: 4/3;
      background: #111;
    }

    .proj-card .proj-thumb {
      position: absolute;
      inset: 0;
    }

    /* Shimmer skeleton while cover loads */
    .proj-card .proj-thumb::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 40%, #1a1a1a 80%);
      background-size: 400% 100%;
      animation: card-shimmer 1.4s ease infinite;
    }

    @keyframes card-shimmer {
      0% {
        background-position: 100% 0;
      }

      100% {
        background-position: -100% 0;
      }
    }

    .proj-card .proj-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
      transition: transform .5s cubic-bezier(.25, .46, .45, .94);
    }

    .proj-card:hover .proj-thumb img {
      transform: scale(1.06);
    }

    /* Orange overlay on hover — reference image style */
    .proj-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      background: rgba(255, 105, 15, 0.90);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 1.5rem 1.5rem 1.6rem;
      opacity: 0;
      transition: opacity .35s ease;
    }

    .proj-card:hover .proj-overlay {
      opacity: 1;
    }

    /* Corner brackets */
    .proj-overlay::before,
    .proj-overlay::after {
      content: '';
      position: absolute;
      width: 28px;
      height: 28px;
      border-color: #fff;
      border-style: solid;
      opacity: 1;
    }

    .proj-overlay::before {
      top: 14px;
      left: 14px;
      border-width: 2.5px 0 0 2.5px;
    }

    .proj-overlay::after {
      top: 14px;
      right: 14px;
      border-width: 2.5px 2.5px 0 0;
    }

    .proj-corner-br {
      position: absolute;
      bottom: 14px;
      right: 14px;
      width: 28px;
      height: 28px;
      border: 2.5px solid #fff;
      border-top: none;
      border-left: none;
      pointer-events: none;
    }

    .proj-corner-bl {
      position: absolute;
      bottom: 14px;
      left: 14px;
      width: 28px;
      height: 28px;
      border: 2.5px solid #fff;
      border-top: none;
      border-right: none;
      pointer-events: none;
    }

    .proj-overlay-bottom {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: .5rem;
    }

    .proj-overlay-title {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 800;
      color: #fff;
      letter-spacing: -.01em;
      line-height: 1.2;
      text-transform: uppercase;
      flex: 1;
    }

    .proj-overlay-view {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: .65rem;
      font-weight: 700;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #fff;
      gap: .4rem;
      white-space: nowrap;
    }

    .proj-overlay-view svg {
      width: 13px;
      height: 13px;
      stroke: #fff;
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    @media(max-width:480px) {
      .proj-overlay-title {
        font-size: .52rem;
        letter-spacing: 0;
      }

      .proj-overlay-view {
        font-size: .42rem;
        letter-spacing: .08em;
        gap: .25rem;
      }

      .proj-overlay-view svg {
        width: 8px;
        height: 8px;
      }

      .proj-overlay {
        padding: .6rem .6rem .7rem;
      }

      .proj-overlay::before,
      .proj-overlay::after,
      .proj-corner-br,
      .proj-corner-bl {
        width: 14px;
        height: 14px;
        border-width: 1.5px !important;
      }

      .proj-overlay::before {
        top: 6px;
        left: 6px;
      }

      .proj-overlay::after {
        top: 6px;
        right: 6px;
      }

      .proj-corner-br {
        bottom: 6px;
        right: 6px;
      }

      .proj-corner-bl {
        bottom: 6px;
        left: 6px;
      }
    }

    /* Remove old styles */
    .proj-card.featured {
      grid-column: span 1;
    }

    .proj-arrow {
      display: none;
    }

    .proj-info {
      display: none;
    }

    .proj-view-btn {
      display: none;
    }

    @media(max-width:900px) {
      .proj-row {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media(max-width:480px) {
      .proj-row {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media(max-width:480px) {
      .proj-card {
        aspect-ratio: 4/3;
      }
    }

    .proj-loading {
      text-align: center;
      padding: 4rem;
      color: var(--muted);
    }

    /* ABOUT CARD & TEXT — handled above */

    /* SERVICES */
    #services {
      background: var(--bg);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      margin-top: 3rem;
    }

    .service-card {
      background: var(--bg2);
      border: 1px solid var(--border2);
      border-radius: 20px;
      padding: 2rem 1.8rem;
      position: relative;
      overflow: hidden;
      transition: transform .25s, border-color .25s, box-shadow .25s;
    }

    .service-card:hover {
      transform: translateY(-6px);
      border-color: rgba(255, 61, 46, .4);
      box-shadow: 0 20px 50px rgba(255, 61, 46, .1);
    }

    .service-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--red), transparent);
      opacity: 0;
      transition: opacity .25s;
    }

    .service-card:hover::before {
      opacity: 1;
    }

    .service-num {
      font-family: var(--font-display);
      font-size: 3rem;
      font-weight: 800;
      color: rgba(255, 61, 46, .12);
      line-height: 1;
      margin-bottom: 1.2rem;
      transition: color .25s;
    }

    .service-card:hover .service-num {
      color: rgba(255, 61, 46, .25);
    }

    .service-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(255, 61, 46, .1);
      border: 1px solid rgba(255, 61, 46, .2);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.2rem;
      transition: background .25s;
    }

    .service-card:hover .service-icon {
      background: rgba(255, 61, 46, .2);
    }

    .service-icon svg {
      width: 22px;
      height: 22px;
      stroke: var(--red);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .service-title {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: .6rem;
    }

    .service-desc {
      color: var(--muted);
      font-size: .88rem;
      line-height: 1.7;
    }

    /* ── FEATURED SECTION ── */
    #featured {
      background: var(--bg);
    }

    #featured h2 {
      color: var(--white);
    }

    .featured-main {
      display: none;
      /* shown by JS after load */
      flex-direction: column;
      gap: 1rem;
    }

    .featured-img-wrap {
      position: relative;
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
      background: #111;
      aspect-ratio: 16/9;
      cursor: pointer;
    }

    .featured-shimmer {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 40%, #1a1a1a 80%);
      background-size: 400% 100%;
      animation: card-shimmer 1.4s ease infinite;
      z-index: 1;
      border-radius: 16px;
    }

    .featured-shimmer.hidden {
      display: none;
    }

    .featured-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .5s ease, opacity .4s ease;
      opacity: 0;
    }

    .featured-img.loaded {
      opacity: 1;
    }

    .featured-img-wrap:hover .featured-img {
      transform: scale(1.03);
    }

    .featured-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, transparent 50%);
    }

    .featured-info {
      position: absolute;
      bottom: 1.5rem;
      left: 1.8rem;
      right: 1.8rem;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .featured-cat {
      font-size: .68rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--red2);
      margin-bottom: .3rem;
    }

    .featured-title {
      font-family: var(--font-display);
      font-size: clamp(1.1rem, 2.5vw, 1.6rem);
      font-weight: 800;
      color: #fff;
      letter-spacing: -.01em;
    }

    .featured-open-btn {
      background: var(--red);
      color: #fff;
      font-family: var(--font-display);
      font-size: .75rem;
      font-weight: 700;
      border: none;
      border-radius: 999px;
      padding: .55rem 1.3rem;
      cursor: pointer;
      transition: all .2s;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .featured-open-btn:hover {
      background: #e62e20;
      transform: scale(1.04);
    }

    .featured-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: rgba(0, 0, 0, .55);
      border: 1px solid rgba(255, 255, 255, .2);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .2s;
      z-index: 3;
      backdrop-filter: blur(8px);
    }

    .featured-nav:hover {
      background: var(--red);
      border-color: var(--red);
    }

    .featured-nav-prev {
      left: 1rem;
    }

    .featured-nav-next {
      right: 1rem;
    }

    .featured-nav.hidden {
      display: none;
    }

    /* Thumbnail strip */
    .featured-thumbs {
      display: flex;
      gap: .5rem;
      overflow-x: auto;
      padding: .3rem 0 .5rem;
      scrollbar-width: none;
    }

    .featured-thumbs::-webkit-scrollbar {
      display: none;
    }

    .featured-thumb {
      width: 80px;
      height: 56px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
      border: 2px solid transparent;
      cursor: pointer;
      transition: all .2s;
      opacity: .65;
    }

    .featured-thumb:hover {
      opacity: .9;
    }

    .featured-thumb.active {
      border-color: var(--red);
      opacity: 1;
      transform: scale(1.04);
    }

    .featured-loading {
      text-align: center;
      padding: 3rem;
      color: var(--muted);
    }

    @media(max-width: 640px) {
      .featured-nav {
        width: 36px;
        height: 36px;
      }

      .featured-nav-prev {
        left: .5rem;
      }

      .featured-nav-next {
        right: .5rem;
      }

      .featured-thumb {
        width: 64px;
        height: 44px;
      }

      .featured-info {
        bottom: .8rem;
        left: .9rem;
        right: .9rem;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: .4rem;
      }

      .featured-info>div {
        flex: 1 1 100%;
      }

      .featured-open-btn {
        font-size: .65rem;
        padding: .4rem .8rem;
        flex-shrink: 0;
        align-self: flex-end;
        white-space: nowrap;
      }

      .featured-title {
        font-size: .9rem;
      }

      .featured-cat {
        font-size: .6rem;
      }
    }

    /* ── CONTACT ── */
    .contact-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      border: 1px solid var(--border2);
      border-radius: 24px;
      overflow: hidden;
      max-width: 980px;
      margin: 0 auto;
    }

    /* LEFT — form side */
    .contact-form-side {
      padding: 2.5rem;
      background: var(--bg2);
      border-right: 1px solid var(--border2);
    }

    .contact-form-side h2 {
      font-family: var(--font-display);
      font-size: clamp(1.3rem, 2.2vw, 1.8rem);
      font-weight: 800;
      letter-spacing: -.02em;
      margin-bottom: .4rem;
    }

    .contact-form-side h2 span {
      color: var(--red);
    }

    .contact-sub {
      color: #888;
      font-size: .88rem;
      margin-bottom: 1.6rem;
      line-height: 1.6;
    }

    /* services checkboxes */
    .services-label {
      font-size: .7rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: .7rem;
    }

    .services-checks {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .45rem .8rem;
      margin-bottom: 1.4rem;
    }

    .services-checks label {
      display: flex;
      align-items: center;
      gap: .45rem;
      font-size: .83rem;
      color: var(--muted);
      cursor: pointer;
      transition: color .2s;
    }

    .services-checks label:hover {
      color: var(--white);
    }

    .services-checks input[type=checkbox] {
      appearance: none;
      -webkit-appearance: none;
      width: 15px;
      height: 15px;
      border-radius: 4px;
      border: 1.5px solid rgba(255, 255, 255, .2);
      background: transparent;
      cursor: pointer;
      flex-shrink: 0;
      position: relative;
      transition: all .2s;
    }

    .services-checks input[type=checkbox]:checked {
      background: var(--red);
      border-color: var(--red);
    }

    .services-checks input[type=checkbox]:checked::after {
      content: '✓';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 9px;
      color: #fff;
      font-weight: 700;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: .75rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: .35rem;
      margin-bottom: .75rem;
      position: relative;
    }

    .form-group label {
      font-size: .7rem;
      color: var(--muted);
      letter-spacing: .07em;
      text-transform: uppercase;
    }

    .form-group input,
    .form-group textarea {
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 10px;
      color: var(--white);
      font-family: var(--font-body);
      font-size: .9rem;
      padding: .75rem .9rem;
      outline: none;
      transition: border-color .2s;
      resize: vertical;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: rgba(255, 115, 50, .5);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: #444;
    }

    .form-msg {
      padding: .75rem 1rem;
      border-radius: 10px;
      font-size: .85rem;
      margin-bottom: .8rem;
      display: none;
    }

    .form-msg.success {
      background: rgba(0, 200, 100, .1);
      border: 1px solid rgba(0, 200, 100, .3);
      color: #00c864;
      display: block;
    }

    .form-msg.error {
      background: rgba(255, 61, 46, .1);
      border: 1px solid rgba(255, 61, 46, .3);
      color: var(--red2);
      display: block;
    }

    /* RIGHT — chat side */
    .contact-chat-side {
      padding: 2.5rem;
      background: var(--bg);
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .chat-block h3 {
      font-family: var(--font-display);
      font-size: .95rem;
      font-weight: 800;
      letter-spacing: .01em;
      margin-bottom: .25rem;
      color: var(--white);
    }

    .chat-block p {
      font-size: .82rem;
      color: #888;
      margin-bottom: .9rem;
      line-height: 1.5;
    }

    .chat-link {
      display: flex;
      align-items: center;
      gap: .6rem;
      padding: .6rem .9rem;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, .08);
      background: rgba(255, 255, 255, .03);
      color: var(--white);
      text-decoration: none;
      font-size: .83rem;
      font-weight: 600;
      transition: all .2s;
      margin-bottom: .45rem;
    }

    .chat-link:last-child {
      margin-bottom: 0;
    }

    .chat-link:hover {
      border-color: var(--red);
      background: rgba(255, 90, 30, .08);
      color: var(--red);
    }

    .chat-link svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
    }

    .chat-divider {
      height: 1px;
      background: var(--border2);
    }

    /* call us number */
    .call-number {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--white);
      text-decoration: none;
      letter-spacing: -.01em;
      display: flex;
      align-items: center;
      gap: .5rem;
      margin-top: .5rem;
      transition: color .2s;
    }

    .call-number:hover {
      color: var(--red);
    }

    /* mobile stacks */
    @media(max-width:700px) {
      .contact-wrap {
        grid-template-columns: 1fr;
      }

      .contact-form-side {
        border-right: none;
        border-bottom: 1px solid var(--border2);
      }

      .contact-form-side,
      .contact-chat-side {
        padding: 1.6rem;
      }

      .services-checks {
        grid-template-columns: 1fr 1fr;
      }

      .contact-box {
        padding: 1.5rem;
      }
    }

    /* FOOTER */
    footer {
      padding: 0;
      position: relative;
      z-index: 1;
      border-top: 1px solid var(--border2);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-bottom: 1px solid var(--border2);
    }

    .footer-col {
      padding: 1.8rem 2rem;
    }

    .footer-logo-img {
      width: 56px;
      height: 56px;
      object-fit: contain;
      flex-shrink: 0;
    }

    .footer-brand-row {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .footer-name {
      font-family: var(--font-display);
      font-size: .85rem;
      font-weight: 800;
      color: var(--white);
      letter-spacing: .02em;
      margin-bottom: .3rem;
    }

    .footer-tagline {
      font-size: .78rem;
      color: var(--muted);
      line-height: 1.5;
      max-width: 280px;
    }

    .footer-section-label {
      font-size: .65rem;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: .9rem;
      font-weight: 600;
    }

    .footer-nav-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .footer-nav-list li {
      border-bottom: 1px dotted rgba(255, 255, 255, .08);
    }

    .footer-nav-list li:last-child {
      border-bottom: none;
    }

    .footer-nav-list a {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .55rem 0;
      color: var(--muted);
      text-decoration: none;
      font-size: .82rem;
      letter-spacing: .06em;
      text-transform: uppercase;
      font-weight: 600;
      transition: color .2s;
    }

    .footer-nav-list a:hover {
      color: var(--red);
    }

    .footer-nav-list a .arr {
      display: flex;
      align-items: center;
      transition: transform .2s;
    }

    .footer-nav-list a:hover .arr {
      transform: translate(2px, -2px);
    }

    .footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .9rem 2rem;
      flex-wrap: wrap;
      gap: .5rem;
    }

    .footer-left {
      color: var(--muted);
      font-size: .78rem;
    }

    .footer-admin-link {
      color: var(--muted2);
      font-size: .75rem;
      text-decoration: none;
      transition: color .2s;
    }

    .footer-admin-link:hover {
      color: var(--muted);
    }

    @media(max-width:700px) {
      .footer-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ── PROJECT PAGE ── */
    .proj-page {
      position: fixed;
      inset: 0;
      z-index: 500;
      background: var(--bg);
      display: none;
      flex-direction: column;
      overflow: hidden;
      touch-action: auto;
    }

    .proj-page.open {
      display: flex;
      animation: ppFade .25s ease;
    }

    @keyframes ppFade {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    /* Prevent background page from scrolling while project page is open */
    body.pp-open {
      overflow: hidden !important;
    }

    /* sticky header */
    .pp-header {
      position: sticky;
      top: 0;
      z-index: 10;
      background: var(--bg);
      display: grid;
      border-bottom: 1px solid var(--border2);
      flex-shrink: 0;
    }

    .pp-header-row1 {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .8rem 1.5rem;
      border-bottom: 1px solid var(--border2);
    }

    .pp-header-row2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-bottom: none;
    }

    .pp-cell {
      padding: .75rem 1.5rem;
      border-right: 1px solid var(--border2);
    }

    .pp-cell:last-child {
      border-right: none;
    }

    .pp-meta-label {
      font-size: .65rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: .15rem;
    }

    .pp-meta-val {
      font-family: var(--font-display);
      font-size: .95rem;
      font-weight: 700;
    }

    .pp-brand {
      font-family: var(--font-display);
      font-size: .95rem;
      font-weight: 800;
      color: var(--red);
    }

    .pp-close {
      background: rgba(255, 255, 255, .06);
      border: 1px solid var(--border2);
      color: var(--white);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all .2s;
      flex-shrink: 0;
    }

    .pp-close:hover {
      background: var(--red);
      border-color: var(--red);
    }

    /* ── Floating close button (mobile) ── */
    .pp-close-float {
      display: none;
      position: fixed;
      top: 1rem;
      right: 1rem;
      z-index: 600;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(12, 12, 12, 0.85);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, .18);
      color: #fff;
      font-size: 1.1rem;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(0, 0, 0, .45);
      transition: background .2s, transform .2s;
    }

    .pp-close-float:active {
      background: var(--red);
      transform: scale(.93);
    }

    @media(max-width:768px) {
      .pp-close-float {
        display: flex;
      }
    }

    /* scrollable images */
    .pp-body {
      flex: 1;
      overflow-y: auto;
      scroll-behavior: smooth;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y pinch-zoom;
    }

    .pp-images {
      display: flex;
      flex-direction: column;
    }

    .pp-img-wrap {
      position: relative;
      width: 100%;
      background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 40%, #1a1a1a 80%);
      background-size: 400% 100%;
      animation: card-shimmer 1.4s ease infinite;
      min-height: 200px;
    }

    .pp-img-wrap.loaded {
      background: var(--bg);
      animation: none;
    }

    .pp-img {
      width: 100%;
      display: block;
      height: auto;
      opacity: 0;
      transition: opacity .5s ease;
    }

    .pp-img.loaded {
      opacity: 1;
    }

    /* footer nav */
    .pp-footer {
      border-top: 1px solid var(--border2);
      background: var(--bg);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .65rem 1.5rem;
      flex-shrink: 0;
    }

    .pp-footer-title {
      font-family: var(--font-display);
      font-size: .82rem;
      font-weight: 700;
    }

    .pp-nav-btns {
      display: flex;
      gap: .5rem;
    }

    .pp-nav-btn {
      background: rgba(255, 255, 255, .06);
      border: 1px solid var(--border2);
      color: var(--white);
      padding: .35rem 1rem;
      border-radius: 7px;
      font-family: var(--font-display);
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .05em;
      cursor: pointer;
      transition: all .2s;
    }

    .pp-nav-btn:hover {
      background: var(--red);
      border-color: var(--red);
    }

    .pp-nav-btn:disabled {
      opacity: .3;
      pointer-events: none;
    }

    /* ═══════════════════════════════════════
   ADMIN PANEL
═══════════════════════════════════════ */
    .admin-overlay {
      position: fixed;
      inset: 0;
      z-index: 900;
      background: var(--bg);
      display: none;
      flex-direction: column;
    }

    .admin-overlay.open {
      display: flex;
    }

    /* Admin Login */
    .admin-login {
      display: flex;
      align-items: center;
      justify-content: center;
      flex: 1;
    }

    .login-box {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 3rem;
      width: 100%;
      max-width: 380px;
      text-align: center;
    }

    .login-box h2 {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 800;
      margin-bottom: .5rem;
    }

    .login-box p {
      color: var(--muted);
      font-size: .9rem;
      margin-bottom: 2rem;
    }

    .login-box input {
      width: 100%;
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 10px;
      color: var(--white);
      font-size: 1rem;
      padding: .85rem 1rem;
      outline: none;
      text-align: center;
      letter-spacing: .1em;
      margin-bottom: 1rem;
      transition: border-color .2s;
    }

    .login-box input:focus {
      border-color: rgba(255, 61, 46, .5);
    }

    .login-error {
      color: var(--red2);
      font-size: .85rem;
      margin-bottom: 1rem;
      display: none;
    }

    /* ═══ ADMIN LAYOUT ═══ */
    .admin-sidebar {
      width: 220px;
      flex-shrink: 0;
      background: #111;
      border-right: 1px solid rgba(255, 255, 255, .06);
      display: flex;
      flex-direction: column;
    }

    .admin-logo {
      display: flex;
      align-items: center;
      gap: .6rem;
      padding: 1.4rem 1.2rem;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .admin-logo-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--red);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .9rem;
      font-weight: 800;
      font-family: var(--font-display);
      color: #fff;
    }

    .admin-logo-text {
      font-family: var(--font-display);
      font-size: .88rem;
      font-weight: 700;
      color: var(--white);
    }

    .admin-logo-sub {
      font-size: .68rem;
      color: var(--muted);
      margin-top: .05rem;
    }

    .admin-nav {
      padding: .75rem 0;
      flex: 1;
    }

    .admin-nav-section {
      font-size: .62rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--muted2);
      padding: .6rem 1.2rem .3rem;
    }

    .admin-nav-item {
      display: flex;
      align-items: center;
      gap: .65rem;
      padding: .65rem 1.2rem;
      margin: 0 .5rem;
      border-radius: 8px;
      color: var(--muted);
      font-size: .84rem;
      cursor: pointer;
      transition: all .15s;
      border: 1px solid transparent;
    }

    .admin-nav-item:hover {
      color: var(--white);
      background: rgba(255, 255, 255, .05);
    }

    .admin-nav-item.active {
      color: var(--white);
      background: rgba(255, 61, 46, .1);
      border-color: rgba(255, 61, 46, .2);
    }

    .admin-nav-item svg {
      width: 15px;
      height: 15px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    .admin-nav-badge {
      margin-left: auto;
      background: var(--red);
      color: #fff;
      font-size: .62rem;
      font-weight: 700;
      padding: .1rem .45rem;
      border-radius: 999px;
      min-width: 18px;
      text-align: center;
    }

    .admin-footer {
      padding: .9rem 1.2rem;
      border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .admin-signout {
      display: flex;
      align-items: center;
      gap: .6rem;
      color: var(--muted);
      font-size: .82rem;
      cursor: pointer;
      transition: color .2s;
      padding: .5rem .5rem;
      border-radius: 6px;
    }

    .admin-signout:hover {
      color: var(--red2);
    }

    .admin-signout svg {
      width: 14px;
      height: 14px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .admin-main {
      flex: 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      background: var(--bg);
    }

    .admin-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 1.5rem;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
      background: #111;
      flex-shrink: 0;
    }

    .admin-topbar-left {
      display: flex;
      flex-direction: column;
    }

    .admin-topbar h1 {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      line-height: 1;
    }

    .admin-topbar-sub {
      font-size: .75rem;
      color: var(--muted);
      margin-top: .2rem;
    }

    .admin-content {
      flex: 1;
      padding: 1.5rem;
    }

    /* Stat Cards */
    .admin-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: .8rem;
      margin-bottom: 1.5rem;
    }

    .astat {
      background: #111;
      border: 1px solid rgba(255, 255, 255, .06);
      border-radius: 12px;
      padding: 1.1rem 1.2rem;
      position: relative;
      overflow: hidden;
    }

    .astat::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(255, 61, 46, .4), transparent);
    }

    .astat-icon {
      font-size: 1.1rem;
      margin-bottom: .6rem;
    }

    .astat-num {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 800;
      line-height: 1;
    }

    .astat-num.red {
      color: var(--red);
    }

    .astat-lbl {
      font-size: .7rem;
      color: var(--muted);
      margin-top: .25rem;
      letter-spacing: .05em;
    }

    /* Table */
    .admin-table-wrap {
      background: #111;
      border: 1px solid rgba(255, 255, 255, .06);
      border-radius: 12px;
      overflow: hidden;
    }

    .admin-table-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .9rem 1.2rem;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
      background: rgba(255, 255, 255, .02);
    }

    .admin-table-head h3 {
      font-family: var(--font-display);
      font-size: .88rem;
      font-weight: 700;
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    th {
      text-align: left;
      padding: .7rem 1rem;
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted2);
      border-bottom: 1px solid rgba(255, 255, 255, .05);
      font-weight: 500;
      background: rgba(255, 255, 255, .01);
    }

    td {
      padding: .8rem 1rem;
      font-size: .85rem;
      border-bottom: 1px solid rgba(255, 255, 255, .03);
      vertical-align: middle;
    }

    tr:last-child td {
      border-bottom: none;
    }

    tr:hover td {
      background: rgba(255, 255, 255, .02);
    }

    .badge-unread {
      display: inline-flex;
      align-items: center;
      gap: .3rem;
      background: rgba(255, 61, 46, .12);
      color: var(--red2);
      font-size: .62rem;
      font-weight: 700;
      padding: .2rem .55rem;
      border-radius: 999px;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .badge-unread::before {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--red);
    }

    .badge-read {
      display: inline-block;
      background: rgba(255, 255, 255, .05);
      color: var(--muted2);
      font-size: .62rem;
      padding: .2rem .55rem;
      border-radius: 999px;
      letter-spacing: .05em;
      text-transform: uppercase;
    }

    .td-name {
      font-weight: 600;
      color: var(--white);
      font-size: .85rem;
    }

    .td-email {
      color: var(--muted);
      font-size: .78rem;
      margin-top: .1rem;
    }

    .td-msg {
      color: #888;
      font-size: .8rem;
      max-width: 240px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .td-date {
      color: var(--muted2);
      font-size: .75rem;
      white-space: nowrap;
    }

    .td-actions {
      display: flex;
      gap: .35rem;
      align-items: center;
    }

    .btn-sm {
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .1);
      color: var(--white);
      padding: .28rem .7rem;
      border-radius: 6px;
      font-size: .72rem;
      cursor: pointer;
      transition: all .15s;
      white-space: nowrap;
    }

    .btn-sm:hover {
      background: rgba(255, 255, 255, .12);
    }

    .btn-sm.del {
      background: rgba(255, 61, 46, .08);
      border-color: rgba(255, 61, 46, .2);
      color: var(--red2);
    }

    .btn-sm.del:hover {
      background: rgba(255, 61, 46, .18);
    }

    .empty-state {
      text-align: center;
      padding: 3rem 1rem;
      color: var(--muted);
      font-size: .9rem;
      line-height: 1.8;
    }

    /* Projects Grid */
    .admin-proj-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .admin-proj-card {
      background: #111;
      border: 1px solid rgba(255, 255, 255, .06);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color .2s;
    }

    .admin-proj-card:hover {
      border-color: rgba(255, 61, 46, .25);
    }

    .admin-proj-thumb {
      aspect-ratio: 16/9;
      overflow: hidden;
      background: #0a0a0a;
      position: relative;
    }

    .admin-proj-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .3s;
    }

    .admin-proj-card:hover .admin-proj-thumb img {
      transform: scale(1.04);
    }

    .admin-proj-thumb-empty {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, .1);
      font-size: 2rem;
    }

    .admin-proj-info {
      padding: .85rem 1rem;
    }

    .admin-proj-title {
      font-family: var(--font-display);
      font-size: .85rem;
      font-weight: 700;
      margin-bottom: .15rem;
    }

    .admin-proj-cat {
      font-size: .68rem;
      color: var(--red);
      text-transform: uppercase;
      letter-spacing: .08em;
    }

    .admin-proj-meta {
      font-size: .7rem;
      color: var(--muted2);
      margin-top: .25rem;
    }

    .admin-proj-actions {
      display: flex;
      gap: .35rem;
      margin-top: .7rem;
      flex-wrap: wrap;
    }

    /* Modal */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 1000;
      background: rgba(0, 0, 0, .85);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      backdrop-filter: blur(4px);
    }

    .modal-overlay.open {
      display: flex;
    }

    .modal {
      background: #111;
      border: 1px solid rgba(255, 255, 255, .08);
      border-radius: 16px;
      padding: 1.75rem;
      width: 100%;
      max-width: 540px;
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 1.4rem;
    }

    .modal-header h3 {
      font-family: var(--font-display);
      font-size: 1.05rem;
      font-weight: 700;
    }

    .modal-close {
      background: rgba(255, 255, 255, .07);
      border: 1px solid rgba(255, 255, 255, .1);
      color: var(--muted);
      width: 30px;
      height: 30px;
      border-radius: 50%;
      font-size: .85rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all .2s;
    }

    .modal-close:hover {
      color: var(--white);
      background: rgba(255, 255, 255, .12);
    }

    .modal .form-group {
      margin-bottom: .9rem;
    }

    .modal .form-group label {
      display: block;
      font-size: .72rem;
      color: var(--muted);
      letter-spacing: .07em;
      text-transform: uppercase;
      margin-bottom: .35rem;
    }

    .modal .form-group input,
    .modal .form-group select,
    .modal .form-group textarea {
      width: 100%;
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .1);
      border-radius: 8px;
      color: var(--white);
      font-family: var(--font-body);
      font-size: .9rem;
      padding: .65rem .9rem;
      outline: none;
      transition: border-color .2s;
    }

    .modal .form-group input:focus,
    .modal .form-group select:focus,
    .modal .form-group textarea:focus {
      border-color: rgba(255, 61, 46, .5);
    }

    .modal .form-group select option {
      background: #111;
    }

    .img-upload-area {
      border: 2px dashed rgba(255, 255, 255, .1);
      border-radius: 10px;
      padding: 1.2rem;
      text-align: center;
      cursor: pointer;
      transition: all .2s;
      margin-bottom: .8rem;
    }

    .img-upload-area:hover {
      border-color: rgba(255, 61, 46, .4);
      background: rgba(255, 61, 46, .03);
    }

    .img-upload-area p {
      color: var(--muted);
      font-size: .85rem;
    }

    .img-upload-area span {
      color: var(--red2);
      font-size: .78rem;
    }

    .img-preview-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: .4rem;
      margin-bottom: .8rem;
    }

    .img-preview-item {
      aspect-ratio: 1;
      border-radius: 6px;
      overflow: hidden;
      position: relative;
      background: #0a0a0a;
      border: 2px solid transparent;
      cursor: pointer;
      transition: border-color .2s;
    }

    .img-preview-item.is-cover {
      border-color: var(--red);
    }

    .img-preview-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .img-preview-remove {
      position: absolute;
      top: 2px;
      right: 2px;
      background: rgba(0, 0, 0, .75);
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 16px;
      height: 16px;
      font-size: .55rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Contact Detail */
    .contact-detail {
      padding: .25rem 0;
    }

    .cd-row {
      display: flex;
      gap: 1rem;
      margin-bottom: .85rem;
      align-items: flex-start;
    }

    .cd-label {
      font-size: .7rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .08em;
      min-width: 72px;
      padding-top: .1rem;
      flex-shrink: 0;
    }

    .cd-value {
      color: var(--white);
      font-size: .9rem;
      line-height: 1.6;
      word-break: break-word;
    }

    /* Spinner / Toast */
    .spinner {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, .15);
      border-top-color: var(--red);
      border-radius: 50%;
      animation: spin .6s linear infinite;
      vertical-align: middle;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .toast {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      z-index: 2000;
      background: #111;
      border: 1px solid rgba(255, 255, 255, .1);
      color: var(--white);
      padding: .75rem 1.2rem;
      border-radius: 10px;
      font-size: .85rem;
      transform: translateY(12px);
      opacity: 0;
      transition: all .25s;
      pointer-events: none;
      display: flex;
      align-items: center;
      gap: .5rem;
    }

    .toast::before {
      content: '';
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
      flex-shrink: 0;
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    .toast.success {
      border-color: rgba(0, 200, 100, .25);
      color: #00c864;
    }

    .toast.error {
      border-color: rgba(255, 61, 46, .25);
      color: var(--red2);
    }

    /* RESPONSIVE */
    @media(max-width:900px) {
      .admin-stats {
        grid-template-columns: repeat(2, 1fr);
      }

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

      .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
    }

    @media(max-width:768px) {
      .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .projects-grid {
        grid-template-columns: 1fr;
      }

      .proj-card.featured {
        grid-column: span 1;
      }

      .form-row {
        grid-template-columns: 1fr;
      }

      .lb-main {
        padding: 1rem 3.5rem;
      }

      .admin-sidebar {
        display: none;
      }

      .services-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ── iPhone / iOS fixes ── */
    * {
      -webkit-tap-highlight-color: transparent;
    }

    input,
    textarea,
    select {
      -webkit-appearance: none;
      border-radius: 10px;
      font-size: 16px !important;
    }

    button {
      -webkit-appearance: none;
      cursor: pointer;
    }

    .hero {
      padding-top: max(7rem, env(safe-area-inset-top, 7rem));
    }

    footer {
      padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 1.5rem));
    }

    .admin-overlay {
      padding-top: env(safe-area-inset-top, 0);
    }

    .lightbox {
      padding-bottom: env(safe-area-inset-bottom, 0);
    }

    /* ── HAMBURGER BUTTON ── */
    .hamburger {
      display: none;
      width: 44px;
      height: 44px;
      background: rgba(12, 12, 12, .88);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 50%;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 5px;
      -webkit-tap-highlight-color: transparent;
      flex-shrink: 0;
    }

    .hamburger span {
      display: block;
      width: 18px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
      transition: all .25s;
    }

    body.light .hamburger {
      background: rgba(245, 240, 234, .9);
      border-color: rgba(0, 0, 0, .12);
    }

    body.light .hamburger span {
      background: #111;
    }

    .hamburger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ── MOBILE NAV OVERLAY ── */
    .mobile-nav {
      position: fixed;
      inset: 0;
      z-index: 130;
      background: rgba(12, 12, 12, .97);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      display: flex;
      flex-direction: column;
      padding: max(6rem, calc(5rem + env(safe-area-inset-top))) 2.5rem max(2.5rem, env(safe-area-inset-bottom)) 2.5rem;
      transform: translateX(105%);
      transition: transform .35s cubic-bezier(.4, 0, .2, 1);
      pointer-events: none;
    }

    body.light .mobile-nav {
      background: rgba(247, 244, 239, .98);
    }

    .mobile-nav.open {
      transform: translateX(0);
      pointer-events: all;
    }

    .mobile-nav a {
      color: var(--white);
      text-decoration: none;
      font-family: var(--font-display);
      font-size: 2rem;
      font-weight: 800;
      letter-spacing: -.02em;
      padding: .9rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, .07);
      transition: color .2s, opacity .2s;
      opacity: .8;
      display: block;
    }

    body.light .mobile-nav a {
      color: #111;
      border-color: rgba(0, 0, 0, .07);
    }

    .mobile-nav a:last-of-type {
      border-bottom: none;
    }

    .mobile-nav a:active {
      color: var(--red);
      opacity: 1;
    }

    .mobile-nav .mnav-cta {
      color: var(--red) !important;
      opacity: 1 !important;
      margin-top: .5rem;
    }

    .mobile-nav-back {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      background: rgba(255, 61, 46, .1);
      border: 1px solid rgba(255, 61, 46, .25);
      color: var(--red2);
      border-radius: 999px;
      padding: .55rem 1.2rem;
      font-family: var(--font-display);
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .04em;
      cursor: pointer;
      transition: all .2s;
      align-self: flex-start;
      margin-bottom: 1.5rem;
      text-decoration: none;
    }

    .mobile-nav-back:hover,
    .mobile-nav-back:active {
      background: rgba(255, 61, 46, .2);
      border-color: var(--red);
      color: var(--red);
    }

    .mobile-nav-back svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    body.light .mobile-nav-back {
      background: rgba(255, 61, 46, .08);
    }

    .mobile-nav-foot {
      margin-top: auto;
      color: var(--muted2);
      font-size: .78rem;
      letter-spacing: .06em;
      padding-top: 1.5rem;
    }

    /* ── ADMIN MOBILE TABS ── */
    .admin-mobile-tabs {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 950;
      background: #111;
      border-top: 1px solid rgba(255, 255, 255, .08);
      padding: .5rem max(1rem, env(safe-area-inset-right)) max(calc(.5rem + env(safe-area-inset-bottom)), .8rem) max(1rem, env(safe-area-inset-left));
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
    }

    .admin-tab-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .25rem;
      background: none;
      border: none;
      color: var(--muted);
      padding: .35rem .7rem;
      font-size: .62rem;
      letter-spacing: .04em;
      text-transform: uppercase;
      transition: color .2s;
      position: relative;
      min-width: 56px;
    }

    .admin-tab-btn.active {
      color: var(--red);
    }

    .admin-tab-btn svg {
      width: 20px;
      height: 20px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .admin-tab-badge {
      position: absolute;
      top: .2rem;
      right: .4rem;
      background: var(--red);
      color: #fff;
      font-size: .55rem;
      font-weight: 700;
      min-width: 15px;
      height: 15px;
      border-radius: 999px;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 0 3px;
    }

    @media(max-width:640px) {
      nav .nav-inner {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      nav {
        justify-content: flex-end;
        padding: .9rem max(1rem, env(safe-area-inset-right, 1rem)) .9rem 1rem;
      }
    }

    @media (max-width: 480px) {
      .nav-inner {
        gap: 0;
        padding: .3rem .4rem;
      }

      .nav-link {
        padding: .45rem .9rem;
        font-size: .78rem;
      }

      .hero h1,
      .hero-line1,
      .hero-line2 {
        font-size: clamp(1.4rem, 6.5vw, 2rem);
      }

      .projects-grid {
        gap: 1rem;
      }

      .lb-main {
        padding: .5rem 3rem;
      }

      .lb-nav {
        width: 40px;
        height: 40px;
      }

      .lb-thumbs {
        padding: .6rem 1rem;
      }

      .lb-thumb {
        width: 52px;
        height: 52px;
      }

      .modal {
        padding: 1.25rem;
        border-radius: 14px;
      }

      .contact-box {
        padding: 1.5rem;
      }

      .admin-login {
        padding: 1rem;
      }

      .login-box {
        padding: 1.75rem 1.25rem;
      }
    }

    @media(max-width:768px) {
      .admin-overlay.open .admin-main {
        padding-bottom: 60px;
      }

      .admin-overlay.open~.admin-mobile-tabs {
        display: flex;
      }
    }
