    :root {
      --accent: #00ee3b;
    }
    body {
      font-family: 'Inter', sans-serif;
      background-color: #fafafa;
      color: #111;
      margin: 0;
      padding: 0;
    }
    .work {
      max-width: 1440px;
      margin: 0 auto;
      padding-top: 30px;
    }
    h1, h2, h3 {
      font-weight: 600;
      margin-bottom: 0.5em;
    }
    .hero {
  padding: 0;
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
    }
    .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gridMove 7s linear infinite;
  z-index: 0;
  pointer-events: none;
    }
    .hero > * {
  position: relative;
  z-index: 1;
    }
    .hero-img-wrap {
  position: absolute;
  width: 240px;
  cursor: grab;
  user-select: none;
  z-index: 2;
    }
    .hero-gear-wrap {
  position: absolute;
  top: 12%;
  left: 12%;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
    }
    .hero-gear {
  display: block;
  font-size: 6rem;
  color: #111;
  animation: gearSpin 6s ease-in-out infinite;
    }
    .gear-hello {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 2px solid transparent;
  pointer-events: none;
    }
    .hero-gear-wrap.hello-active .gear-hello {
  border-right-color: #111;
  animation: typewriter 0.7s steps(12) forwards, cursorBlink 0.5s step-end 6;
    }
    .hero-gear-wrap.hello-erasing .gear-hello {
  width: 12ch;
  border-right-color: #111;
  animation: eraser 0.6s steps(12) forwards;
    }
    @keyframes typewriter {
  from { width: 0; }
  to   { width: 12ch; }
    }
    @keyframes eraser {
  from { width: 12ch; }
  to   { width: 0; }
    }
    @keyframes cursorBlink {
  50% { border-color: transparent; }
    }
    @keyframes gearSpin {
  0%   { transform: rotate(0deg); }
  14%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
    }
    .hero-img--top-right {
  top: 3%;
  right: 3%;
  animation: float1 9s ease-in-out infinite;
    }
    .hero-img--bottom-left {
  bottom: 0;
  left: 3%;
  animation: float2 11s ease-in-out infinite;
    }
    @keyframes float1 {
  0%   { transform: translate(0px, 0px); }
  20%  { transform: translate(14px, -18px); }
  45%  { transform: translate(-16px, -8px); }
  70%  { transform: translate(-20px, 16px); }
  85%  { transform: translate(10px, 20px); }
  100% { transform: translate(0px, 0px); }
    }
    @keyframes float2 {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(-14px, 18px); }
  50%  { transform: translate(20px, 10px); }
  75%  { transform: translate(8px, -20px); }
  100% { transform: translate(0px, 0px); }
    }
    .hero-img-wrap img {
  width: 100%;
  display: block;
    }
    .hero-img-wrap.dragging {
  cursor: grabbing;
  animation-play-state: paused;
    }
    .hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1.5px dashed var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
    }
    .hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: -10px;
  background:
    radial-gradient(circle, #fff 3px, var(--accent) 3px, var(--accent) 5px, transparent 5px) top left / 10px 10px no-repeat,
    radial-gradient(circle, #fff 3px, var(--accent) 3px, var(--accent) 5px, transparent 5px) top right / 10px 10px no-repeat,
    radial-gradient(circle, #fff 3px, var(--accent) 3px, var(--accent) 5px, transparent 5px) bottom left / 10px 10px no-repeat,
    radial-gradient(circle, #fff 3px, var(--accent) 3px, var(--accent) 5px, transparent 5px) bottom right / 10px 10px no-repeat;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
    }
    .hero-img-wrap:hover::before,
    .hero-img-wrap:hover::after,
    .hero-img-wrap.dragging::before,
    .hero-img-wrap.dragging::after {
  opacity: 1;
    }
    .rocket-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  cursor: pointer;
  z-index: 3;
  transform: translate(58%, 58%);
  transition: transform 0.4s ease;
  user-select: none;
    }
    .rocket-emoji {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  object-fit: contain;
  transform: rotate(-15deg) translateY(-30%);
  transform-origin: center bottom;
  animation: rocketSway 0.7s ease-in-out infinite;
    }
    @keyframes rocketSway {
  0%, 100% { transform: rotate(-15.5deg) translateY(-30%); }
  50%       { transform: rotate(-14.5deg) translateY(-30%); }
    }
    .rocket-hey {
  position: absolute;
  top: -121px;
  left: -25px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  white-space: normal;
  max-width: 120px;
  text-align: left;
    }
    .rocket-wrap:hover {
  transform: translate(50%, 50%);
    }
    .rocket-wrap.peeked .rocket-hey {
  opacity: 1;
    }
    .rocket-wrap.launched {
  transform: translate(-160vw, -160vh);
  transition: transform 1s cubic-bezier(0.4, 0, 1, 1);
  pointer-events: none;
    }
    .rocket-wrap.launched .rocket-emoji {
  animation: none;
  transform: rotate(-30deg) translateY(-30%);
    }
    .rocket-wrap.launched .rocket-hey {
  opacity: 0;
    }
    @media (max-width: 768px) {
      .hero-img-wrap { width: 136px; }
      .hero-gear-wrap { top: 2%; left: 2%; }
      .hero-gear { font-size: 2.5rem; }
      .hero-img--top-right { top: 2%; right: 2%; animation: none; }
      .hero-img--bottom-left { bottom: 0; left: 2%; animation: none; }
      .rocket-wrap { width: 140px; height: 140px; }
      .rocket-emoji { width: 140px; height: 140px; }
    }
    @media (max-width: 480px) {
      .hero-img-wrap { width: 120px; }
      .hero-gear-wrap { top: 5%; left: 7%; }
      .hero-gear { font-size: 2rem; }
      .hero-img--top-right { top: 1%; right: 1%; }
      .hero-img--bottom-left { bottom: 0; left: 1%; }
    }
    @keyframes gridMove {
  0%   { background-position: 0 0; }
  20%  { background-position: 40px 70px; }
  40%  { background-position: 75px 25px; }
  60%  { background-position: 105px 120px; }
  80%  { background-position: 135px 65px; }
  100% { background-position: 150px 150px; }
    }
    .accent {
  color: var(--accent);
    }
    .hero h1 {
      font-size: clamp(2.4rem, 6.4vw, 6.4rem);
      margin: 0 0 1.5rem;
      line-height: 1.2;
      max-width: min(1200px, 90%);
    }
    .hero .pills {
      margin-bottom: 1.5rem;
    }

    .pill {
      display: inline-block;
      background: #eaeaea;
      color: #111;
      border-radius: 50px;
      padding: 6px 14px;
      margin: 4px;
      font-size: 0.9rem;
    }
    .buttons {
      margin-top: 1.5rem;
    }
    .scroll-arrow {
  display: block;
  margin-top: 2rem;
  font-size: 2.7rem;
  color: #111;
  text-decoration: none;
  animation: arrowBounce 1.4s ease-in-out infinite;
    }
    @keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
    }

    .buttons a {
      display: inline-block;
      margin: 0 10px;
      padding: 12px 24px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 500;
      background: #111;
      color: #fff;
      transition: 0.3s;
    }
    .buttons a:hover {
      background: var(--accent);
      opacity: 1;
    }
    .buttons a.btn-primary,
    .btn-primary {
      display: inline-block;
      padding: 12px 24px;
      border-radius: 50px;
      text-decoration: none;
      font-weight: 500;
      background: var(--accent);
      color: #111;
      transition: 0.3s;
    }
    .buttons a.btn-primary:hover,
    .btn-primary:hover {
      background: #111;
      color: #fff;
    }
    /* ===== ABOUT SECTION ===== */
    :root {
      --about-gap: clamp(80px, 13vw, 120px);
}
    .about {
      max-width: 100%;
      margin: 0;
      padding: 0;
      overflow-x: clip;
    }
    .about-headline-wrap {
      padding-top: var(--about-gap);
      padding-left: clamp(24px, 5vw, 80px);
      padding-right: clamp(24px, 5vw, 80px);
      text-align: center;
    }
    .about-headline {
      font-size: clamp(40px, 6vw, 68px);
      font-weight: 400;
      line-height: 1.2;
      margin: 0 auto;
      max-width: 1440px;
      text-align: left;
    }
    .emoji-inline {
      height: 0.85em;
      width: auto;
      vertical-align: -0.1em;
      display: inline;
    }
.about-headline-highlight {
      background: var(--accent);
      color: #fff;
      padding: 0 10px;
      border-radius: 6px;
    }
    .about-marquee-wrap {
      margin-top: var(--about-gap);
      padding-left: 20px;
      padding-right: 20px;
    }
    .about-marquee {
      font-size: 26px;
    }
    @media (min-width: 2000px) {
      .about-marquee {
        text-align: center;
      }
    }
    .skill-tag {
      display: inline-block;
      border: 1px solid var(--accent);
      padding: 8px 16px;
      border-radius: 50px;
      margin: 4px;
    }
    .about-center-text {
      max-width: 1000px;
      margin: var(--about-gap) auto 0;
      padding: 0 clamp(24px, 5vw, 80px);
      text-align: center;
    }
    .about-ct-row {
      position: relative;
    }
    .about-ct-row--gap {
      margin-top: 50px;
    }
    .about-p38 {
      font-size: 38px;
      line-height: 1.3;
      margin: 0;
      font-weight: 400;
      font-family: 'IBM Plex Mono', monospace;
    }
    .about-p38--gap {
      margin-top: 0;
    }
    .about-highlight-rotated {
      background: var(--accent);
      color: #fff;
      padding: 0 10px;
      border-radius: 6px;
      display: inline-block;
      transform: rotate(-2deg);
    }
    @keyframes spinOnce {
      0%   { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    @keyframes spinOnceCenter {
      0%   { transform: translateY(-50%) rotate(0deg); }
      100% { transform: translateY(-50%) rotate(360deg); }
    }
    .about-spin {
      animation: spinOnce 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    @keyframes floatAboutLeft {
      0%   { transform: translateY(-50%) translate(0px, 0px); }
      20%  { transform: translateY(-50%) translate(5px, -8px); }
      45%  { transform: translateY(-50%) translate(-6px, -4px); }
      70%  { transform: translateY(-50%) translate(-7px, 7px); }
      85%  { transform: translateY(-50%) translate(4px, 9px); }
      100% { transform: translateY(-50%) translate(0px, 0px); }
    }
    @keyframes floatAboutRight {
      0%   { transform: translateY(-50%) translate(0px, 0px); }
      25%  { transform: translateY(-50%) translate(-5px, 9px); }
      50%  { transform: translateY(-50%) translate(7px, 4px); }
      75%  { transform: translateY(-50%) translate(4px, -7px); }
      100% { transform: translateY(-50%) translate(0px, 0px); }
    }
    .about-ct-img {
      position: absolute;
      width: 58px;
      height: auto;
      top: 50%;
    }
    .about-ct-img--left {
      left: -100px;
      animation: floatAboutLeft 9s ease-in-out infinite;
    }
    .about-ct-img--right {
      right: -100px;
      animation: floatAboutRight 11s ease-in-out infinite;
    }
    .about-cards {
      margin-top: var(--about-gap);
      max-width: 1440px;
      margin-left: auto;
      margin-right: auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    .about-card {
      border: 0.56px solid #34C759;
      border-radius: 5px;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: transform 0.15s ease, background 0.1s ease;
    }
    .about-card--expanded {
      transform: scale(4.5);
      z-index: 10;
      background: #fff;
    }
    .about-card-controls svg {
      cursor: pointer;
      transition: opacity 0.15s;
    }
    .about-card-controls svg:hover {
      opacity: 0.6;
    }
    .about-card-toast {
      position: absolute;
      bottom: calc(100% + 10px);
      right: 0;
      background: #060f06;
      border: 0.56px solid #34C759;
      color: #34C759;
      font-family: 'IBM Plex Mono', monospace;
      font-size: 12px;
      padding: 7px 12px;
      border-radius: 4px;
      white-space: nowrap;
      pointer-events: none;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.2s, transform 0.2s;
      z-index: 10;
    }
    .about-card-toast.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .about-card-header {
      height: 28px;
      border-bottom: 0.56px solid #34C759;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding: 0 10px;
      flex-shrink: 0;
    }
    .about-card-controls {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .about-card-body {
      padding: 20px 24px 24px;
      flex: 1;
      font-family: 'IBM Plex Mono', monospace;
      font-size: clamp(14px, 1.2vw, 17px);
      line-height: 1.5;
    }
    .about-card-body p {
      margin: 0;
    }
    .about-wide-ghost {
      display: block;
      width: 40px;
      height: auto;
      margin: 0 auto 16px;
    }
    .about-card-body--dog {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .about-dog-inner {
      margin-bottom: 16px;
      text-align: center;
    }
    .about-dog-img {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      object-fit: cover;
      object-position: top;
      display: block;
      margin: 0 auto 16px;
    }
    .about-dog-caption {
      font-size: 11px;
      color: #666;
      font-family: 'IBM Plex Mono', monospace;
      text-align: center;
      line-height: 1.4;
    }
    @media (max-width: 768px) {
      .about-marquee { font-size: clamp(18px, 3.5vw, 26px); }
      .about-p38 { font-size: clamp(22px, 4.5vw, 38px); }
      .about-ct-img { display: none; }
      .about-headline-wrap,
      .about-center-text,
      .about-cards { padding-left: 24px; padding-right: 24px; }
      .about-cards { grid-template-columns: 1fr; padding-bottom: 0; }
      footer { padding-top: 50px; }
      .about-card-body { font-size: 16px; }
    }
    .portfolio {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
      gap: 40px;
      margin-top: 40px;
    }
    .work h2 {
      font-size: 54px;
    }
    .work .card h3 {
      font-size: 36px;
      line-height: 1.3;
      color: #fff;
      margin: 0 0 8px;
    }
    .work .card p {
      font-size: 16px;
      color: #fff;
      margin: 0;
    }
    .card {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      background: #fff;
      padding: 32px;
      text-decoration: none;
      color: inherit;
      aspect-ratio: 16 / 9;
      box-sizing: border-box;
      position: relative;
      overflow: hidden;
    }
    .card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    .card:hover::after {
      opacity: 1;
    }
    .work .card h3,
    .work .card p {
      position: relative;
      z-index: 1;
    }
    .card--sales {
      background-image: url('https://res.cloudinary.com/dbqs8l5nv/image/upload/v1774857194/sales_presentation_tool_i6myax.png');
      background-size: cover;
      background-position: center;
    }
    .card--troika {
      background-image: url('https://res.cloudinary.com/dbqs8l5nv/image/upload/v1774857193/Troika_brand_nqc3cq.png');
      background-size: cover;
      background-position: center;
    }
    .card--hotkey-group {
      background-image: url('https://res.cloudinary.com/dbqs8l5nv/image/upload/v1774857193/hotkey_website_cover_gznqpm.png');
      background-size: cover;
      background-position: center;
    }
    .card--hotkey-app {
      background-image: url('https://res.cloudinary.com/dbqs8l5nv/image/upload/v1774857194/hotkey_app_case_cover_sm_t5ybop.png');
      background-size: cover;
      background-position: center;
    }
    footer {
      text-align: center;
      padding: 80px 24px;
    }
    .footer-tagline {
      font-size: 20px;
      font-weight: 400;
      margin: 0 0 16px;
    }
    .contact-links {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 16px;
    }
    .contact-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      border: 1.5px solid #1D2227;
      border-radius: 50%;
      color: #1D2227;
      transition: background 0.2s, color 0.2s, border-color 0.2s;
      text-decoration: none !important;
    }
    .contact-link img {
      filter: brightness(0);
      transition: filter 0.2s;
    }
    .contact-link:hover {
      border-color: var(--accent);
      text-decoration: none !important;
    }
    .contact-link:hover img {
      filter: none;
    }

    /* Responsive styles only */
    @media (max-width: 768px) {
      .hero {
        height: 100svh;
        min-height: unset;
        box-sizing: border-box;
        padding-bottom: 180px;
      }
      .hero h1 { font-size: 2.2rem; }
      .hero p { font-size: 1rem; }
      .intro, .work { padding: 30px 0; }
      .buttons, .pills { display: flex; flex-direction: column; align-items: center; }
      .buttons a { width: 100%; max-width: 280px; text-align: center; margin: 6px 0; padding: 12px 24px; font-size: 1rem; }
      .pill { width: 100%; max-width: 280px; text-align: center; margin: 6px 0; }
      .portfolio { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }
      .work { padding-top: 0; }
      .card--hotkey-app,
      .card--hotkey-group,
      .card--troika,
      .card--sales {
        aspect-ratio: unset;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        padding-top: 56vw;
        padding-left: 0;
        padding-right: 0;
        justify-content: flex-start;
      }
      .work .card--hotkey-app h3,
      .work .card--hotkey-app p,
      .work .card--hotkey-group h3,
      .work .card--hotkey-group p,
      .work .card--troika h3,
      .work .card--troika p,
      .work .card--sales h3,
      .work .card--sales p {
        color: #111;
      }
       .work h2 { padding: 0 16px; }
      .card--hotkey-app:hover::after,
      .card--hotkey-group:hover::after,
      .card--troika:hover::after,
      .card--sales:hover::after {
        opacity: 0;
      }
      .contact-links { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; }
    }

    @media (max-width: 480px) {
      .hero { padding-bottom: 0; padding-top: 60px; }
      .hero h1 { font-size: 2.8rem; }
      .hero p { font-size: 0.95rem; }
      .buttons a { padding: 10px 20px; font-size: 0.9rem; }
      .pill { font-size: 0.8rem; }
      .about-marquee-wrap { margin-top: 100px; }
      .about-cards { margin-top: 100px; }
    }

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(8px);
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent);
  color: #111;
}
.scroll-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
