/* Smooth Overlay */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  background: #000;
  border-radius: 16px;
  box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.7);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.95);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1.2);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.video-modal video {
  width: auto;
  height: 90vh;
  aspect-ratio: 9 / 16;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.video-modal-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.portfolio-video.fullscreen-916 {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: #000 !important;
  z-index: 9999 !important;
  width: auto !important;
  height: 90vh !important;
  aspect-ratio: 9 / 16 !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.7);
}

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

:root {
  --primary-color: #c6a75e;
  --secondary-color: #0d0d0d;
  --soft-dark: #141414;
  --accent-color: #c6a75e;
  --text-color: #f5f5f5;
  --text-secondary: #a1a1aa;
  --border-color: #232323;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-x: none;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

.navbar {
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  width: 100%;
}

.nav-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.25rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

.hero {
  background: var(--secondary-color);
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.9;
  will-change: transform;
}

.firefly-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.78);
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.firefly {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--firefly-size, 10px);
  height: var(--firefly-size, 10px);
  border-radius: 999px;
  background: radial-gradient(circle,
      rgba(255, 248, 204, 0.4) 0%,
      rgba(255, 215, 115, 0.25) 38%,
      rgba(255, 170, 56, 0.1) 65%,
      rgba(255, 170, 56, 0) 100%);
  box-shadow:
    0 0 6px rgba(255, 214, 102, 0.4),
    0 0 12px rgba(255, 188, 74, 0.3),
    0 0 20px rgba(255, 160, 48, 0.15);
  transform: translate3d(0, 0, 0);
  opacity: 0;
  will-change: transform, opacity;
  filter: saturate(1.1);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: slideUp 1s ease-out;
  width: min(100%, 56rem);
  padding: 0 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 5.5rem);
  margin-bottom: 0;
  letter-spacing: 2px;
  color: var(--text-color);
  line-height: 1.1;
  user-select: none;
  -webkit-user-select: none;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--accent-color);
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
  user-select: none;
  -webkit-user-select: none;
}

.hero-description {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  user-select: none;
  -webkit-user-select: none;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-scroll-btn {
  position: absolute;
  left: 50%;
  bottom: max(5rem, calc(env(safe-area-inset-bottom, 0px) + 3.5rem));
  transform: translateX(-50%);
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-tertiary {
  background: var(--soft-dark);
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-tertiary:hover {
  background: var(--accent-color);
  color: var(--secondary-color);
  border-color: var(--accent-color);
}

#showreelBtn {
  position: relative;
  background: var(--soft-dark);
  color: #fff;
  border: none;
  z-index: 1;
  overflow: hidden;
  padding: 0.85rem 2.5rem;
}

#showreelBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  background: conic-gradient(transparent,
      rgba(198, 167, 94, 0.2),
      rgba(198, 167, 94, 0.8),
      rgba(198, 167, 94, 0.2),
      transparent 30%);
  transform: translate(-50%, -50%);
  animation: rotate 4s linear infinite;
  z-index: -2;
}

#showreelBtn::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--soft-dark);
  border-radius: 50px;
  z-index: -1;
  transition: var(--transition);
}

#showreelBtn:hover::after {
  background: var(--primary-color);
}

#showreelBtn:hover {
  color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(198, 167, 94, 0.4);
}

.portfolio {
  padding: 6rem 0;
  background: var(--secondary-color);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border: 2px solid var(--border-color);
  background: var(--soft-dark);
  color: var(--text-secondary);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  text-transform: capitalize;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background: rgba(198, 167, 94, 0.08);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: var(--soft-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  opacity: 1;
  animation: fadeIn 0.5s ease-out;
  box-shadow: 0 4px 15px rgba(212, 165, 255, 0.1);
}

.portfolio-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(212, 165, 255, 0.25);
  transform: translateY(-5px);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.portfolio-poster-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.portfolio-poster-thumb.is-hidden {
  opacity: 0;
}

.portfolio-video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9 / 16;
  touch-action: pan-y;
  transition: var(--transition);
}

/* Style and center the play button */
.portfolio-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Perfectly centers the button */
  z-index: 10;
  /* Ensures it stays on top of the thumbnail */

  /* Appearance styling (customize as needed) */
  width: 64px;
  height: 64px;
  background-color: rgba(0, 0, 0, 0.6);
  /* Semi-transparent dark background */
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.portfolio-play-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(198, 167, 94, 0.95);
  pointer-events: none;
}

/* Style the SVG play icon inside the button */
.portfolio-play-button svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  /* White play icon */
  margin-left: 4px;
  /* Optically centers the play triangle */
}

/* Play button hover effect */
.portfolio-play-button:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
  /* Slight zoom on hover */
}

.portfolio-play-button:focus-visible {
  background: rgba(13, 13, 13, 0.88);
  transform: translate(-50%, -50%) scale(1.04);
}

.portfolio-play-button:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
}

/* Handle the hidden state triggered by your script.js */
.portfolio-play-button.is-hidden {
  opacity: 0;
  pointer-events: none;
  /* Prevents clicks when video is playing */
}

.portfolio-pause-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  display: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
}

.portfolio-pause-overlay.is-active {
  display: block;
  pointer-events: auto;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-color);
  text-wrap: balance;
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 65ch;
}

.about {
  padding: 6rem 0;
  background: #383838ba;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: ivory;
}

.skills h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.skill-tag {
  padding: 0.6rem 1.2rem;
  background: #0d0d0d;
  border: 1px solid var(--primary-color);
  border-radius: 25px;
  color: whitesmoke;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.skill-tag:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.clients {
  padding: 6rem 0;
  background: var(--secondary-color);
}

.contact {
  padding: 6rem 0;
  background: #383838ba;
}

.contact-content,
.contact-subtitle,
.contact-info {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-info {
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.contact-item h4 {
  margin-bottom: 0.3rem;
  color: var(--text-color);
}

.contact-item a {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.clients-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  height: 120px;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 165, 255, 0.1);
}

.client-logo:hover {
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 8px 25px rgba(212, 165, 255, 0.25);
  transform: translateY(-3px);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.8;
  transition: var(--transition);
}

.client-logo:hover img {
  opacity: 1;
}

.social-links {
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(250, 251, 255, 0.5), rgba(232, 228, 243, 0.3));
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.social-links h3 {
  margin-bottom: 1.5rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(212, 165, 255, 0.15);
}

.social-icon:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 6px 15px rgba(212, 165, 255, 0.35);
}

.footer {
  padding: 2rem 0;
  background: rgba(250, 251, 255, 0);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-secondary);
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1360px;
    padding: 0 32px;
  }

  .nav-menu {
    gap: 2.5rem;
  }

  .hero-content {
    width: min(100%, 62rem);
  }

  .hero-title {
    font-size: clamp(4.5rem, 7vw, 6.75rem);
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }

  .hero-description {
    max-width: 42rem;
    font-size: 1.1rem;
  }

  .hero-scroll-btn {
    bottom: max(5.75rem, calc(env(safe-area-inset-bottom, 0px) + 4rem));
  }

  .portfolio,
  .about,
  .clients,
  .contact {
    padding: 7.5rem 0;
  }

  .section-title {
    margin-bottom: 4rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
  }

  .portfolio-info {
    padding: 1.75rem;
  }

  .about-content {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 5rem;
  }

  .clients-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .client-logo {
    width: 100%;
    height: 132px;
  }

  .contact-info {
    gap: 3rem;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1520px;
    padding: 0 40px;
  }

  .hero-content {
    width: min(100%, 70rem);
  }

  .hero-title {
    font-size: clamp(5.25rem, 6vw, 7.75rem);
  }

  .hero-subtitle {
    font-size: 1.45rem;
  }

  .hero-description {
    max-width: 48rem;
    font-size: 1.15rem;
  }

  .hero-buttons {
    margin-bottom: 2rem;
  }

  .btn,
  #showreelBtn,
  .hero-scroll-btn {
    font-size: 0.95rem;
  }

  .portfolio,
  .about,
  .clients,
  .contact {
    padding: 8.5rem 0;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(420px, 1fr));
    gap: 2.5rem;
  }

  .portfolio-info h3 {
    font-size: 1.65rem;
  }

  .portfolio-info p,
  .about-text p,
  .clients-subtitle,
  .contact-subtitle {
    font-size: 1.1rem;
  }

  .clients-grid {
    gap: 2rem;
  }

  .client-logo {
    height: 144px;
    padding: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-video,
  .portfolio-video,
  .portfolio-item:hover .portfolio-video,
  .portfolio-item:hover,
  #showreelBtn::before {
    transform: none !important;
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-wrapper {
    justify-content: space-between;
    align-items: center;
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px;
    flex-direction: column;
    background-color: rgba(10, 14, 39, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    gap: 0;
    justify-content: center;
    align-items: center;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    display: block;
    padding: 1.5rem;
  }

  .nav-link::after {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
    padding: 0 0.5rem;
  }

  .hero-content {
    width: min(100%, 32rem);
    padding: 0 1rem;
  }

  .portfolio,
  .about,
  .clients,
  .contact {
    padding: 4.5rem 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn,
  #showreelBtn {
    width: min(100%, 20rem);
  }

  h2 {
    font-size: 2rem;
  }

  .section-title::after {
    width: 50px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }

  .client-logo {
    height: 100px;
    padding: 1rem;
  }

  .filters {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .socials {
    gap: 1rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .portfolio-play-button {
    display: inline-flex;
  }

  .portfolio-pause-overlay.is-active {
    display: block;
  }
}

@media (min-width: 769px) {
  .portfolio-pause-overlay {
    display: none !important;
    pointer-events: none !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 13vw, 3.2rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-scroll-btn {
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    bottom: max(4rem, calc(env(safe-area-inset-bottom, 0px) + 2.75rem));
  }

  h2 {
    font-size: 1.5rem;
  }

  .portfolio,
  .about,
  .clients,
  .contact {
    padding: 4rem 0;
  }

  .portfolio-image {
    aspect-ratio: 9 / 16;
  }

  .portfolio-info {
    padding: 1.25rem;
  }

  .portfolio-info h3 {
    font-size: 1.2rem;
    line-height: 1.3;
  }

  .portfolio-info p {
    font-size: 0.92rem;
  }

  .clients-subtitle,
  .contact-subtitle {
    font-size: 1rem;
    max-width: 32ch;
    margin-left: auto;
    margin-right: auto;
  }

  .skill-tag {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }

  .portfolio-video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .about-text p {
    font-size: 1rem;
  }

  .skill-tags {
    justify-content: center;
  }
}