:root {
  --bg-black: #070707;
  --bg-soft: #0d0d0d;
  --figma-red: #f1262d;
  --figma-red-dark: #c9151d;
  --figma-red-glow: rgba(241, 38, 45, .28);
  --text-white: #f5f5f5;
  --text-gray: #8c8c8c;
  --text-muted: #565656;
  --border-line: #242424;
  --font-heading: 'Instrument Sans', Arial, sans-serif;
  --font-main: 'Cousine', 'Courier New', monospace;
  --font-mono: 'Cousine', 'Courier New', monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-height: 74px;
}

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

html, body { width: 100%; height: 100%; }

html { background: var(--bg-black); }

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: '';
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 40;
  border: 1px solid #2c2c2c;
  border-radius: 0 0 12px 12px;
  pointer-events: none;
  content: '';
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { border: 0; padding: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
img { max-width: 100%; }

.text-dot { display: inline-block; width: .24em; height: .24em; color: transparent; background: var(--figma-red); border-radius: 0; vertical-align: .05em; }

/* Fixed viewport: the page itself never scrolls vertically. */
.viewport-wrapper { position: fixed; inset: 0; overflow: hidden; }

.slides-track {
  display: flex;
  width: 300vw;
  height: 100%;
  transform: translate3d(calc(var(--active-screen) * -100vw), 0, 0);
  transition: transform .78s var(--ease-out);
  will-change: transform;
}

.screen {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  min-height: 100dvh;
  padding: calc(var(--header-height) + 34px) clamp(24px, 5vw, 80px) 34px;
  overflow: hidden;
  background: var(--bg-black);
}

.screen-inner { position: relative; width: min(100%, 1440px); height: 100%; margin: 0 auto; }

/* Header */
.figma-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(20px, 4vw, 64px);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(7,7,7,.97), rgba(7,7,7,.72) 72%, transparent);
  backdrop-filter: blur(10px);
}

.figma-nav { position: relative; width: min(100%, 410px); pointer-events: auto; }
.nav-track { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.figma-nav-item { position: relative; padding: 27px 0 14px; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .01em; transition: color .25s ease; }
.figma-nav-item:hover, .figma-nav-item.active { color: var(--figma-red); }
.figma-nav-item:focus-visible, .btn-figma-primary:focus-visible, .link-figma-red:focus-visible, .price-link-item:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.nav-active-bar { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--figma-red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.figma-nav-item.active .nav-active-bar { transform: scaleX(1); }
.nav-base-line { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--border-line); }
.brand-mark { position: absolute; top: 16px; right: clamp(20px, 4vw, 64px); display: block; width: clamp(170px, 13.5vw, 390px); pointer-events: auto; }
.brand-mark img { display: block; width: 100%; height: auto; }
.mobile-menu-button, .mobile-menu-panel, .mobile-tabbar { display: none; }
.mobile-menu-button { align-items: center; justify-content: center; gap: 5px; width: 42px; height: 42px; }
.mobile-menu-button span { display: block; width: 28px; height: 2px; background: var(--text-white); transition: transform .25s ease, opacity .25s ease; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-panel { flex-direction: column; gap: 4px; padding: 14px; border: 1px solid #373737; border-radius: 10px; background: rgba(14,14,14,.94); box-shadow: 0 18px 40px rgba(0,0,0,.45); backdrop-filter: blur(14px); }
.mobile-menu-label { margin: 0 0 5px; color: var(--text-muted); font-family: var(--font-main); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.mobile-menu-item { padding: 9px 8px; color: var(--text-gray); font-family: var(--font-main); font-size: 12px; text-align: left; border-radius: 4px; }
.mobile-menu-item:hover, .mobile-menu-item.active { color: var(--figma-red); background: rgba(241,38,45,.08); }
.mobile-menu-button:focus-visible, .mobile-menu-item:focus-visible, .mobile-tab-item:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Shared type and buttons */
.eyebrow { margin: 0 0 24px; color: var(--figma-red); font-family: var(--font-mono); font-size: 10px; letter-spacing: .13em; }
.section-title { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 700; line-height: .95; letter-spacing: -.06em; }
.btn-figma-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 24px; border: 1px solid var(--figma-red); border-radius: 3px; color: #fff; background: var(--figma-red); box-shadow: 0 12px 34px var(--figma-red-glow); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .01em; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.btn-figma-primary:hover { background: var(--figma-red-dark); box-shadow: 0 16px 40px rgba(241,38,45,.4); transform: translateY(-2px); }
.link-figma-red { display: inline-flex; align-items: center; gap: 7px; color: var(--figma-red); font-family: var(--font-mono); font-size: 12px; transition: color .25s ease, transform .25s ease; }
.link-figma-red:hover { color: var(--figma-red); transform: translateY(-2px); }

/* Hero */
.screen-hero { display: flex; align-items: center; background: var(--bg-black); }
.hero-background-picture { position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; }
.hero-background-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-background-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 34%, rgba(0,0,0,.16) 62%, rgba(0,0,0,0) 100%); }
.hero-red-ambient { position: absolute; top: 8%; right: -18%; width: 70vw; height: 90%; pointer-events: none; background: linear-gradient(120deg, transparent 12%, rgba(164, 0, 8, .22) 48%, rgba(241, 38, 45, .82) 100%); filter: blur(42px); opacity: .85; transform: skewX(-9deg); }
.hero-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr); align-items: center; gap: clamp(30px, 5vw, 92px); }
.hero-left { position: relative; z-index: 3; max-width: 720px; }
.hero-title { max-width: 760px; margin: 0 0 28px; color: var(--text-white); font-size: clamp(3rem, 5.55vw, 5.75rem); font-weight: 800; line-height: .98; letter-spacing: -.065em; }
.hero-description { max-width: 570px; margin: 0 0 38px; color: var(--text-gray); font-family: var(--font-mono); font-size: 14px; line-height: 1.72; }
.hero-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-actions-row .link-figma-red { padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.hero-right { position: relative; z-index: 1; display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.hero-macbook-box { width: min(100%, 690px); transform: translate(3%, 1%); }
.hero-macbook-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 45px rgba(0,0,0,.8)); }
.hero-pagination { position: absolute; bottom: clamp(18px, 2.5vw, 44px); left: 50%; z-index: 4; display: flex; align-items: center; justify-content: space-between; width: clamp(190px, 11vw, 310px); height: clamp(48px, 3.2vw, 70px); padding: 0 clamp(22px, 1.6vw, 44px); border: 1px solid #2a2a2a; border-radius: 999px; color: var(--text-white); background: rgba(20,20,20,.78); box-shadow: 0 10px 30px rgba(0,0,0,.22); transform: translateX(-50%); backdrop-filter: blur(10px); }
.hero-pagination-button { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 100%; color: var(--text-gray); font-family: var(--font-main); font-size: clamp(24px, 1.5vw, 34px); line-height: 1; transition: color .25s ease, transform .25s ease; }
.hero-pagination-button:hover:not(:disabled) { color: var(--text-white); transform: scale(1.12); }
.hero-pagination-button:disabled { color: #3d3d3d; cursor: default; }
.hero-pagination-current, .hero-pagination-total, .hero-pagination-divider { font-family: var(--font-mono); font-size: clamp(14px, 1vw, 21px); }
.hero-pagination-current { color: var(--text-white); }
.hero-pagination-total, .hero-pagination-divider { color: var(--text-gray); }
.screen-hint { position: absolute; bottom: 16px; left: 0; margin: 0; color: var(--text-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; }

/* Portfolio drum */
.screen-projects { padding-top: calc(var(--header-height) + 25px); background: #060606; }
.projects-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; }
.section-heading-row .eyebrow { margin-bottom: 11px; }
.section-counter { margin: 0 0 7px; color: var(--text-muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; }
.projects-main { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; min-height: 0; gap: clamp(20px, 4vw, 60px); }
.projects-stage { position: relative; min-width: 0; min-height: 0; height: min(65vh, 470px); }
.project-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); align-items: center; gap: clamp(34px, 6vw, 110px); opacity: 0; visibility: hidden; transform: translate3d(36px, 0, 0) scale(.985); transition: opacity .48s ease, transform .58s var(--ease-out), visibility .48s; pointer-events: none; }
.project-slide.is-active { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0) scale(1); pointer-events: auto; }
.project-media-side { position: relative; width: 100%; height: min(57vh, 410px); overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 2px; background: #161616; }
.project-media-side::after { position: absolute; inset: 0; content: ''; pointer-events: none; box-shadow: inset 0 0 90px rgba(0,0,0,.18); }
.project-media-side.bg-green { background: #19a451; }
.project-media-side.bg-red { background: #c80d18; }
.project-media-side.bg-blue { background: #1d59d1; }
.project-media-side.bg-pink { background: #d7537b; }
.project-media-side.bg-ochre { background: #a56e27; }
.project-picture { display: block; width: 100%; height: 100%; }
.proj-mockup-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-info-side { display: flex; flex-direction: column; align-items: flex-start; max-width: 500px; }
.proj-num, .whyus-num { margin: 0 0 18px; color: var(--figma-red); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; }
.proj-title { margin: 0 0 18px; color: var(--text-white); font-family: var(--font-mono); font-size: clamp(1.7rem, 2.5vw, 2.8rem); font-weight: 500; line-height: 1.08; letter-spacing: -.05em; }
.proj-desc { max-width: 410px; margin: 0 0 23px; color: var(--text-gray); font-family: var(--font-mono); font-size: 14px; line-height: 1.68; }
.proj-tags-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 32px; }
.p-tag { padding: 6px 9px; border: 1px solid #303030; color: #999; font-family: var(--font-mono); font-size: 10px; line-height: 1; }
.proj-actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.proj-actions-row .btn-figma-primary { min-height: 46px; padding: 13px 17px; font-size: 11px; }
.proj-actions-row .link-figma-red { padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--figma-red); }
.proj-actions-row .link-figma-red:hover { border-color: currentColor; color: var(--figma-red); }
.project-progress { display: flex; flex-direction: column; align-items: center; gap: 11px; height: 300px; pointer-events: none; }
.v-num { color: var(--text-muted); font-family: var(--font-mono); font-size: 10px; }
.v-num.top { color: var(--figma-red); }
.v-line-track { position: relative; flex: 1; width: 1px; overflow: hidden; background: #292929; }
.v-line-fill { position: absolute; top: 0; left: 0; width: 100%; height: 20%; background: var(--figma-red); transition: top .45s var(--ease-out); }
.project-hint { margin: 0; color: var(--text-muted); font-family: var(--font-mono); font-size: 10px; text-align: right; }

/* Why us */
.screen-whyus { display: flex; align-items: center; background: #080808; }
.whyus-container { display: grid; grid-template-columns: minmax(300px, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(40px, 7vw, 130px); }
.whyus-left { max-width: 500px; }
.whyus-title { margin: 0 0 25px; color: var(--text-white); font-size: clamp(2.25rem, 4vw, 4rem); font-weight: 700; line-height: 1.02; letter-spacing: -.055em; }
.whyus-desc { max-width: 460px; margin: 0 0 28px; color: var(--text-gray); font-family: var(--font-mono); font-size: 14px; line-height: 1.7; }
.whyus-price-links { display: flex; flex-direction: column; gap: 14px; margin-top: 52px; }
.price-link-item { display: flex; align-items: center; justify-content: space-between; width: min(100%, 360px); padding-bottom: 8px; border-bottom: 1px solid rgba(241,38,45,.45); color: var(--figma-red); font-family: var(--font-mono); font-size: 11px; transition: color .25s ease, border-color .25s ease, transform .25s ease; }
.price-link-item:hover { border-color: #fff; color: #fff; transform: translateX(4px); }
.p-arr { font-size: 14px; }
.whyus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border-line); border-left: 1px solid var(--border-line); }
.whyus-card { min-height: 220px; padding: 27px 28px 30px; border-right: 1px solid var(--border-line); border-bottom: 1px solid var(--border-line); }
.whyus-card-title { margin: 0 0 18px; color: var(--text-white); font-size: clamp(1.15rem, 1.6vw, 1.55rem); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; }
.whyus-card-text { max-width: 270px; margin: 0; color: var(--text-gray); font-family: var(--font-mono); font-size: 14px; line-height: 1.65; }

@media (max-width: 980px) {
  :root { --header-height: 66px; }
  .hero-container { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); gap: 30px; }
  .project-slide { gap: 38px; }
  .project-media-side { height: min(54vh, 360px); }
  .whyus-container { gap: 42px; }
}

@media (min-width: 1200px) {
  :root { --header-height: clamp(58px, 3.15vw, 90px); }

  .figma-header {
    justify-content: flex-start;
    padding: 0 clamp(24px, 3.9vw, 112px);
  }

  .figma-nav { width: min(22.4vw, 640px); }
  .nav-track { gap: 0; }
  .figma-nav-item {
    flex: 1 1 0;
    padding: 17px 0 12px;
    font-family: var(--font-main);
    text-align: left;
    font-size: clamp(12px, .95vw, 20px);
  }

  .brand-mark {
    top: clamp(16px, 1.4vw, 30px);
    right: clamp(24px, 3.9vw, 112px);
    width: clamp(170px, 13.5vw, 390px);
  }

  .screen {
    padding: calc(var(--header-height) + 20px) clamp(24px, 4.1vw, 112px) 22px;
  }

  .screen-inner {
    width: 100%;
    max-width: 2640px;
  }

  .hero-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
    align-items: stretch;
    gap: 0;
  }

  .hero-left {
    align-self: flex-start;
    width: min(100%, 980px);
    max-width: 980px;
    margin-top: clamp(105px, 8.1vw, 220px);
    transform: none;
  }

  .hero-title {
    max-width: 980px;
    margin-bottom: clamp(24px, 2.8vw, 60px);
    font-size: clamp(72px, 5vw, 96px);
  }

  .hero-description {
    max-width: 800px;
    margin-bottom: clamp(36px, 2.4vw, 70px);
    font-family: var(--font-main);
    font-size: clamp(15px, 1.05vw, 28px);
    line-height: 1.6;
  }

  .hero-actions-row { gap: clamp(20px, 2vw, 55px); }
  .hero-actions-row .btn-figma-primary {
    min-height: clamp(48px, 3.3vw, 70px);
    padding: clamp(13px, 1vw, 20px) clamp(18px, 1.5vw, 42px);
    font-family: var(--font-main);
    font-size: clamp(13px, 1.1vw, 24px);
  }
  .hero-actions-row .link-figma-red {
    color: var(--figma-red);
    font-family: var(--font-main);
    font-size: clamp(13px, 1.1vw, 24px);
  }

  .project-slide {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: clamp(36px, 3vw, 60px);
  }

  .project-media-side { height: min(59vh, 440px); }

  .projects-shell {
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .section-heading-row {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
  }

  .section-heading-row > div { display: none; }
  .section-counter { margin: 0; }
  .projects-main {
    height: 100%;
    transform: translateY(clamp(-30px, -1.1vw, -15px));
  }

  .project-info-side .proj-num {
    font-size: 0;
  }

  .project-info-side .proj-num::before {
    content: 'SELECTED WORKS';
    font-size: 12px;
  }

  .whyus-container {
    grid-template-columns: minmax(0, 49.5%) minmax(0, 50.5%);
    align-items: stretch;
    gap: 0;
    height: auto;
    margin-left: 8px;
  }

  .whyus-left {
    max-width: 720px;
    transform: none;
  }

  .whyus-title {
    margin-bottom: 30px;
    font-size: clamp(40px, 3.2vw, 50px);
  }

  .whyus-desc { font-size: 14px; }

  .whyus-left .btn-figma-primary {
    min-height: 57px;
    padding: 15px 33px;
  }

  .whyus-price-links .price-link-item { width: min(100%, 400px); }

  .whyus-right {
    align-self: stretch;
    justify-self: start;
    width: 100%;
    padding-top: 0;
  }

  .whyus-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: 100%;
  }

  .whyus-card {
    min-height: 0;
    padding: 31px 30px 32px;
  }

  .whyus-card-title { margin-bottom: 22px; }

  .hero-right {
    align-self: flex-start;
    align-items: flex-start;
    justify-content: flex-end;
    height: auto;
    padding-top: 12px;
    overflow: visible;
  }

  .hero-macbook-box {
    width: min(100%, 1128px);
    transform: none;
  }

  .screen-hint { display: none; }
}

@media (max-width: 760px) {
  :root { --header-height: 58px; }
  .figma-header { align-items: flex-start; justify-content: flex-start; height: var(--header-height); padding: 0 20px; background: linear-gradient(to bottom, rgba(7,7,7,.96), rgba(7,7,7,.72) 76%, transparent); }
  .figma-nav { display: block; width: 100%; pointer-events: auto; }
  .nav-track { gap: 16px; }
  .figma-nav-item { padding: 18px 0 13px; font-size: 11px; }
  .mobile-menu-button, .mobile-menu-panel, .mobile-tabbar { display: none !important; }

  .screen { padding: calc(var(--header-height) + 18px) 20px 20px; }
  .screen-inner { height: 100%; }
  .eyebrow { margin-bottom: 14px; font-size: 10px; }

  .screen-hero { display: block; }
  .screen-hero { background: radial-gradient(circle at 100% 22%, rgba(180,0,0,.78), transparent 52%), var(--bg-black); }
  .hero-background-picture { overflow: hidden; }
  .hero-background-image { object-position: center top; opacity: .98; transform: translateY(165px); }
  .hero-background-shade { background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.28) 52%, rgba(0,0,0,.08) 100%); }
  .hero-container { display: block; }
  .hero-left { max-width: 360px; padding-top: clamp(0px, 1.3vh, 14px); transform: translateY(-12px); }
  .hero-title { margin-bottom: 20px; font-size: clamp(2.15rem, 9.3vw, 3.5rem); line-height: .97; }
  .hero-description { max-width: 350px; margin-bottom: 23px; font-size: 14px; line-height: 1.55; }
  .hero-actions-row { flex-direction: column; align-items: flex-start; gap: 13px; }
  .hero-actions-row .btn-figma-primary { width: 100%; min-height: 54px; padding: 14px 18px; font-size: 15px; text-align: center; }
  .hero-actions-row .link-figma-red { font-size: 14px; }
  .hero-right { align-items: end; justify-content: center; margin: 0 -20px; }
  .hero-macbook-box { width: min(84vw, 330px); transform: translate(3%, 0); }
  .hero-pagination { bottom: 14px; width: 190px; height: 48px; padding: 0 20px; }
  .hero-pagination-button { font-size: 26px; }
  .hero-pagination-current, .hero-pagination-total, .hero-pagination-divider { font-size: 13px; }
  .screen-hint { display: none; }

  .screen-projects { padding-top: calc(var(--header-height) + 15px); }
  .projects-shell { gap: 8px; }
  .section-heading-row { align-items: center; }
  .section-heading-row .eyebrow { margin-bottom: 7px; }
  .section-title { font-size: 2.1rem; }
  .section-counter { margin-bottom: 3px; font-size: 10px; }
  .projects-main { display: block; }
  .projects-stage { height: min(72vh, 600px); }
  .project-slide { grid-template-columns: 1fr; grid-template-rows: minmax(140px, 30vh) minmax(0, 1fr); align-content: center; align-items: start; gap: 20px; transform: translate3d(20px, 0, 0) scale(.985); }
  .project-media-side { height: 100%; min-height: 0; }
  .proj-mockup-img {
    object-fit: contain;
    -webkit-clip-path: inset(3% 30% 2% 31% round 10% / 5%);
    clip-path: inset(3% 30% 2% 31% round 10% / 5%);
  }
  .project-info-side { max-width: none; }
  .proj-num { margin-bottom: 9px; font-size: 10px; }
  .proj-title { margin-bottom: 9px; font-size: 1.75rem; }
  .proj-desc { margin-bottom: 13px; font-size: 14px; line-height: 1.5; }
  .proj-tags-list { gap: 6px; margin-bottom: 16px; }
  .p-tag { padding: 5px 8px; font-size: 12px; }
  .proj-actions-row { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .proj-actions-row .btn-figma-primary { width: 100%; min-height: 44px; padding: 12px 14px; font-size: 13px; text-align: center; }
  .proj-actions-row .link-figma-red { align-self: center; font-size: 13px; text-align: center; }
  .project-picture { height: 100%; }
  .project-progress { display: none !important; }
  .project-hint { display: none; }

  .screen-whyus { display: block; }
  .whyus-container { display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 12px; }
  .whyus-title { margin-bottom: 13px; font-size: clamp(1.85rem, 8vw, 2.7rem); line-height: .98; }
  .whyus-desc { margin-bottom: 13px; font-size: 14px; line-height: 1.5; }
  .whyus-left { width: 100%; }
  .whyus-left .btn-figma-primary { justify-content: flex-start; width: 100%; min-height: 44px; padding: 12px 16px; font-size: 13px; text-align: left; }
  .whyus-price-links { gap: 10px; margin-top: 18px; }
  .price-link-item { width: 100%; padding-bottom: 6px; font-size: 12px; }
  .p-arr { font-size: 13px; }
  .whyus-grid { min-height: 0; }
  .whyus-card { min-height: 0; padding: 14px 15px 16px; }
  .whyus-num { margin-bottom: 8px; font-size: 10px; }
  .whyus-card-title { margin-bottom: 8px; font-size: 1.05rem; }
  .whyus-card-text { max-width: none; font-size: 14px; line-height: 1.5; }
  .screen-whyus { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-y; }
  .screen-whyus::-webkit-scrollbar { display: none; }
  .whyus-container { height: auto; min-height: 100%; padding-bottom: 92px; }
}

@media (max-width: 760px) and (max-height: 700px) {
  .projects-stage { height: min(360px, calc(100% - 20px)); }
  .project-slide { grid-template-rows: minmax(130px, 24vh) minmax(0, 1fr); gap: 20px; }
  .proj-num { margin-bottom: 5px; font-size: 10px; }
  .proj-title { margin-bottom: 6px; font-size: 1.45rem; }
  .proj-desc { margin-bottom: 8px; font-size: 14px; line-height: 1.45; }
  .proj-tags-list { gap: 4px; margin-bottom: 10px; }
  .p-tag { padding: 4px 7px; font-size: 11px; }
  .proj-actions-row { gap: 8px; }
  .proj-actions-row .btn-figma-primary { min-height: 40px; padding: 10px 12px; font-size: 12px; }
  .proj-actions-row .link-figma-red { font-size: 12px; }

  .whyus-title { margin-bottom: 9px; font-size: clamp(1.7rem, 7.3vw, 2.2rem); }
  .whyus-desc { margin-bottom: 9px; font-size: 14px; line-height: 1.45; }
  .whyus-left .btn-figma-primary { min-height: 40px; padding: 10px 14px; font-size: 12px; }
  .whyus-price-links { gap: 6px; margin-top: 12px; }
  .price-link-item { padding-bottom: 5px; font-size: 11px; }
  .whyus-card { padding: 11px 12px 12px; }
  .whyus-num { margin-bottom: 6px; font-size: 10px; }
  .whyus-card-title { margin-bottom: 6px; font-size: .95rem; }
  .whyus-card-text { font-size: 14px; line-height: 1.45; }
}

@media (max-width: 380px) {
  .figma-header { padding: 0 14px; }
  .nav-track { gap: 10px; }
  .figma-nav-item { font-size: 10px; }
  .brand-mark { right: 14px; }
  .screen { padding-right: 16px; padding-left: 16px; }
  .hero-right { margin-right: -16px; margin-left: -16px; }
  .hero-macbook-box { width: min(86vw, 315px); }
}

/* Figma typography */
.hero-title,
.section-title,
.proj-title,
.whyus-title,
.whyus-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
}

.figma-nav-item,
.eyebrow,
.btn-figma-primary,
.link-figma-red,
.hero-description,
.screen-hint,
.section-counter,
.proj-num,
.whyus-num,
.proj-desc,
.p-tag,
.v-num,
.project-hint,
.whyus-desc,
.price-link-item,
.whyus-card-text {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Desktop hero composition: wide and tall screens follow the supplied mockups. */
@media (min-width: 1200px) {
  .screen-hero {
    padding-right: clamp(64px, 3.5vw, 90px);
    padding-left: clamp(64px, 3.5vw, 90px);
  }

  .hero-title {
    margin-bottom: clamp(54px, 3.4vw, 82px);
    font-size: 61px;
  }

  .hero-description {
    width: min(100%, 503px);
    max-width: 503px;
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-actions-row {
    gap: 40px;
  }

  .hero-actions-row .btn-figma-primary {
    min-height: 72px;
    padding: 16px 42px;
    font-size: clamp(18px, .9vw, 22px);
  }

  .hero-actions-row .link-figma-red {
    font-size: clamp(18px, .85vw, 21px);
  }
}

@media (min-width: 1200px) and (min-height: 900px) and (max-aspect-ratio: 8 / 5) {
  .screen-hero {
    background:
      radial-gradient(ellipse 48% 66% at 100% 48%, rgba(241, 38, 45, .92) 0%, rgba(105, 0, 8, .68) 38%, transparent 76%),
      var(--bg-black);
  }

  .hero-background-image {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
    transform: scale(.82);
    transform-origin: right center;
  }

  .hero-left {
    margin-top: 170px;
  }

  .hero-description {
    width: min(100%, 503px);
    max-width: 503px;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-actions-row .btn-figma-primary {
    min-height: 82px;
    padding: 18px 36px;
    font-size: 21px;
  }

  .hero-actions-row .link-figma-red {
    font-size: 20px;
  }
}

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