
/* =====================================================
   ALVI_JUNART
   COMPLETE PORTFOLIO STYLESHEET
   Original visual identity + responsive image fixes
   ===================================================== */

/* VARIABLES */

:root {
  --burgundy: #4b121f;
  --deep-burgundy: #2b0000;
  --dark: #1b0b10;
  --orange: #ff3b00;
  --pink: #ffb6c1;
  --light-pink: #ffc0cb;
  --cream: #f5e8d8;
  --white: #fffaf8;
  --muted: rgba(255, 250, 248, 0.72);
  --page-gutter: clamp(20px, 5vw, 76px);
}

/* GLOBAL */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body,
button,
input,
textarea {
  font-family: "Montserrat", sans-serif;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  cursor: none;
  color: var(--deep-burgundy);
  background: linear-gradient(
    -60deg,
    #4b121f,
    #ffb6c1,
    #661515,
    #ffc0cb
  );
  background-size: 300% 300%;
  animation: gradientMove 15s ease infinite;
}

body.sidebar-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: white;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* BACKGROUND ANIMATION */

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 70%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* SECTIONS */

section {
  min-height: 100vh;
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

section.show {
  opacity: 1;
  transform: translateY(0);
}

#design,
#photo {
  min-height: auto;
}

/* INTRO LOADER */

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090607;
  animation: fadeOut 0.8s ease 2.35s forwards;
}

.intro-loader.loader-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-logo {
  color: var(--orange);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(18px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: clamp(3px, 1vw, 10px);
  opacity: 0;
  transform: scale(0.65);
  animation: logoIn 1.35s ease forwards;
}

@keyframes logoIn {
  0% {
    opacity: 0;
    transform: scale(0.65);
    filter: blur(10px);
  }

  60% {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* CUSTOM CURSOR */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  color: var(--orange);
  background: linear-gradient(
    -45deg,
    #4b0000,
    #ffb6c1,
    #6b0000,
    #ffc0cb
  );
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 0, 5, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

/* NAVIGATION */

nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px var(--page-gutter);
}

.logo {
  color: var(--orange);
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  list-style: none;
}

nav a {
  text-decoration: none;
}

nav ul a,
nav ul button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border: 1px solid var(--orange);
  border-radius: 60px;
  background: transparent;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

nav ul a:hover,
nav ul button:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

/* BUTTONS */

button {
  padding: 13px 25px;
  border: 1px solid var(--orange);
  border-radius: 60px;
  background: transparent;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

button:hover {
  background: var(--orange);
  color: white;
  transform: translateY(-2px);
}

/* HERO INTRO */

.intro {
  position: relative;
  z-index: 2;
  width: min(900px, 90%);
  padding:
    clamp(70px, 11vh, 130px)
    var(--page-gutter)
    200px;
}

.intro h1 {
  font-size: clamp(30px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.065em;
}

.accent-text {
  color: var(--deep-burgundy);
}

.hero-description {
  max-width: 560px;
  margin-top: 22px;
  color: var(--deep-burgundy);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.8;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.buttons a {
  text-decoration: none;
}

.buttons button {
  min-width: 135px;
  padding: 17px 25px;
}

.buttons a:first-child button {
  background: var(--orange);
  color: white;
}

.buttons a:first-child button:hover {
  background: var(--deep-burgundy);
  border-color: var(--deep-burgundy);
}

/* SCROLLING TEXT */

.scroll-text {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(55px, 11vw, 150px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: rgba(255, 59, 0, 0.78);
  pointer-events: none;
}

.scroll-text-inner {
  display: inline-block;
  animation: waveMove 24s linear infinite;
}

.scroll-text-inner span {
  display: inline-block;
  animation: wave 3s ease-in-out infinite;
}

@keyframes waveMove {
  from {
    transform: translateX(0);
  }

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

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* BACKGROUND BLOB */

.blob {
  position: absolute;
  z-index: 0;
  width: min(55vw, 650px);
  aspect-ratio: 1;
  top: 48%;
  left: 72%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #2b0000;
  filter: blur(90px);
  opacity: 0.34;
  pointer-events: none;
}

/* PORTFOLIO SECTIONS */

.portfolio-section {
  padding:
    clamp(78px, 10vw, 145px)
    var(--page-gutter)
    clamp(90px, 12vw, 170px);
}

.portfolio-heading {
  max-width: 1000px;
  margin: 0 0 clamp(50px, 7vw, 95px);
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portfolio-heading h2 {
  color: var(--deep-burgundy);
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 900;
  letter-spacing: -0.085em;
  line-height: 0.92;
}

.portfolio-heading h2 span,
.category-heading h3 span,
.more-work-heading h3 span {
  color: var(--orange);
}

.section-description {
  max-width: 650px;
  margin-top: 25px;
  color: #4b121f;
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.65;
}

/* DESIGN PORTFOLIO */

#design {
  padding-top: clamp(85px, 10vw, 145px);
}

.design-featured {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap:
    clamp(24px, 4vw, 58px)
    clamp(18px, 3vw, 42px);
  align-items: start;
}

.design-card,
.archive-card {
  min-width: 0;
}

.design-card--one {
  grid-column: 1 / -1;
}

.design-card--two {
  width: 100%;
  max-width: 420px;
  margin: 20px auto 0;
}

.design-card--three {
  width: 100%;
  margin-top: clamp(10px, 3vw, 38px);
}

/* SHARED PROJECT IMAGES */

.project-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 240px;
  background: var(--burgundy);
  border-radius: 3px;
  transition:
    transform 0.45s ease,
    border-radius 0.45s ease;
}

.project-image > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

/* PROJECT 01 — VISUAL EXPERIMENTS */

.design-card--one .project-image {
  min-height: clamp(160px, 38vw, 460px);
}

.design-card--one .project-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PROJECT 02 — SONDER */

.design-card--two .project-image {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

.design-card--two .project-image > img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

/* PROJECT 03 — MOTORSPORT MAGAZINE */

.design-card--three .project-image {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
}

.design-card--three .project-image > img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

/* IMAGE FALLBACK */

.image-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(22px, 3.5vw, 48px);
  color: white;
  background: var(--burgundy);
}

.image-fallback > span {
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.image-fallback small {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
}

.placeholder--burgundy {
  background: linear-gradient(
    135deg,
    #2b0000,
    #7c1e35 75%,
    #a83e4c
  );
}

.placeholder--orange {
  background: linear-gradient(
    135deg,
    #a92c0b,
    #ff3b00 60%,
    #ff8d5e
  );
}

.placeholder--pink {
  background: linear-gradient(
    135deg,
    #d96b88,
    #ffb6c1 65%,
    #ffe0e4
  );
  color: #4b121f;
}

.placeholder--cream {
  background: linear-gradient(
    135deg,
    #e8d5bf,
    #f5e8d8 60%,
    #b98c72
  );
  color: #2b0000;
}

.placeholder--dark {
  background: linear-gradient(
    135deg,
    #080708,
    #35212b 65%,
    #704052
  );
}

/* PROJECT HOVER */

.design-card:hover .project-image,
.archive-card:hover .project-image {
  transform: translateY(-5px);
  border-radius: 18px;
}

/* PROJECT INFORMATION */

.project-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}

.project-info h3,
.project-info h4 {
  margin-bottom: 7px;
  color: var(--deep-burgundy);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.project-info p {
  color: #4b121f;
  font-size: 12px;
  line-height: 1.6;
}

.project-number {
  flex-shrink: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* MORE WORK HEADING */

.more-work-heading {
  margin: clamp(90px, 14vw, 180px) 0 38px;
}

.more-work-heading h3 {
  color: var(--deep-burgundy);
  font-size: clamp(30px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.more-work-heading > p:last-child {
  margin-top: 15px;
  color: #4b121f;
  font-size: 14px;
  line-height: 1.6;
}

/* DESIGN ARCHIVE */

.design-archive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}

.archive-card--wide {
  grid-column: 1 / -1;
}

/* PROJECT 04 — GREENPEACE */

.project-image--greenpeace {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
}

.project-image--greenpeace > img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

/* PROJECTS 05 & 06 */

.archive-card--regular .project-image {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
}

.archive-card--regular .project-image > img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.archive-card .project-info {
  padding-top: 12px;
}

.archive-card .project-info h4 {
  font-size: 16px;
}

/* PROJECT 07 — BUDKA */

.design-archive .archive-card--budka {
  grid-column: 1 / -1;
  width: min(100%, 1040px);
  justify-self: center;
  margin-top: clamp(8px, 2vw, 24px);
}

.project-image--budka {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
  border-radius: 5px;
}

.project-image--budka > img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.project-image--budka .image-fallback {
  background: linear-gradient(
    135deg,
    #171512,
    #45362a 55%,
    #795b43
  );
  color: #f5e8d8;
}

/* PHOTOGRAPHY */

#photo {
  padding-top: clamp(80px, 10vw, 145px);
}

.photo-heading {
  margin-bottom: clamp(65px, 9vw, 120px);
}

.photo-category {
  margin-top: clamp(65px, 10vw, 135px);
}

.photo-category:first-of-type {
  margin-top: 0;
}

.category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.category-heading .eyebrow {
  margin-bottom: 12px;
}

.category-heading h3 {
  color: var(--deep-burgundy);
  font-size: clamp(28px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.category-heading > p {
  max-width: 300px;
  color: #4b121f;
  font-size: 13px;
  line-height: 1.65;
}

/* PHOTO GRID — NATURAL PROPORTIONS */

.photo-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(0, 0.8fr);
  gap: clamp(14px, 2.5vw, 34px);
  align-items: center;
}

.photo-placeholder {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(43, 0, 0, 0.12);
  transition:
    transform 0.4s ease,
    border-radius 0.4s ease;
}

.photo-placeholder > img {
  position: relative;
  z-index: 1;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  max-height: 780px;
  object-fit: contain;
  object-position: center;
}

.photo-placeholder::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(25, 0, 8, 0.4),
    transparent 48%
  );
  pointer-events: none;
}

.photo-placeholder::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.photo-placeholder:hover {
  transform: translateY(-5px);
  border-radius: 18px;
}

/* PHOTO FALLBACK */

.photo-fallback {
  position: absolute;
  z-index: 3;
  left: clamp(14px, 2.5vw, 32px);
  right: 12px;
  bottom: clamp(14px, 2.5vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: white;
  pointer-events: none;
}

.photo-fallback > span {
  font-size: clamp(17px, 2vw, 30px);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.photo-fallback small {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* SPORTS */

.photo-grid--sports {
  grid-template-columns:
    minmax(0, 1.65fr)
    minmax(0, 0.8fr);
  align-items: center;
}

/* ROADS & PLACES */

.photo-grid--road {
  grid-template-columns:
    minmax(0, 0.95fr)
    minmax(0, 1.45fr);
  align-items: center;
}

.photo-grid--road .photo-placeholder--small {
  margin-top: 0;
}

/* MOMENTS & PEOPLE */

.photo-grid--people {
  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(0, 0.85fr);
  align-items: center;
}

/* CONCERTS — IF ADDED LATER */

.photo-grid--concerts {
  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(0, 1fr);
  align-items: center;
}

/* CONTACT */

#contact {
  min-height: auto;
  padding:
    clamp(90px, 12vw, 170px)
    var(--page-gutter);
  background: var(--deep-burgundy);
  color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  max-width: 1450px;
  margin: 0 auto;
  align-items: start;
}

.contact-info,
.contact-form {
  min-width: 0;
}

.contact-info h3 {
  font-size: clamp(35px, 5vw, 70px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.contact-info h3 span {
  color: var(--orange);
}

.contact-info p {
  max-width: 500px;
  margin-top: 25px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 250, 248, 0.8);
}

.contact-info p a {
  color: var(--pink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 35px;
}

.socials a {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.25s ease;
}

.socials a:hover {
  color: var(--pink);
}

/* CONTACT FORM */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 19px 20px;
  border: 1px solid rgba(255, 250, 248, 0.3);
  border-radius: 4px;
  outline: none;
  background: rgba(255, 255, 255, 0.04);
  color: white;
  font-size: 14px;
  transition:
    border-color 0.3s ease,
    background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 250, 248, 0.55);
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  padding: 17px 30px;
  background: var(--orange);
  color: white;
}

.form-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

/* SIDEBAR OVERLAY */

.overlay {
  position: fixed;
  z-index: 9997;
  inset: 0;
  background: rgba(12, 0, 5, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ABOUT SIDEBAR */

.sidebar {
  position: fixed;
  z-index: 9998;
  top: 0;
  right: 0;
  width: min(580px, 100%);
  height: 100dvh;
  overflow-y: auto;
  padding: clamp(35px, 5vw, 70px);
  background: var(--cream);
  color: var(--deep-burgundy);
  transform: translateX(105%);
  transition: transform 0.5s ease;
}

.sidebar.open {
  transform: translateX(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 29px;
}

.close-btn:hover {
  background: var(--orange);
  color: white;
}

.sidebar-hero {
  position: relative;
  padding-top: 35px;
}

.sidebar-hero h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.07em;
}

.sidebar-hero .big {
  margin-top: 25px;
  color: var(--orange);
  font-size: clamp(32px, 4vw, 55px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.07em;
}

.sidebar-hero .tag {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sidebar-img {
  display: block;
  width: 100%;
  max-height: 430px;
  margin-top: 30px;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}

.sidebar-hero > p:not(.eyebrow):not(.big):not(.tag) {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.85;
}

.sidebar-star {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 55px;
  height: 55px;
  background: var(--orange);
  clip-path: polygon(
    50% 0%,
    60% 35%,
    100% 50%,
    60% 65%,
    50% 100%,
    40% 65%,
    0% 50%,
    40% 35%
  );
}

.sidebar-services {
  margin-top: 95px;
}

.service-item {
  position: relative;
  padding: 23px 0;
  border-top: 1px solid rgba(43, 0, 0, 0.25);
}

.service-item h4 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.service-item p {
  max-width: 360px;
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.7;
}

.service-item span {
  display: block;
  margin-top: 12px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

/* ==============================================
   RESPONSIVE — TABLET
   ============================================== */

@media (max-width: 1000px) {
  nav {
    gap: 15px;
  }

  nav ul {
    gap: 8px;
  }

  nav ul a,
  nav ul button {
    padding: 11px 16px;
    font-size: 10px;
  }

  .design-featured {
    grid-template-columns: 1fr 1fr;
  }

  .contact-container {
    gap: 40px;
  }
}

/* ==============================================
   RESPONSIVE — SMALL TABLET
   ============================================== */

@media (max-width: 850px) {
  .intro {
    width: 100%;
  }

  .design-card--three {
    margin-top: 0;
  }

  .photo-grid--road,
  .photo-grid--people,
  .photo-grid--concerts {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .category-heading > p {
    max-width: 500px;
  }
}

/* ==============================================
   RESPONSIVE — MOBILE
   ============================================== */

@media (max-width: 600px) {
  :root {
    --page-gutter: 20px;
  }

  body {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-top: 24px;
  }

  nav ul {
    gap: 8px;
  }

  nav ul a,
  nav ul button {
    padding: 10px 13px;
    font-size: 9px;
  }

  .intro {
    padding:
      80px var(--page-gutter) 175px;
  }

  .intro h1 {
    font-size: clamp(30px, 8vw, 48px);
  }

  .hero-description {
    font-size: 14px;
  }

  .buttons {
    gap: 10px;
  }

  .buttons button {
    min-width: 0;
    padding: 14px 17px;
    font-size: 10px;
  }

  .scroll-text {
    font-size: 68px;
  }

  .blob {
    width: 90vw;
    left: 65%;
    filter: blur(60px);
  }

  .portfolio-section {
    padding:
      80px var(--page-gutter) 100px;
  }

  .portfolio-heading h2 {
    font-size: clamp(42px, 12vw, 68px);
  }

  .section-description {
    font-size: 15px;
  }

  /* DESIGN */

  .design-featured {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .design-card--one,
  .design-card--two,
  .design-card--three {
    grid-column: auto;
    margin-top: 0;
  }

  .design-card--two {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .design-card--two .project-image,
  .design-card--three .project-image {
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .design-card--two .project-image > img,
  .design-card--three .project-image > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  /* ARCHIVE */

  .more-work-heading {
    margin-top: 90px;
  }

  .design-archive {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .archive-card--wide,
  .design-archive .archive-card--budka {
    grid-column: auto;
  }

  .design-archive .archive-card--budka {
    width: 100%;
  }

  .archive-card--regular .project-image,
  .archive-card--budka .project-image--budka {
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .archive-card--regular .project-image > img,
  .archive-card--budka .project-image--budka > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }

  /* PHOTOGRAPHY */

  .photo-grid,
  .photo-grid--sports,
  .photo-grid--road,
  .photo-grid--people,
  .photo-grid--concerts {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .photo-grid .photo-placeholder {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
  }

  .photo-grid .photo-placeholder > img {
    position: relative;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .photo-category {
    margin-top: 80px;
  }

  /* CONTACT */

  #contact {
    padding: 90px var(--page-gutter);
  }

  .contact-info h3 {
    font-size: 42px;
  }

  /* SIDEBAR */

  .sidebar {
    padding: 30px 24px;
  }

  .sidebar-star {
    right: 4px;
  }
}

/* ==============================================
   ACCESSIBILITY
   ============================================== */

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