:root {
      --ink: #171717;
      --muted: #626262;
      --line: #dfddd6;
      --paper: #f8f6ef;
      --panel: #ffffff;
      --accent: #0f766e;
      --accent-2: #c2410c;
      --blue: #1d4ed8;
      --shadow: 0 22px 60px rgba(20, 20, 20, 0.12);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.5;
    }

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

    .page-shell {
      min-height: 100vh;
    }

    header {
      position: sticky;
      top: 0;
      z-index: 10;
      border-bottom: 1px solid rgba(23, 23, 23, 0.1);
      background: rgba(248, 246, 239, 0.88);
      backdrop-filter: blur(18px);
    }

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

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: 0;
    }

    .brand-mark {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      color: #fff;
      background: var(--ink);
      font-size: 0.85rem;
    }

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

    .nav-links a {
      padding: 10px 12px;
      border-radius: 7px;
      color: var(--muted);
      font-size: 0.94rem;
      font-weight: 650;
    }

    .nav-links a:hover {
      color: var(--ink);
      background: rgba(23, 23, 23, 0.06);
    }

    .hero {
      width: min(1440px, calc(100% - 32px));
      margin: 0 auto;
      padding: 58px 0 42px;
      display: grid;
      grid-template-columns: 1.02fr 0.98fr;
      align-items: stretch;
      gap: 34px;
    }

    .hero-copy {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-width: 0;
    }

    .eyebrow {
      margin: 0 0 18px;
      color: var(--accent);
      font-size: 0.78rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    h1 {
      max-width: 780px;
      margin: 0;
      font-size: clamp(2.6rem, 6vw, 5.7rem);
      line-height: 0.93;
      letter-spacing: 0;
    }

    .hero-copy p {
      max-width: 640px;
      margin: 24px 0 0;
      color: var(--muted);
      font-size: 1.08rem;
    }

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

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 46px;
      padding: 0 18px;
      border: 1px solid var(--ink);
      border-radius: 7px;
      background: var(--ink);
      color: #fff;
      font-weight: 750;
    }

    .button.secondary {
      background: transparent;
      color: var(--ink);
    }

    .button:hover {
      transform: translateY(-1px);
    }

    .hero-visual {
      position: relative;
      min-height: 470px;
      border: 1px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
      background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.1), transparent 34%),
        linear-gradient(315deg, rgba(194, 65, 12, 0.12), transparent 42%),
        #fffdf8;
      box-shadow: var(--shadow);
    }

    .browser-frame {
      position: absolute;
      inset: 28px 28px auto;
      height: 270px;
      border: 1px solid #cfcac0;
      border-radius: 8px;
      background: #fbfaf7;
      overflow: hidden;
    }

    .browser-bar {
      height: 34px;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 0 12px;
      border-bottom: 1px solid #dfd9ce;
      background: #f1eee6;
    }

    .dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #d45738;
    }

    .dot:nth-child(2) {
      background: #d89b1d;
    }

    .dot:nth-child(3) {
      background: #2d9b63;
    }

    .mock-site {
      display: grid;
      grid-template-columns: 0.84fr 1.16fr;
      gap: 18px;
      height: calc(100% - 34px);
      padding: 20px;
    }

    .mock-photo {
      border-radius: 7px;
      background:
        linear-gradient(145deg, rgba(29, 78, 216, 0.72), rgba(15, 118, 110, 0.72)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.32) 0 10px, transparent 10px 20px);
    }

    .mock-lines {
      display: grid;
      align-content: center;
      gap: 12px;
    }

    .mock-lines span {
      display: block;
      height: 13px;
      border-radius: 99px;
      background: #ded9cc;
    }

    .mock-lines span:nth-child(1) {
      height: 34px;
      width: 88%;
      background: var(--ink);
    }

    .mock-lines span:nth-child(2) {
      width: 68%;
    }

    .mock-lines span:nth-child(3) {
      width: 82%;
    }

    .mock-lines span:nth-child(4) {
      width: 44%;
      height: 38px;
      border-radius: 7px;
      background: var(--accent);
    }

    .poster-stack {
      position: absolute;
      right: 28px;
      bottom: 28px;
      display: grid;
      grid-template-columns: repeat(3, 96px);
      gap: 12px;
    }

    .poster {
      aspect-ratio: 3 / 4;
      border-radius: 8px;
      border: 1px solid rgba(23, 23, 23, 0.12);
      box-shadow: 0 16px 34px rgba(23, 23, 23, 0.14);
    }

    .poster.one {
      background:
        linear-gradient(180deg, transparent 0 45%, rgba(255, 255, 255, 0.92) 45%),
        linear-gradient(135deg, #0f766e, #facc15);
    }

    .poster.two {
      transform: translateY(-18px);
      background:
        radial-gradient(circle at 50% 35%, #fff 0 18%, transparent 19%),
        linear-gradient(135deg, #c2410c, #1d4ed8);
    }

    .poster.three {
      background:
        repeating-linear-gradient(90deg, transparent 0 12px, rgba(255, 255, 255, 0.32) 12px 24px),
        #171717;
    }

    .stats {
      width: min(1440px, calc(100% - 32px));
      margin: 0 auto 38px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border: 1px solid var(--line);
      background: var(--panel);
      border-radius: 8px;
      overflow: hidden;
    }

    .stat {
      padding: 24px;
      border-right: 1px solid var(--line);
    }

    .stat:last-child {
      border-right: 0;
    }

    .stat strong {
      display: block;
      font-size: 1.8rem;
      line-height: 1;
    }

    .stat span {
      display: block;
      margin-top: 8px;
      color: var(--muted);
      font-size: 0.92rem;
    }

    section {
      width: min(1440px, calc(100% - 32px));
      margin: 0 auto;
      padding: 54px 0;
    }

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 24px;
    }

    h2 {
      margin: 0;
      font-size: clamp(1.8rem, 3vw, 3rem);
      line-height: 1;
      letter-spacing: 0;
    }

    .section-head p {
      max-width: 460px;
      margin: 0;
      color: var(--muted);
    }

    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 22px;
    }

    .filter {
      min-height: 38px;
      padding: 0 14px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #fff;
      color: var(--muted);
      font: inherit;
      font-size: 0.92rem;
      font-weight: 750;
      cursor: pointer;
    }

    .filter.active,
    .filter:hover {
      color: #fff;
      border-color: var(--ink);
      background: var(--ink);
    }

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

    .project {
      display: flex;
      flex-direction: column;
      min-height: 100%;
      border: 1px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
      background: var(--panel);
    }

    .project.hidden {
      display: none;
    }

    .thumb {
      position: relative;
      min-height: 210px;
      overflow: hidden;
      border-bottom: 1px solid var(--line);
    }

    .thumb.web {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2)),
        linear-gradient(135deg, #1d4ed8, #0f766e);
    }

    .thumb.branding {
      background:
        radial-gradient(circle at 28% 30%, #f9fafb 0 16%, transparent 17%),
        radial-gradient(circle at 70% 64%, #facc15 0 20%, transparent 21%),
        linear-gradient(135deg, #171717, #c2410c);
    }

    .thumb.graphics {
      background:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.36) 0 12px, transparent 12px 24px),
        linear-gradient(135deg, #0f766e, #facc15 50%, #c2410c);
    }

    .thumb.ui {
      background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 38%, transparent 38%),
        linear-gradient(135deg, #dbeafe, #fef3c7);
    }

    .thumb:before,
    .thumb:after {
      content: "";
      position: absolute;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.86);
      box-shadow: 0 18px 34px rgba(23, 23, 23, 0.14);
    }

    .thumb:before {
      width: 64%;
      height: 48%;
      left: 22px;
      top: 28px;
    }

    .thumb:after {
      width: 42%;
      height: 30%;
      right: 22px;
      bottom: 24px;
    }

    .project-body {
      flex: 1;
      padding: 20px;
    }

    .tag {
      display: inline-flex;
      margin-bottom: 12px;
      color: var(--accent-2);
      font-size: 0.76rem;
      font-weight: 850;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    h3 {
      margin: 0;
      font-size: 1.22rem;
      line-height: 1.2;
    }

    .project p {
      margin: 10px 0 0;
      color: var(--muted);
      font-size: 0.96rem;
    }

    .project-foot {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 16px 20px 20px;
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 700;
    }

    .capabilities {
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      gap: 24px;
      align-items: start;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .service-list {
      display: grid;
      gap: 12px;
    }

    .service {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 14px;
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--panel);
    }

    .icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      color: #fff;
      background: var(--accent);
      font-weight: 900;
    }

    .service:nth-child(2) .icon {
      background: var(--blue);
    }

    .service:nth-child(3) .icon {
      background: var(--accent-2);
    }

    .service h3 {
      font-size: 1.05rem;
    }

    .service p {
      margin: 6px 0 0;
      color: var(--muted);
    }

    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 22px;
    }

    .skill {
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 7px;
      background: #fff;
      color: var(--muted);
      font-size: 0.92rem;
      font-weight: 750;
    }

    .contact {
      width: min(1120px, calc(100% - 32px));
      margin: 32px auto 48px;
      padding: 32px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 24px;
      border-radius: 8px;
      background: var(--ink);
      color: #fff;
    }

    .contact h2 {
      font-size: clamp(1.7rem, 3vw, 2.8rem);
    }

    .contact p {
      margin: 10px 0 0;
      max-width: 650px;
      color: rgba(255, 255, 255, 0.72);
    }

    .contact .button {
      border-color: #fff;
      background: #fff;
      color: var(--ink);
      white-space: nowrap;
    }

    footer {
      width: min(1440px, calc(100% - 32px));
      margin: 0 auto;
      padding: 0 0 32px;
      display: flex;
      justify-content: space-between;
      gap: 18px;
      color: var(--muted);
      font-size: 0.92rem;
    }

    @media (max-width: 880px) {
      .nav {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
      }

      .nav-links {
        justify-content: flex-end;
        flex-wrap: wrap;
      }

      .hero,
      .capabilities,
      .contact {
        grid-template-columns: 1fr;
      }

      .hero {
        padding-top: 44px;
      }

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

      .stat:nth-child(2) {
        border-right: 0;
      }

      .stat:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
      }

      .section-head {
        align-items: flex-start;
        flex-direction: column;
      }

      .contact .button {
        width: max-content;
      }
    }

    @media (max-width: 620px) {
      .nav {
        display: block;
      }

      .nav-links {
        margin-top: 12px;
        justify-content: flex-start;
      }

      .nav-links a {
        padding-left: 0;
      }

      .hero-visual {
        min-height: 390px;
      }

      .browser-frame {
        inset: 18px 18px auto;
        height: 235px;
      }

      .mock-site {
        grid-template-columns: 1fr;
      }

      .mock-photo {
        min-height: 78px;
      }

      .poster-stack {
        right: 18px;
        bottom: 18px;
        grid-template-columns: repeat(3, minmax(68px, 1fr));
        width: calc(100% - 36px);
      }

      .poster.two {
        transform: translateY(-12px);
      }

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

      .stat,
      .stat:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .stat:last-child {
        border-bottom: 0;
      }

      section {
        padding: 42px 0;
      }

      .contact {
        padding: 24px;
      }

      footer {
        flex-direction: column;
      }
    }