/* ==========================================================
   Umer Nasim — Multi Disciplinary Designer
   Built from Figma file "Umernasim.com" (1512px desktop frame)
   ========================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Arizona Flare";
  src: url("assets/fonts/ArizonaFlare-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Maison Neue";
  src: url("assets/fonts/MaisonNeue-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Maison Neue";
  src: url("assets/fonts/MaisonNeue-Book.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Maison Neue";
  src: url("assets/fonts/MaisonNeue-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #212529;
  --ink-80: rgba(33, 37, 41, 0.8);
  --line: rgba(33, 37, 41, 0.08);
  --accent: #fb5607;
  --surface: #fbfbfb;
  --white: #fff;
  --glow: 0 0 0 transparent;

  --serif: "Arizona Flare", "Times New Roman", serif;
  --sans: "Maison Neue", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; overflow-x: clip; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
p, h1, h2, h3, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.h-xl,
.h-lg {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}
.h-xl { font-size: 48px; }
.h-lg { font-size: 46px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 32px;
  border-radius: 60px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.3s ease, color 0.3s ease;
}
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(33, 37, 41, 0.55);
}
.btn--outline {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--ink);
  width: 182px;
}
.btn--outline:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible,
a:focus-visible,
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ==========================================================
   NAVIGATION — sticky
   ========================================================== */
.nav-wrap {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: top 0.4s var(--ease-out);
  animation: navIn 0.9s var(--ease-out) both;
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.nav {
  pointer-events: auto;
  position: relative;
  max-width: var(--container);
  height: 60px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 160px;
  box-shadow: var(--glow);
  transition: box-shadow 0.4s ease, background-color 0.4s ease;
}
.nav-wrap.is-scrolled { top: 16px; }
.nav-wrap.is-scrolled .nav {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--glow), 0 12px 32px -16px rgba(33, 37, 41, 0.25);
}
.nav__logo img { width: 135px; height: 30px; }

.nav__links {
  position: absolute;
  left: calc(50% + 2.5px);
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav__links a {
  position: relative;
  display: block;
  font-size: 14px;
  line-height: 0.8;
  text-transform: uppercase;
  color: #000;
  padding: 4px 0;
}
.nav__links li:not(.nav__links-cta) a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links li:not(.nav__links-cta) a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover { color: var(--accent); }
.nav__links-cta { display: none; }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__whatsapp {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.35s var(--ease-out), background-color 0.3s;
}
.nav__whatsapp img { width: 42px; height: 42px; max-width: none; }
.nav__whatsapp:hover { transform: translateY(-2px) rotate(-8deg); background: rgba(37, 211, 102, 0.12); }
.nav__cta { width: 156px; padding: 0; line-height: 0.8; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(33, 37, 41, 0.2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 22px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  padding-top: 172px;
  display: grid;
  grid-template-columns: minmax(0, 412fr) 338px minmax(0, 450fr);
  align-items: end;
  min-height: 670px;
}
.hero__left { align-self: stretch; display: flex; flex-direction: column; padding-bottom: 16px; }
.hero__hi {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.96px;
  color: var(--accent);
}
.hero__title {
  margin-top: 16px;
  margin-left: -3px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__exp { margin-top: auto; }
.hero__years {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.hero__exp-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.8px;
}
.brands { display: flex; gap: 10px; margin-top: 16px; }
.brands li {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0.5px solid rgba(100, 102, 105, 0.24);
  border-radius: 12px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}
.brands li img { width: 24px; height: 24px; }
.brands li:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 86, 7, 0.4);
  box-shadow: 0 10px 20px -12px rgba(251, 86, 7, 0.5);
}

.hero__center {
  position: relative;
  align-self: start;
  margin-top: 18px;
  width: 338px;
  height: 464px;
}
.hero__glow {
  position: absolute;
  inset: 0;
  left: 30.66px;
  top: -0.7px;
  border-radius: 20px;
  background: rgba(252, 94, 1, 0.9);
  filter: blur(2px);
  opacity: 0.1;
  transform: rotate(6.36deg);
  transition: transform 0.8s var(--ease-out), opacity 0.6s;
}
.hero__portrait {
  position: relative;
  width: 338px;
  height: 464px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.8s var(--ease-out);
}
.hero__center:hover .hero__glow { transform: rotate(9deg) translate(6px, 4px); opacity: 0.18; }
.hero__center:hover .hero__portrait { transform: rotate(-1.5deg) translateY(-4px); }

.hero__right {
  justify-self: end;
  width: 330px;
  padding-bottom: 16px;
}
.hero__dots { display: flex; gap: 6px; padding-left: 0.5px; }
.hero__dots img { width: 24px; height: 24px; transition: transform 0.4s var(--ease-out); }
.hero__dots:hover img:nth-child(1) { transform: translateY(-4px); }
.hero__dots:hover img:nth-child(2) { transform: translateY(-4px); transition-delay: 0.06s; }
.hero__dots:hover img:nth-child(3) { transform: translateY(-4px); transition-delay: 0.12s; }
.hero__lead {
  margin-top: 12.5px;
  width: 328px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.96px;
  text-transform: uppercase;
}
.hero__sub {
  margin-top: 10.6px;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  white-space: nowrap;
}
.btn--wide { width: 330px; margin-top: 24px; }
.btn--wide img { width: 20px; height: 20px; }

/* ==========================================================
   ABOUT
   ========================================================== */
.about { margin-top: 100px; }
.about__card {
  display: grid;
  grid-template-columns: minmax(0, 513fr) minmax(0, 527fr);
  background: var(--surface);
  border-radius: 60px;
  padding: 70px 80px;
  min-height: 500px;
}
.about__label {
  margin-top: 47px;
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
}
.history { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.history__row {
  position: relative;
  display: flex;
  align-items: center;
  width: 392px;
  max-width: 100%;
  height: 55px;
  padding: 6px 24px 6px 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 160px;
  box-shadow: var(--glow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.history__row:hover {
  transform: translateX(6px);
  box-shadow: var(--glow), 0 12px 24px -16px rgba(33, 37, 41, 0.35);
}
.history__row > img { width: 42px; height: 42px; flex: none; }
.history__info { margin-left: 10px; flex: 1; min-width: 0; }
.history__company {
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}
.history__role {
  margin-top: 6px;
  font-weight: 300;
  font-size: 12px;
  line-height: 1;
  color: var(--ink-80);
}
.history__year { font-size: 10px; line-height: 1; text-align: right; white-space: nowrap; }

.about__text { font-size: 16px; line-height: 1.5; }
.about__text p + p { margin-top: 24px; }

/* ==========================================================
   PROJECTS — auto-sliding carousel
   ========================================================== */
.projects { margin-top: 100px; }
.projects__title { text-align: center; }

.carousel {
  --card-w: 864px;
  --card-gap: 64px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.carousel.is-dragging { cursor: grabbing; }
.carousel__track {
  display: flex;
  gap: var(--card-gap);
  width: max-content;
  will-change: transform;
}
.carousel__track.is-animating { transition: transform 0.9s var(--ease-out); }

.project {
  flex: none;
  width: var(--card-w);
  transition: opacity 0.6s ease;
}
.project__media {
  position: relative;
  width: 100%;
  aspect-ratio: 864 / 480;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}
.project__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 1.1s var(--ease-out);
}
.project:hover .project__media img { transform: scale(1.04); }
.project__text {
  margin-top: 32px;
  max-width: 760px;
  font-size: 24px;
  line-height: 1.4;
}
.project__text strong { font-weight: 700; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services {
  margin-top: 100px;
  background: var(--surface);
  padding: 100px 0;
}
.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.services__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.service {
  position: relative;
  min-height: 300px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--glow);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow), 0 22px 40px -24px rgba(33, 37, 41, 0.35);
}
.service__icon {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  overflow: hidden;
}
.service__icon img { position: absolute; max-width: none; transition: transform 0.45s var(--ease-out); }
.service:hover .service__icon img { transform: rotate(-8deg) scale(1.08); }
.service__title {
  margin-top: 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}
.service__list { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.service__list li {
  position: relative;
  padding-top: 12px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1;
  color: var(--ink-80);
  background: url("assets/img/line.svg") top left / 100% 0.5px no-repeat;
  transition: color 0.3s ease, transform 0.35s var(--ease-out);
}
.service__list li:hover { color: var(--accent); transform: translateX(4px); }

/* ==========================================================
   DRIBBBLE
   ========================================================== */
.dribbble {
  --s: 1;
  --spread: 1;
  position: relative;
  margin-top: 75px;
  height: calc(971px * var(--s));
  overflow: hidden;
}
.dribbble__stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1515px;
  height: 971px;
  transform: translateX(-50%) scale(var(--s));
  transform-origin: top center;
  pointer-events: none;
}
.shot {
  --p: 0;
  position: absolute;
  left: 50%;
  top: 0;
  width: 715.29px;
  height: 362.91px;
  max-width: none;
  object-fit: cover;
  border-radius: 10.52px;
  transform:
    translate(-50%, -50%)
    translate(calc(var(--x) * var(--spread) + var(--side) * var(--p) * 40px), calc(var(--y) + var(--p) * -60px))
    rotate(calc(var(--r) + var(--side) * var(--p) * 3deg));
  will-change: transform;
}
.dribbble__content {
  position: relative;
  z-index: 1;
  padding-top: 173px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.dribbble__follow {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}
.dribbble__mark { margin-top: 24px; width: 389.73px; height: 110px; }
.dribbble__text {
  margin-top: 27px;
  width: 335px;
  max-width: 100%;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.8px;
}
.dribbble__btn { margin-top: 40px; width: 226px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative;
  margin-top: 48px;
  background: var(--ink);
  color: var(--white);
  height: 552px;
  overflow: hidden;
}
.footer__inner { padding-top: 100px; }
.footer__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 50px;
  line-height: 1.2;
  text-transform: uppercase;
}
.footer__contacts {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 49px;
}
.contact__label {
  font-weight: 300;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
}
.contact__value {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}
.contact__value a,
a.contact__value { position: relative; transition: color 0.3s ease; }
.contact__value a:hover,
a.contact__value:hover { color: var(--accent); }
.contact__value .sep { margin: 0 0.6em; }
.contact__divider { width: 1px; height: 38px; background: rgba(255, 255, 255, 0.3); flex: none; }

.footer__bottom {
  margin-top: 55px;
  display: flex;
  align-items: center;
  gap: 17px;
}
.footer__line { flex: 1; height: 0.5px; background: rgba(255, 255, 255, 0.3); }
.footer__copy { font-size: 14px; line-height: 1; opacity: 0.8; white-space: nowrap; }

.footer__name {
  position: absolute;
  left: 50%;
  top: 408.2px;
  width: 1245.23px;
  transform: translateX(-50%);
  pointer-events: none;
}
.footer__name img { width: 100%; height: auto; }

/* ==========================================================
   REVEAL ON SCROLL
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal--fade { transform: none; transition: opacity 0.5s ease-out; transition-delay: var(--d, 0s); }
.reveal--scale { transform: translateY(24px) scale(0.96); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* Laptop / small desktop */
@media (max-width: 1200px) {
  .hero { grid-template-columns: minmax(0, 1fr) 300px minmax(0, 1fr); column-gap: 24px; }
  .hero__center { width: 300px; height: 412px; }
  .hero__portrait { width: 300px; height: 412px; }
  .hero__right { width: 300px; }
  .hero__lead { width: 100%; }
  .btn--wide { width: 100%; }
  .about__card { padding: 64px 56px; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__contacts { gap: 32px; }
  .footer__title { font-size: 44px; }
}

/* Tablet */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }
  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--glow), 0 24px 48px -24px rgba(33, 37, 41, 0.35);
    animation: menuIn 0.4s var(--ease-out) both;
  }
  .nav__links.is-open a { padding: 16px 14px; font-size: 15px; }
  .nav__links.is-open li + li:not(.nav__links-cta) { border-top: 1px solid var(--line); }
  .nav__links.is-open li:not(.nav__links-cta) a::after { display: none; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left center"
      "right center";
    row-gap: 40px;
    column-gap: 32px;
    padding-top: 140px;
    min-height: 0;
  }
  .hero__left { grid-area: left; padding-bottom: 0; }
  .hero__exp { margin-top: 40px; }
  .hero__center { grid-area: center; justify-self: center; margin-top: 0; }
  .hero__right { grid-area: right; justify-self: start; }

  .about__card { grid-template-columns: 1fr; border-radius: 40px; }
  .about__text { margin-top: 8px; }

  .carousel { --card-w: min(864px, 78vw); --card-gap: 32px; }
  .project__text { font-size: 20px; }

  .footer { height: auto; padding-bottom: 180px; }
  .footer__contacts { flex-wrap: wrap; row-gap: 24px; }
  .footer__name { top: auto; bottom: -40px; width: 100%; max-width: 1245px; }
}

/* Phone */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 90px; }

  .nav-wrap { top: 12px; }
  .nav-wrap.is-scrolled { top: 8px; }
  .nav { height: 56px; padding: 0 8px 0 16px; }
  .nav__logo img { width: 112px; height: auto; }
  .nav__cta { display: none; }
  .nav__links-cta { display: block; margin-top: 6px; }
  .nav__links.is-open .nav__links-cta a { display: flex; width: 100%; padding: 0; height: 48px; font-size: 14px; line-height: 1; color: var(--white); }

  .h-xl { font-size: 36px; }
  .h-lg { font-size: 32px; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "left" "center" "right";
    row-gap: 36px;
    padding-top: 108px;
  }
  .hero__hi { font-size: 20px; }
  .hero__title { font-size: 44px; margin-top: 12px; }
  .hero__left { display: contents; }
  .hero { grid-template-areas: none; }
  .hero__center, .hero__right { grid-area: auto; }
  .hero__hi { order: 1; }
  .hero__title { order: 2; margin-top: -24px; }
  .hero__center { order: 3; width: 100%; max-width: 338px; height: auto; aspect-ratio: 338 / 464; justify-self: center; }
  .hero__portrait { width: 100%; height: 100%; }
  .hero__glow { left: 4%; }
  .hero__right { order: 4; width: 100%; }
  .hero__lead { font-size: 22px; }
  .hero__sub { white-space: normal; font-size: 18px; }
  .hero__exp { order: 5; margin-top: 0; padding-top: 28px; border-top: 1px solid var(--line); }
  .brands { flex-wrap: wrap; }

  .about { margin-top: 64px; }
  .about__card { padding: 40px 20px; border-radius: 28px; }
  .about__label { margin-top: 32px; }
  .history__row { width: 100%; padding-right: 18px; }
  .history__year { position: absolute; right: 18px; top: 13px; }
  .history__role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .about__text { font-size: 15px; }
  .about__text p + p { margin-top: 18px; }

  .projects { margin-top: 72px; }
  .carousel { --card-w: 84vw; --card-gap: 16px; margin-top: 40px; }
  .project__media { border-radius: 16px; }
  .project__text { margin-top: 18px; font-size: 16px; }

  .services { margin-top: 72px; padding: 64px 0; }
  .services__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .services__grid { grid-template-columns: 1fr; margin-top: 40px; gap: 12px; }
  .service { min-height: 0; padding: 28px; }

  .dribbble { --s: 0.42; --spread: 0.72; margin-top: 48px; height: 650px; }
  .dribbble__stage { top: 250px; }
  .dribbble__content { padding-top: 24px; padding-inline: var(--gutter); }
  .dribbble__follow { font-size: 18px; }
  .dribbble__mark { width: 240px; height: auto; margin-top: 16px; }
  .dribbble__text { font-size: 17px; margin-top: 18px; }
  .dribbble__text br { display: none; }
  .dribbble__btn { margin-top: 28px; }

  .footer { margin-top: 24px; padding-bottom: 110px; }
  .footer__inner { padding-top: 64px; }
  .footer__title { font-size: 30px; }
  .footer__title br { display: none; }
  .footer__contacts { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 32px; }
  .contact__divider { width: 100%; height: 1px; }
  .contact__value { white-space: normal; line-height: 1.5; }
  .footer__bottom { margin-top: 36px; }
  .footer__name { bottom: -14px; width: 104%; }
}
