:root {
      --bg: #07090d;
      --bg-soft: #0b0e14;
      --panel: rgba(255, 255, 255, 0.055);
      --panel-strong: rgba(255, 255, 255, 0.085);
      --line: rgba(255, 255, 255, 0.12);
      --line-soft: rgba(255, 255, 255, 0.07);
      --text: #f4f6f8;
      --muted: #9da6b3;
      --accent: #65e6d4;
      --accent-2: #4ca6ff;
      --danger: #ff7f73;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
      --radius-lg: 28px;
      --radius-md: 20px;
      --radius-sm: 14px;
      --container: min(1240px, calc(100% - 40px));
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
      background: var(--bg);
    }

    body {
      margin: 0;
      min-height: 100vh;
      overflow-x: hidden;
      background:
        radial-gradient(circle at 8% 5%, rgba(76, 166, 255, 0.11), transparent 30%),
        radial-gradient(circle at 88% 14%, rgba(101, 230, 212, 0.08), transparent 27%),
        var(--bg);
      color: var(--text);
      font-family: "DM Sans", sans-serif;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    body.modal-open {
      overflow: hidden;
    }

    ::selection {
      background: rgba(101, 230, 212, 0.28);
      color: var(--text);
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button,
    input,
    textarea {
      font: inherit;
    }

    button {
      color: inherit;
    }

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

    .container {
      width: var(--container);
      margin-inline: auto;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 16px;
      color: var(--accent);
      font-family: "Manrope", sans-serif;
      font-size: 0.77rem;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 28px;
      height: 1px;
      background: currentColor;
      box-shadow: 0 0 18px currentColor;
    }

    .section {
      padding: 118px 0;
      position: relative;
    }

    .section-heading {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
      align-items: end;
      gap: 36px;
      margin-bottom: 48px;
    }

    .section-heading h2 {
      max-width: 780px;
      margin: 0;
      font-family: "Manrope", sans-serif;
      font-size: clamp(2.35rem, 6vw, 5.4rem);
      font-weight: 700;
      letter-spacing: -0.055em;
      line-height: 0.98;
    }

    .section-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 1rem;
    }

    .nav-shell {
      position: fixed;
      inset: 18px 0 auto;
      z-index: 50;
      pointer-events: none;
    }

    .nav {
      width: var(--container);
      min-height: 72px;
      margin-inline: auto;
      padding: 12px 14px 12px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 22px;
      background: rgba(7, 9, 13, 0.68);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      pointer-events: auto;
      transition: border-color 0.25s ease, background 0.25s ease;
    }

    .nav.scrolled {
      border-color: rgba(255, 255, 255, 0.16);
      background: rgba(7, 9, 13, 0.88);
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: "Manrope", sans-serif;
      font-weight: 800;
      letter-spacing: -0.03em;
    }

    .brand-mark {
      position: relative;
      width: 42px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 1px solid rgba(101, 230, 212, 0.34);
      border-radius: 13px;
      background: linear-gradient(145deg, rgba(101, 230, 212, 0.16), rgba(76, 166, 255, 0.05));
      box-shadow: inset 0 0 28px rgba(101, 230, 212, 0.06), 0 0 28px rgba(101, 230, 212, 0.08);
      color: var(--text);
      font-size: 0.83rem;
    }

    .brand-mark::after {
      content: "";
      position: absolute;
      width: 70%;
      height: 160%;
      top: -30%;
      left: -110%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
      transform: rotate(18deg);
      animation: logoShine 5s ease-in-out infinite;
    }

    @keyframes logoShine {
      0%, 70% { left: -110%; }
      100% { left: 150%; }
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 6px;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
      display: inline-flex;
      padding: 10px 13px;
      border-radius: 12px;
      color: #c6ccd4;
      font-size: 0.88rem;
      transition: color 0.2s ease, background 0.2s ease;
    }

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

    .nav-cta,
    .primary-button,
    .secondary-button,
    .icon-button,
    .filter-button,
    .work-action,
    .submit-button {
      border: 0;
      cursor: pointer;
    }

    .nav-cta,
    .primary-button,
    .submit-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 14px;
      background: var(--text);
      color: #07090d;
      font-weight: 700;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .nav-cta {
      padding: 12px 17px;
      font-size: 0.86rem;
    }

    .nav-cta:hover,
    .primary-button:hover,
    .submit-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 34px rgba(255, 255, 255, 0.13);
    }

    .mobile-toggle {
      display: none;
      width: 44px;
      height: 44px;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--line);
      border-radius: 13px;
      background: rgba(255, 255, 255, 0.04);
      cursor: pointer;
    }

    .mobile-toggle span,
    .mobile-toggle span::before,
    .mobile-toggle span::after {
      display: block;
      width: 18px;
      height: 1.5px;
      background: var(--text);
      transition: 0.25s ease;
    }

    .mobile-toggle span {
      position: relative;
    }

    .mobile-toggle span::before,
    .mobile-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
    }

    .mobile-toggle span::before { top: -6px; }
    .mobile-toggle span::after { top: 6px; }

    .hero {
      min-height: 100svh;
      padding: 138px 0 56px;
      display: grid;
      place-items: center;
      position: relative;
      overflow: hidden;
      isolation: isolate;
      background: #07090d;
    }

    .hero-video {
      position: absolute;
      inset: 0;
      z-index: -4;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(76, 166, 255, 0.12), transparent 45%),
        #080b10;
      pointer-events: none;
    }

    .hero-video iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      width: max(100vw, 177.78vh);
      height: max(100vh, 56.25vw);
      min-width: 100%;
      min-height: 100%;
      border: 0;
      transform: translate(-50%, -50%) scale(1.03);
      pointer-events: none;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -3;
      background:
        linear-gradient(180deg, rgba(7, 9, 13, 0.58) 0%, rgba(7, 9, 13, 0.28) 38%, rgba(7, 9, 13, 0.72) 82%, var(--bg) 100%),
        radial-gradient(circle at 50% 44%, rgba(7, 9, 13, 0.04), rgba(7, 9, 13, 0.48) 76%);
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background: linear-gradient(90deg, rgba(7, 9, 13, 0.24), transparent 35%, transparent 65%, rgba(7, 9, 13, 0.24));
      pointer-events: none;
    }

    .hero-grid {
      width: 100%;
      display: grid;
      place-items: center;
    }

    .hero-copy {
      width: min(1040px, 100%);
      padding: 72px 0 32px;
      text-align: center;
    }

    .hero-copy .eyebrow {
      justify-content: center;
      text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    }

    .hero h1 {
      max-width: 1100px;
      margin: 0 auto;
      font-family: "Manrope", sans-serif;
      font-size: clamp(3.2rem, 8vw, 7.7rem);
      font-weight: 700;
      letter-spacing: -0.065em;
      line-height: 0.94;
      text-wrap: balance;
      text-shadow: 0 8px 42px rgba(0, 0, 0, 0.58);
    }

    .hero-description {
      max-width: 720px;
      margin: 28px auto 0;
      color: rgba(244, 246, 248, 0.78);
      font-size: clamp(1rem, 1.6vw, 1.18rem);
      text-shadow: 0 3px 24px rgba(0, 0, 0, 0.82);
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 32px;
    }

    .primary-button,
    .secondary-button {
      min-height: 54px;
      padding: 0 21px;
    }

    .secondary-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.045);
      color: var(--text);
      font-weight: 700;
      transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    }

    .secondary-button:hover {
      transform: translateY(-2px);
      border-color: rgba(101, 230, 212, 0.38);
      background: rgba(101, 230, 212, 0.08);
    }

    .hero-meta {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 18px 28px;
      margin-top: 36px;
      color: rgba(244, 246, 248, 0.64);
      font-size: 0.86rem;
      text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9);
    }

    .hero-meta span {
      display: inline-flex;
      align-items: center;
      gap: 9px;
    }

    .hero-meta span::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 16px var(--accent);
    }

    .showreel-card {
      position: relative;
      min-height: 600px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: 34px;
      background: #11151d;
      box-shadow: var(--shadow);
      cursor: pointer;
      transform: translateZ(0);
    }

    .showreel-card::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        linear-gradient(180deg, rgba(7, 9, 13, 0.02), rgba(7, 9, 13, 0.78)),
        linear-gradient(90deg, rgba(7, 9, 13, 0.34), transparent 52%);
    }

    .showreel-card::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 2;
      border-radius: inherit;
      box-shadow: inset 0 0 0 1px rgba(101, 230, 212, 0.05);
      pointer-events: none;
    }

    .showreel-card img {
      width: 100%;
      height: 100%;
      min-height: 600px;
      object-fit: cover;
      filter: saturate(0.82) contrast(1.06) brightness(0.76);
      transition: transform 0.9s cubic-bezier(.2,.65,.2,1), filter 0.5s ease;
    }

    .showreel-card:hover img {
      transform: scale(1.035);
      filter: saturate(0.95) contrast(1.08) brightness(0.83);
    }

    .showreel-top {
      position: absolute;
      inset: 24px 24px auto;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 12px;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: 999px;
      background: rgba(7, 9, 13, 0.5);
      backdrop-filter: blur(12px);
      color: #d4dae2;
      font-size: 0.76rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .pill::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 14px var(--accent);
    }

    .showreel-bottom {
      position: absolute;
      inset: auto 28px 28px;
      z-index: 3;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
    }

    .showreel-title small {
      display: block;
      margin-bottom: 4px;
      color: #aab2bd;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
    }

    .showreel-title strong {
      display: block;
      max-width: 340px;
      font-family: "Manrope", sans-serif;
      font-size: clamp(1.45rem, 3vw, 2.4rem);
      line-height: 1.08;
      letter-spacing: -0.035em;
    }

    .play-button {
      flex: 0 0 auto;
      width: 76px;
      aspect-ratio: 1;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.94);
      color: #07090d;
      box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
      transition: transform 0.3s ease;
    }

    .showreel-card:hover .play-button {
      transform: scale(1.08);
    }

    .play-button svg {
      width: 21px;
      margin-left: 4px;
    }

    .scroll-cue {
      width: var(--container);
      margin: 28px auto 0;
      display: flex;
      justify-content: flex-end;
      color: #697381;
      font-size: 0.76rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .scroll-cue span {
      display: inline-flex;
      align-items: center;
      gap: 12px;
    }

    .scroll-cue span::after {
      content: "";
      width: 60px;
      height: 1px;
      background: linear-gradient(90deg, #697381, transparent);
    }

    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-bottom: 30px;
    }

    .filter-button {
      padding: 10px 15px;
      border: 1px solid var(--line-soft);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.025);
      color: #9ca5b1;
      font-size: 0.86rem;
      transition: 0.2s ease;
    }

    .filter-button:hover,
    .filter-button.active {
      border-color: rgba(101, 230, 212, 0.32);
      background: rgba(101, 230, 212, 0.09);
      color: var(--text);
    }

    .work-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-auto-flow: row;
      align-items: stretch;
      gap: 18px;
    }

    .work-card {
      position: relative;
      min-height: 430px;
      overflow: hidden;
      border: 1px solid var(--line-soft);
      border-radius: var(--radius-lg);
      background: var(--bg-soft);
      box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
      transition: transform 0.45s cubic-bezier(.2,.65,.2,1), border-color 0.25s ease;
    }

    .work-card.hidden {
      display: none;
    }

    .work-card:hover {
      transform: translateY(-7px);
      border-color: rgba(101, 230, 212, 0.22);
    }

    .work-media {
      position: absolute;
      inset: 0;
    }

    .work-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, transparent 28%, rgba(7, 9, 13, 0.18) 55%, rgba(7, 9, 13, 0.94) 100%),
        linear-gradient(90deg, rgba(7, 9, 13, 0.3), transparent 55%);
    }

    .work-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(0.78) brightness(0.8);
      transition: transform 0.75s cubic-bezier(.2,.65,.2,1), filter 0.45s ease;
    }

    .work-card:hover .work-media img {
      transform: scale(1.045);
      filter: saturate(0.94) brightness(0.88);
    }

    .work-number {
      position: absolute;
      inset: 20px auto auto 20px;
      z-index: 2;
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: 12px;
      background: rgba(7, 9, 13, 0.52);
      backdrop-filter: blur(10px);
      color: #bec5ce;
      font-size: 0.78rem;
    }

    .work-content {
      position: absolute;
      inset: auto 22px 22px;
      z-index: 2;
    }

    .work-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-bottom: 12px;
    }

    .work-tags span {
      padding: 6px 9px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 999px;
      background: rgba(7, 9, 13, 0.45);
      color: #aeb6c1;
      font-size: 0.7rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      backdrop-filter: blur(8px);
    }

    .work-title-row {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
    }

    .work-title h3 {
      margin: 0;
      font-family: "Manrope", sans-serif;
      font-size: clamp(1.4rem, 3vw, 2.25rem);
      line-height: 1.05;
      letter-spacing: -0.04em;
    }

    .work-title p {
      margin: 6px 0 0;
      color: #a6afbb;
      font-size: 0.88rem;
    }

    .work-actions {
      display: flex;
      gap: 8px;
      flex: 0 0 auto;
    }

    .work-action,
    .icon-button {
      display: inline-grid;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, 0.13);
      background: rgba(7, 9, 13, 0.62);
      color: var(--text);
      backdrop-filter: blur(10px);
      transition: 0.2s ease;
    }

    .work-action {
      min-width: 43px;
      height: 43px;
      padding: 0 12px;
      border-radius: 13px;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .work-action:hover,
    .icon-button:hover {
      border-color: rgba(101, 230, 212, 0.45);
      background: rgba(101, 230, 212, 0.12);
    }

    .services-strip {
      margin-top: 60px;
      padding: 24px 0;
      overflow: hidden;
      border-block: 1px solid var(--line-soft);
      background: rgba(255, 255, 255, 0.018);
    }

    .marquee {
      display: flex;
      width: max-content;
      animation: marquee 24s linear infinite;
    }

    .marquee:hover {
      animation-play-state: paused;
    }

    .marquee-group {
      display: flex;
      flex-shrink: 0;
      align-items: center;
      gap: 48px;
      padding-right: 48px;
    }

    .marquee-item {
      display: inline-flex;
      align-items: center;
      gap: 48px;
      color: #a7afba;
      font-family: "Manrope", sans-serif;
      font-size: clamp(1.2rem, 3vw, 2rem);
      font-weight: 600;
      letter-spacing: -0.03em;
      white-space: nowrap;
    }

    .marquee-item::after {
      content: "✦";
      color: rgba(101, 230, 212, 0.62);
      font-size: 0.8rem;
    }

    @keyframes marquee {
      to { transform: translateX(-50%); }
    }

    .about-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
      gap: 26px;
      align-items: stretch;
    }

    .portrait-card,
    .about-card,
    .contact-card,
    .contact-form {
      border: 1px solid var(--line-soft);
      border-radius: var(--radius-lg);
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
      box-shadow: 0 18px 70px rgba(0, 0, 0, 0.13);
    }

    .portrait-card {
      position: relative;
      min-height: 620px;
      overflow: hidden;
      background:
        linear-gradient(180deg, transparent, rgba(7, 9, 13, 0.85)),
        url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=1400&q=88") center/cover;
    }

    .portrait-card::after {
      content: "Replace this image with your portrait";
      position: absolute;
      left: 22px;
      bottom: 20px;
      padding: 8px 11px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 999px;
      background: rgba(7, 9, 13, 0.52);
      color: #b0b8c3;
      font-size: 0.72rem;
      backdrop-filter: blur(10px);
    }

    .about-card {
      padding: clamp(28px, 5vw, 58px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .about-card h3 {
      margin: 0;
      font-family: "Manrope", sans-serif;
      font-size: clamp(2rem, 5vw, 4.6rem);
      line-height: 1;
      letter-spacing: -0.055em;
    }

    .about-card > div > p {
      max-width: 720px;
      margin: 26px 0 0;
      color: #aab2bd;
      font-size: clamp(1rem, 1.6vw, 1.13rem);
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin-top: 44px;
    }

    .skill {
      padding: 18px;
      border: 1px solid var(--line-soft);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.025);
    }

    .skill strong {
      display: block;
      margin-bottom: 4px;
      font-family: "Manrope", sans-serif;
      font-size: 0.96rem;
    }

    .skill span {
      color: #7f8996;
      font-size: 0.82rem;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 40px;
    }

    .stat {
      padding: 20px 14px;
      border-top: 1px solid var(--line);
    }

    .stat strong {
      display: block;
      font-family: "Manrope", sans-serif;
      font-size: clamp(1.8rem, 4vw, 3.2rem);
      letter-spacing: -0.05em;
      line-height: 1;
    }

    .stat span {
      display: block;
      margin-top: 8px;
      color: #7f8996;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .clients-panel {
      overflow: hidden;
      border: 1px solid var(--line-soft);
      border-radius: var(--radius-lg);
      background: rgba(255, 255, 255, 0.018);
    }

    .client-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .client {
      min-height: 160px;
      display: grid;
      place-items: center;
      padding: 24px;
      border-right: 1px solid var(--line-soft);
      border-bottom: 1px solid var(--line-soft);
      color: #b1b8c2;
      font-family: "Manrope", sans-serif;
      font-size: clamp(1rem, 2.2vw, 1.38rem);
      font-weight: 700;
      text-align: center;
      transition: background 0.25s ease, color 0.25s ease;
    }

    .client:nth-child(3n) { border-right: 0; }
    .client:nth-last-child(-n + 3) { border-bottom: 0; }

    .client:hover {
      background: rgba(101, 230, 212, 0.055);
      color: var(--text);
    }

    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
      gap: 20px;
    }

    .contact-card,
    .contact-form {
      padding: clamp(26px, 4vw, 46px);
    }

    .contact-card h2 {
      margin: 0;
      font-family: "Manrope", sans-serif;
      font-size: clamp(2.3rem, 5vw, 5rem);
      line-height: 0.98;
      letter-spacing: -0.055em;
    }

    .contact-card p {
      margin: 22px 0 0;
      color: var(--muted);
    }

    .contact-links {
      display: grid;
      gap: 10px;
      margin-top: 38px;
    }

    .contact-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 16px 0;
      border-bottom: 1px solid var(--line-soft);
      color: #c1c7cf;
    }

    .contact-link small {
      color: #747e8b;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .contact-link:hover {
      color: var(--accent);
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
    }

    .field {
      display: grid;
      gap: 8px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    .field label {
      color: #c3c9d1;
      font-size: 0.82rem;
    }

    .field input,
    .field textarea {
      width: 100%;
      border: 1px solid var(--line-soft);
      border-radius: 14px;
      outline: 0;
      background: rgba(7, 9, 13, 0.44);
      color: var(--text);
      transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }

    .field input {
      min-height: 52px;
      padding: 0 15px;
    }

    .field textarea {
      min-height: 150px;
      padding: 14px 15px;
      resize: vertical;
    }

    .field input:focus,
    .field textarea:focus {
      border-color: rgba(101, 230, 212, 0.48);
      background: rgba(7, 9, 13, 0.72);
      box-shadow: 0 0 0 4px rgba(101, 230, 212, 0.07);
    }

    .submit-button {
      min-height: 54px;
      width: 100%;
      margin-top: 16px;
    }

    .form-status {
      min-height: 24px;
      margin: 12px 0 0;
      color: var(--accent);
      font-size: 0.84rem;
    }

    footer {
      padding: 28px 0 42px;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding-top: 24px;
      border-top: 1px solid var(--line-soft);
      color: #737d89;
      font-size: 0.82rem;
    }

    .footer-inner strong {
      color: #b4bbc4;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: grid;
      place-items: center;
      padding: 20px;
      background: rgba(2, 3, 5, 0.82);
      backdrop-filter: blur(18px);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .modal.active {
      opacity: 1;
      visibility: visible;
    }

    .modal-dialog {
      width: min(1180px, 100%);
      max-height: calc(100svh - 40px);
      overflow: auto;
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 26px;
      background: #0a0d12;
      box-shadow: 0 30px 110px rgba(0, 0, 0, 0.65);
      transform: translateY(18px) scale(0.985);
      transition: transform 0.28s ease;
    }

    .modal.active .modal-dialog {
      transform: translateY(0) scale(1);
    }

    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 18px 20px;
      border-bottom: 1px solid var(--line-soft);
    }

    .modal-header h3 {
      margin: 0;
      font-family: "Manrope", sans-serif;
      font-size: 1.05rem;
      letter-spacing: -0.02em;
    }

    .icon-button {
      width: 42px;
      height: 42px;
      border-radius: 13px;
      font-size: 1.15rem;
    }

    .video-frame {
      position: relative;
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #000;
    }

    .video-frame iframe {
      position: absolute;
      inset: -1px;
      width: calc(100% + 2px);
      height: calc(100% + 2px);
      border: 0;
    }

    .video-caption {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 18px 20px 22px;
      color: #929ba7;
      font-size: 0.84rem;
    }

    .bts-body {
      padding: 20px;
    }

    .bts-intro {
      max-width: 720px;
      margin: 0 0 18px;
      color: #9da6b3;
    }

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

    .bts-grid figure {
      margin: 0;
      overflow: hidden;
      border: 1px solid var(--line-soft);
      border-radius: 18px;
      background: #11151c;
    }

    .bts-grid img {
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      filter: saturate(0.78) contrast(1.04);
      transition: transform 0.5s ease, filter 0.3s ease;
    }

    .bts-grid figure:hover img {
      transform: scale(1.035);
      filter: saturate(0.95) contrast(1.04);
    }

    .bts-grid figcaption {
      padding: 12px 13px;
      color: #8f99a5;
      font-size: 0.76rem;
    }

    .spotlight {
      position: fixed;
      z-index: -1;
      width: 540px;
      height: 540px;
      border-radius: 50%;
      pointer-events: none;
      transform: translate(-50%, -50%);
      background: radial-gradient(circle, rgba(101, 230, 212, 0.055), transparent 65%);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    body:hover .spotlight {
      opacity: 1;
    }

    .reveal {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.65,.2,1);
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 980px) {
      :root { --container: min(100% - 28px, 920px); }

      .nav {
        min-height: 66px;
        padding: 10px 12px 10px 16px;
      }

      .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 14px;
        right: 14px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(7, 9, 13, 0.96);
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
      }

      .nav-links.open {
        display: grid;
      }

      .nav-links a {
        padding: 12px 13px;
      }

      .nav-cta {
        display: none;
      }

      .mobile-toggle {
        display: inline-flex;
      }

      .hero {
        min-height: 100svh;
        padding-top: 126px;
      }

      .section-heading,
      .about-grid,
      .contact-layout {
        grid-template-columns: 1fr;
      }

      .section-heading p {
        max-width: 650px;
      }

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

      .portrait-card {
        min-height: 520px;
      }
    }

    @media (max-width: 720px) {
      .section { padding: 84px 0; }

      .hero h1 {
        font-size: clamp(2.9rem, 14vw, 5.2rem);
        line-height: 0.98;
      }

      .hero-copy {
        padding-top: 46px;
      }

      .hero-description {
        margin-top: 22px;
      }

      .hero-actions > * {
        flex: 1 1 100%;
      }

      .showreel-card,
      .showreel-card img {
        min-height: 440px;
      }

      .showreel-bottom {
        inset: auto 20px 20px;
      }

      .play-button {
        width: 62px;
      }

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

      .work-card {
        min-height: 430px;
      }

      .work-title-row {
        align-items: flex-start;
        flex-direction: column;
      }

      .skills-grid,
      .stats,
      .form-grid {
        grid-template-columns: 1fr;
      }

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

      .client:nth-child(3n) { border-right: 1px solid var(--line-soft); }
      .client:nth-child(2n) { border-right: 0; }
      .client:nth-last-child(-n + 3) { border-bottom: 1px solid var(--line-soft); }
      .client:nth-last-child(-n + 2) { border-bottom: 0; }

      .contact-layout {
        gap: 14px;
      }

      .field.full {
        grid-column: auto;
      }

      .footer-inner,
      .video-caption {
        align-items: flex-start;
        flex-direction: column;
      }

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

    @media (max-width: 480px) {
      :root { --container: min(100% - 20px, 460px); }

      .nav-shell { inset: 10px 0 auto; }
      .brand-name { display: none; }
      .hero { padding-top: 112px; }
      .showreel-card, .showreel-card img { min-height: 390px; }
      .showreel-top { inset: 16px 16px auto; }
      .showreel-bottom { inset: auto 16px 16px; }
      .showreel-title strong { max-width: 220px; }
      .work-content { inset: auto 16px 16px; }
      .client-grid { grid-template-columns: 1fr; }
      .client,
      .client:nth-child(2n),
      .client:nth-child(3n) {
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
      }
      .client:last-child { border-bottom: 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .reveal { opacity: 1; transform: none; }
    }

/* V2: true landscape 1920×1080 portfolio previews */
.work-card{
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:var(--bg-soft);
}
.work-media{
  position:relative;
  inset:auto;
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  flex:none;
}
.work-media::after{
  background:linear-gradient(180deg,transparent 46%,color-mix(in srgb,var(--bg) 38%,transparent) 100%);
}
.work-content{
  position:relative;
  inset:auto;
  z-index:2;
  display:flex;
  flex-direction:column;
  flex:1;
  padding:20px 21px 22px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--bg-soft) 94%,transparent),var(--bg-soft));
}
.work-title-row{margin-top:auto}
.work-number{top:16px;left:16px}
.work-card:hover .work-media img{transform:scale(1.035)}
@media(max-width:980px){.work-card{min-height:0}}

/* Configurable mouse-follow light stays visible above page surfaces without blocking interaction. */
.spotlight{z-index:4;mix-blend-mode:screen;will-change:left,top;}
.modal{z-index:100;}
.nav-shell{z-index:50;}
