@font-face {
  font-family: "Suisse Intl Mono Regular";
  src: url("assets/suisse-intl-mono-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

/* Custom Scrollbar - 3px width, transparent background, shorter thumb */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(136, 136, 136, 0.6);
  border-radius: 0;
  border: none;
  background-clip: padding-box;
  border-top: 33vh solid transparent;
  border-bottom: 33vh solid transparent;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(85, 85, 85, 0.8);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(136, 136, 136, 0.6) transparent;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Inter Tight", sans-serif;
  line-height: 1.6;
  background-color: transparent;
  transition: background-color 1.5s ease;
}

/* Prevent font flash by ensuring font is loaded */
body {
  opacity: 0;
  animation: fadeIn 0.3s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

body.loaded {
  background-color: transparent;
}

.logo {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 1.5s ease;
  z-index: 10;
}

/* Responsive logo */
@media (max-width: 768px) {
  .logo {
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .logo {
    top: 1rem;
    left: 1rem;
    font-size: 1.1rem;
  }
}

body.loaded .logo {
  color: #000;
}

body.menu-open .logo {
  color: #fff;
  z-index: 102;
}

/* Hamburger Menu */
.hamburger {
  position: fixed;
  top: calc(2rem + 4px);
  right: 2rem;
  width: 40px;
  height: 30px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  z-index: 1000;
}

/* Responsive hamburger */
@media (max-width: 768px) {
  .hamburger {
    top: calc(1.5rem + 4px);
    right: 1.5rem;
    width: 36px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .hamburger {
    top: calc(1rem + 4px);
    right: 1rem;
    width: 36px;
    height: 28px;
    gap: 5px;
    min-width: 36px;
    min-height: 36px;
    padding: 4px;
    margin: -4px;
  }

  .hamburger-line {
    width: 32px;
    height: 2px;
  }
}

/* Diagonal white line swipe effect on hover */
.hamburger::before {
  content: "";
  position: absolute;
  top: -100%;
  right: -100%;
  width: 200%;
  height: 300%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 45%,
    rgba(255, 255, 255, 0.9) 48%,
    rgba(255, 255, 255, 0.9) 52%,
    transparent 55%,
    transparent 100%
  );
  transform: translateX(100%);
  transition: transform 2.5s ease;
  pointer-events: none;
  z-index: 10;
}

.hamburger:hover::before {
  transform: translateX(-100%);
}

body.menu-fully-open .hamburger::before {
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 48%,
    rgba(0, 0, 0, 0.9) 49%,
    rgba(0, 0, 0, 0.9) 51%,
    transparent 52%,
    transparent 100%
  );
}

.hamburger-line {
  width: 40px;
  height: 2px;
  background-color: #fff;
  transition: background-color 1.5s ease,
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 1;
}

body.loaded .hamburger-line {
  background-color: #000;
}

body.loaded.in-work-section:not(.menu-open) .hamburger-line {
  background-color: #fff;
}

body.loaded.in-contact-section:not(.menu-open) .hamburger-line {
  background-color: #fff;
}

body.menu-open .hamburger-line {
  background-color: #fff;
}

/* Top and Bottom lines - initially hidden */
.hamburger-line.top,
.hamburger-line.bottom {
  opacity: 0;
  transform: scaleX(0);
}

/* Middle line - initially visible but not drawn yet */
.hamburger-line.middle {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  position: absolute;
}

/* Animation on page load */
.hamburger.animate .hamburger-line.middle {
  animation: drawMiddle 1s ease-out forwards,
    fadeOutMiddle 0.3s ease-out 1s forwards;
}

.hamburger.animate .hamburger-line.top {
  animation: showAndMoveTop 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

.hamburger.animate .hamburger-line.bottom {
  animation: showAndMoveBottom 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

/* Middle line: draw from left to right */
@keyframes drawMiddle {
  to {
    transform: scaleX(1);
  }
}

/* Middle line: fade out after drawing */
@keyframes fadeOutMiddle {
  to {
    opacity: 0;
  }
}

/* Top line: appear, move up, then back to closer position */
@keyframes showAndMoveTop {
  0% {
    opacity: 1;
    transform: scaleX(1) translateY(0);
  }
  50% {
    opacity: 1;
    transform: scaleX(1) translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: scaleX(1) translateY(-3px);
  }
}

/* Bottom line: appear, move down, then back to closer position */
@keyframes showAndMoveBottom {
  0% {
    opacity: 1;
    transform: scaleX(1) translateY(0);
  }
  50% {
    opacity: 1;
    transform: scaleX(1) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scaleX(1) translateY(3px);
  }
}

/* Click animation: lines move away using transitions */
.hamburger.moving-away .hamburger-line.top {
  transform: scaleX(1) translateY(-12px) !important;
}

.hamburger.moving-away .hamburger-line.bottom {
  transform: scaleX(1) translateY(12px) !important;
}

.hamburger.moving-back .hamburger-line.top,
.hamburger.moving-back .hamburger-line.bottom {
  transform: scaleX(1) translateY(0) !important;
}

/* Converge lines into one when menu is open */
body.menu-open .hamburger-line.top,
body.menu-open .hamburger-line.bottom {
  position: absolute;
  transform: scaleX(1) translateY(0) !important;
  opacity: 1 !important;
}

/* Elastic band expanding animation when closing menu */
.hamburger.closing .hamburger-line.top,
.hamburger.closing .hamburger-line.bottom {
  transition: none !important;
}

.hamburger.closing .hamburger-line.top {
  position: absolute;
  animation: elasticExpandTop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55)
    forwards;
}

.hamburger.closing .hamburger-line.bottom {
  position: absolute;
  animation: elasticExpandBottom 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55)
    forwards;
}

@keyframes elasticExpandTop {
  0% {
    transform: scaleX(1) translateY(0);
  }
  60% {
    transform: scaleX(1) translateY(-14px);
  }
  80% {
    transform: scaleX(1) translateY(-10px);
  }
  100% {
    transform: scaleX(1) translateY(-12px);
  }
}

@keyframes elasticExpandBottom {
  0% {
    transform: scaleX(1) translateY(0);
  }
  60% {
    transform: scaleX(1) translateY(14px);
  }
  80% {
    transform: scaleX(1) translateY(10px);
  }
  100% {
    transform: scaleX(1) translateY(12px);
  }
}

/* Elastic band returning animation */
.hamburger.returning .hamburger-line.top,
.hamburger.returning .hamburger-line.bottom {
  transition: none !important;
}

.hamburger.returning .hamburger-line.top {
  position: relative;
  animation: elasticReturnTop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55)
    forwards;
}

.hamburger.returning .hamburger-line.bottom {
  position: relative;
  animation: elasticReturnBottom 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55)
    forwards;
}

@keyframes elasticReturnTop {
  0% {
    transform: scaleX(1) translateY(-12px);
  }
  60% {
    transform: scaleX(1) translateY(-1px);
  }
  80% {
    transform: scaleX(1) translateY(-4px);
  }
  100% {
    transform: scaleX(1) translateY(-3px);
  }
}

@keyframes elasticReturnBottom {
  0% {
    transform: scaleX(1) translateY(12px);
  }
  60% {
    transform: scaleX(1) translateY(1px);
  }
  80% {
    transform: scaleX(1) translateY(4px);
  }
  100% {
    transform: scaleX(1) translateY(3px);
  }
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.menu-overlay.active {
  pointer-events: auto;
}

.menu-overlay.active {
  transform: translateY(0);
}

.menu-items {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

/* Responsive menu items container */
@media (max-width: 768px) {
  .menu-items {
    left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .menu-items {
    left: 1rem;
  }
}

.menu-item {
  font-family: "Suisse Intl Mono Regular", monospace;
  font-size: 4.5vw;
  font-weight: normal;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateX(-20px);
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
  position: relative;
}

.menu-item::before {
  content: ">";
  position: absolute;
  left: -0.8em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -ms-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
}

.menu-item::after {
  content: "•";
  display: inline-block;
  font-size: 0.4em;
  vertical-align: middle;
  margin-left: 0.5em;
  transition: opacity 0.3s ease;
}

.menu-item:hover {
  color: #00ab84;
}

.menu-overlay.active .menu-item {
  opacity: 1;
  transform: translateX(0);
}

.menu-overlay.active .menu-item:hover {
  transform: translateX(20px);
  color: #00ab84;
}

.menu-overlay.active .menu-item:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  -webkit-transform: translateY(-50%) translateX(0);
  -moz-transform: translateY(-50%) translateX(0);
  -ms-transform: translateY(-50%) translateX(0);
  -o-transform: translateY(-50%) translateX(0);
}

.menu-overlay.active .menu-item:hover::after {
  opacity: 0;
}

.menu-overlay.active .menu-item:nth-child(1) {
  transition-delay: 0.1s;
}

.menu-overlay.active .menu-item:nth-child(2) {
  transition-delay: 0.2s;
}

.menu-overlay.active .menu-item:nth-child(3) {
  transition-delay: 0.3s;
}

.menu-overlay.active .menu-item:nth-child(4) {
  transition-delay: 0.4s;
}

/* Add extra dot to contact item */
.menu-item:nth-child(4)::after {
  content: "• •";
  transition: transform 0.3s ease, opacity 0.3s ease, writing-mode 0.3s ease,
    letter-spacing 0.3s ease;
  transform-origin: center;
  display: inline-block;
  letter-spacing: 0.1em;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
}

/* Disable arrow animation for contact item */
.menu-overlay.active .menu-item:nth-child(4):hover {
  transform: translateX(0);
}

.menu-overlay.active .menu-item:nth-child(4):hover::before {
  opacity: 0;
}

.menu-overlay.active .menu-item:nth-child(4):hover::after {
  opacity: 1;
  writing-mode: vertical-lr;
  transform: rotate(-45deg);
  letter-spacing: 0.08em;
}

/* Hamburger z-index when menu is open */
body.menu-open .hamburger {
  z-index: 1001;
}

/* Responsive menu items */
@media (max-width: 768px) {
  .menu-item {
    font-size: 10vw;
  }
}

@media (max-width: 480px) {
  .menu-item {
    font-size: 9vw;
    line-height: 1.3;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* London Clock */
.london-clock {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  font-family: "Suisse Intl Mono Regular", monospace;
  font-size: 0.8vw;
  font-weight: normal;
  color: #fff;
  z-index: 10;
  transition: color 1.5s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 3.6s;
}

body.loaded .london-clock {
  color: #000;
}

@media (max-width: 768px) {
  .london-clock {
    font-size: 2.5vw;
  }
}

/* Hero Text */
.hero-container {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.9;
  z-index: 10;
}

/* Responsive hero container */
@media (max-width: 768px) {
  .hero-container {
    left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-container {
    left: 1rem;
    padding-right: 1rem;
  }
}

.hero-text {
  font-family: "Suisse Intl Mono Regular", monospace;
  font-size: 4.5vw;
  font-weight: normal;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  transition: color 1.5s ease;
  margin-bottom: 0.12em;
}

body.loaded .hero-text {
  color: #000;
}

.hero-text:nth-child(1) {
  animation-delay: 2.2s;
}

.hero-text:nth-child(2) {
  animation-delay: 2.4s;
}

.hero-text:nth-child(3) {
  animation-delay: 2.6s;
}

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

/* Responsive text size */

@media (max-width: 768px) {
  .hero-text {
    font-size: 7.5vw;
    line-height: 0.95;
  }
}

@media (max-width: 480px) {
  .hero-text {
    font-size: 10vw !important;
    line-height: 1 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Tagline */
.tagline {
  font-family: "Suisse Intl Mono Regular", monospace;
  font-size: 1.5vw;
  font-weight: normal;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  transition: color 1.5s ease;
  margin-top: 1.5em;
  letter-spacing: 0.05em;
}

body.loaded .tagline {
  color: #000;
}

.tagline {
  animation-delay: 2.8s;
}

/* Responsive tagline */
@media (max-width: 768px) {
  .tagline {
    font-size: 2.5vw;
    margin-top: 1.2em;
  }
}

@media (max-width: 480px) {
  .tagline {
    font-size: 5vw;
    margin-top: 1em;
    letter-spacing: 0.03em;
    max-width: 60%;
    line-height: normal;
  }
}

/* Responsive London Clock */
@media (max-width: 768px) {
  .london-clock {
    font-size: 1.5vw;
    bottom: 1.5rem;
    left: 1.5rem;
  }
}

@media (max-width: 576px) {
  .london-clock {
    font-size: 2.5vw;
  }
}

@media (max-width: 480px) {
  .london-clock {
    font-size: 3.2vw;
    bottom: 1rem;
    left: 1rem;
  }
}

/* Work Section */
.work-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #000;
  will-change: transform;
  overflow: hidden;
}

/* Rainbow circle effect */
.rainbow-circle {
  width: 20px;
  height: 20px;
  border-radius: 40%;
  opacity: 0;
  margin: -19px auto;
  transition: transform 1s cubic-bezier(0.14, 0.15, 0.13, 0.99);
  position: absolute;
  pointer-events: none;
}

/* Responsive work section */
@media (max-width: 768px) {
  .work-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: auto;
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .work-section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    height: auto;
    min-height: auto;
    transform: none !important;
  }
}

.work-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 10;
}

.work-heading {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.4vw;
  font-weight: 600;
  color: #fff;
  text-align: left;
  margin-bottom: 2rem;
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  .work-heading {
    font-size: 1.6vw;
  }
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 2rem;
  perspective: 1000px;
}

.work-card {
  background-color: transparent;
  border-radius: 0;
  overflow: visible;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.work-card:hover {
  box-shadow: none;
}

.work-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background-color: #1a1a1a;
  position: relative;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-card-image img {
  transform: scale(1.1);
}

.work-card-content {
  padding: 0.5rem 0 0 0;
}

.work-card-client {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.work-card-description {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.work-item {
  font-family: "Inter Tight", sans-serif;
  font-size: 4.1vw;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translate3d(3.3333rem, 0, 0);
  will-change: transform, opacity;
  line-height: normal;
}

/* Responsive work */
@media (max-width: 768px) {
  .work-heading {
    font-size: 3.5vw;
    margin-bottom: 1.5rem;
  }
  .work-item {
    font-size: 11vw;
    transform: translate3d(2rem, 0, 0);
  }

  .work-cards {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .work-card {
    opacity: 1;
    transform: translate3d(0, 0, 0) !important;
  }

  .work-card-image {
    height: 220px;
  }

  .work-card-content {
    padding: 0.5rem 0 0 0;
  }

  .work-card-client {
    font-size: 1.1rem;
  }

  .work-card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .work-heading {
    font-size: 5vw;
    margin-bottom: 1.2rem;
  }
  .work-item {
    font-size: 10vw;
    line-height: 1.1;
    transform: translate3d(1.5rem, 0, 0);
  }

  .work-cards {
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .work-card-image {
    height: 200px;
  }

  .work-card-content {
    padding: 0.5rem 0 0 0;
  }

  .work-card-client {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .work-card-description {
    font-size: 0.85rem;
  }
}

/* Services Section */
.services-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #f3f3f3;
  will-change: transform;
}

/* Responsive services section */
@media (max-width: 768px) {
  .services-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: 100vh;
    min-height: 100vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    height: 100vh;
    min-height: 100vh;
  }
}

.services-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}

.services-heading {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.4vw;
  font-weight: 600;
  color: #f46c04;
  text-align: left;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translate3d(3.3333rem, 0, 0);
  will-change: transform, opacity;
}

@media (max-width: 1024px) {
  .services-heading {
    font-size: 1.6vw;
  }
}

/* Adjust transform for mobile */
@media (max-width: 768px) {
  .services-heading {
    transform: translate3d(2rem, 0, 0);
  }
}

@media (max-width: 480px) {
  .services-heading {
    transform: translate3d(1.8rem, 0, 0);
  }
}

.service-item {
  font-family: "Inter Tight", sans-serif;
  font-size: 4.1vw;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #000;
  text-align: left;
  opacity: 0;
  transform: translate3d(3.3333rem, 0, 0);
  will-change: transform, opacity;
  line-height: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Adjust transform for mobile */
@media (max-width: 768px) {
  .service-item {
    transform: translate3d(2rem, 0, 0);
  }
}

@media (max-width: 480px) {
  .service-item {
    transform: translate3d(1.8rem, 0, 0);
  }
}

/* Responsive services */
@media (max-width: 768px) {
  .services-heading {
    font-size: 3.5vw;
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .service-item {
    font-size: 6vw;
    margin-bottom: 0.5rem;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 480px) {
  .services-container {
    margin-left: -0.3rem;
  }

  .services-heading {
    font-size: 5vw;
    margin-bottom: 1.2rem;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  .service-item {
    font-size: 7.2vw;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* About Section */
.about-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  padding-right: 2rem;
  background-color: #ff6b00;
  will-change: transform;
}

/* Responsive about section */
@media (max-width: 768px) {
  .about-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: auto;
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    height: auto;
    min-height: auto;
  }
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 10;
}

.about-heading {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.4vw;
  font-weight: 600;
  color: #fff;
  text-align: left;
  margin-bottom: 2rem;
}

/* Marquee Container */
.marquee-container {
  width: 100%;
  margin-top: 3rem;
}

/* Marquee Styles from keep-scrollin */
.marquee {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: clamp(2.7rem, 2.184rem + 2.574vw, 5.4rem);
  font-weight: 600;
  height: calc(102px + 0.6rem);
  overflow: hidden;
  position: relative;
  width: 100%;
  /* Ensure content is visible during transforms */
  contain: layout style paint;
}

.marquee .track {
  height: 100%;
  overflow: hidden;
  padding: 1.2rem 0;
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  min-width: 300vw;
  /* Firefox-specific rendering fixes */
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Firefox-specific fix for empty marquee lines */
@-moz-document url-prefix() {
  .marquee .track {
    min-width: 400vw;
  }
}

.marquee .-focus {
  color: #1a1a1a;
  font-weight: 600;
}

/* Approach text masked lines animation (matching masked-lines-with-splittext) */
.approach-line-wrapper {
  overflow: hidden;
  display: block;
  line-height: inherit;
}

.approach-line-text {
  display: block;
  will-change: transform;
}

@media (max-width: 1024px) {
  .approach-line-text {
    font-size: 1.6vw;
  }
}

@media (max-width: 768px) {
  .approach-line-text {
    font-size: 3.5vw;
  }
}

@media (max-width: 480px) {
  .approach-line-text {
    font-size: 5vw;
  }
}

.about-item {
  font-family: "Inter Tight", sans-serif;
  text-align: left;
  margin-bottom: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-item-title {
  font-size: 4.1vw;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: normal;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-item-description {
  font-size: 1.2vw;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 60%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Responsive about */
@media (max-width: 768px) {
  .about-heading {
    font-size: 4.5vw;
    margin-bottom: 1.5rem;
  }
  .about-item {
    margin-bottom: 0.5rem;
  }
  .about-item-title {
    font-size: 11vw;
    margin-bottom: 0.4rem;
    line-height: 1.1;
  }
  .about-item-description {
    font-size: 4vw;
    max-width: 100%;
    line-height: 1.5;
  }

  .marquee-container {
    margin-top: 2rem;
  }

  .marquee {
    height: calc(80px + 0.6rem);
  }

  .marquee .track {
    padding: 1rem 0;
  }
}

@media (max-width: 480px) {
  .about-container {
    margin-left: -0.3rem;
  }

  .about-heading {
    font-size: 5vw;
    margin-bottom: 1.2rem;
  }
  .about-item {
    margin-bottom: 0.4rem;
  }
  .about-item-title {
    font-size: 7.2vw;
    margin-bottom: 0.3rem;
    line-height: 1.1;
  }
  .about-item-description {
    font-size: 4.2vw;
    max-width: 100%;
    line-height: 1.5;
  }

  .marquee-container {
    margin-top: 1.5rem;
    margin-left: 0.3rem;
    width: calc(100% + 2rem);
    margin-right: -1rem;
  }

  .marquee {
    height: calc(60px + 0.6rem);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .marquee .track {
    padding: 0.8rem 0;
  }
}

/* Contact Section */
.contact-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #000;
  overflow: hidden;
}

/* Text selection effect for contact section */
.contact-section ::selection {
  background-color: #fff;
  color: #000;
}

.contact-section ::-moz-selection {
  background-color: #fff;
  color: #000;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  position: relative;
  z-index: 10;
}

.contact-heading {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.4vw;
  font-weight: 600;
  color: #fff;
  text-align: left;
  margin-bottom: 5rem;
}

/* Shuffle button styling for contact heading */
.contact-heading.shuffle-button {
  display: inline-flex;
  padding: 0 0 0.4em;
  overflow: hidden;
  position: relative;
  align-items: center;
  line-height: 1.3;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Keep first letter capitalized */
.contact-heading .char-uppercase {
  text-transform: uppercase;
}

/* Text container */
.contact-heading .text-container {
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Each line of text */
.contact-heading .text-line {
  line-height: 1.5;
  display: flex;
}

/* Position the duplicate lines absolutely */
.contact-heading .text-line:nth-child(2) {
  bottom: 100%;
  position: absolute;
}

.contact-heading .text-line:nth-child(3) {
  bottom: 200%;
  position: absolute;
}

/* Individual character styling */
.contact-heading .char {
  display: inline-block;
  white-space: pre;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Hover animation - move all text down by 100% */
.contact-heading.shuffle-button:hover .text-line:nth-child(1) .char {
  transform: translate3d(0, 100%, 0);
}

.contact-heading.shuffle-button:hover .text-line:nth-child(2) .char {
  transform: translate3d(0, 100%, 0);
}

.contact-heading.shuffle-button:hover .text-line:nth-child(3) .char {
  transform: translate3d(0, 100%, 0);
}

/* Keep "e", "s", "a" static (positions 2, 5, 8) */
.contact-heading.shuffle-button:hover .text-line .char:nth-child(2),
.contact-heading.shuffle-button:hover .text-line .char:nth-child(5),
.contact-heading.shuffle-button:hover .text-line .char:nth-child(8) {
  transform: translate3d(0, 0, 0);
}

/* Different speeds and delays for each character */
.contact-heading .char:nth-child(1) {
  transition-delay: 0.02s;
  transition-duration: 0.9s;
}
.contact-heading .char:nth-child(2) {
  transition-delay: 0.04s;
  transition-duration: 0.5s;
}
.contact-heading .char:nth-child(3) {
  transition-delay: 0.06s;
  transition-duration: 0.4s;
}
.contact-heading .char:nth-child(4) {
  transition-delay: 0.08s;
  transition-duration: 1.1s;
}
.contact-heading .char:nth-child(5) {
  transition-delay: 0.1s;
  transition-duration: 0.6s;
}
.contact-heading .char:nth-child(6) {
  transition-delay: 0.12s;
  transition-duration: 0.3s;
}
.contact-heading .char:nth-child(7) {
  transition-delay: 0.14s;
  transition-duration: 0.7s;
}
.contact-heading .char:nth-child(8) {
  transition-delay: 0.16s;
  transition-duration: 0.5s;
}
.contact-heading .char:nth-child(9) {
  transition-delay: 0.18s;
  transition-duration: 0.8s;
}
.contact-heading .char:nth-child(10) {
  transition-delay: 0.2s;
  transition-duration: 0.5s;
}

.contact-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-content {
    gap: 30rem;
  }
}

.contact-description {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2vw;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  opacity: 0.9;
}

.contact-description p {
  margin: 0;
}

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

.contact-email {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.3vw;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: normal;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.contact-email::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.4s ease;
}

.contact-email:hover {
  color: #00ab84;
}

.contact-email:hover::after {
  width: 100%;
}

.contact-address {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1vw;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
}

/* Responsive contact section */
@media (max-width: 1024px) {
  .contact-heading {
    font-size: 1.6vw;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .contact-heading {
    font-size: 3.5vw;
    margin-bottom: 2rem;
  }

  .contact-heading.shuffle-button {
    font-size: 3.5vw;
  }

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

  .contact-description {
    font-size: 3.5vw;
  }

  .contact-email {
    font-size: 3vw;
  }

  .contact-address {
    font-size: 3vw;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .contact-heading {
    font-size: 5vw;
    margin-bottom: 1.5rem;
  }

  .contact-heading.shuffle-button {
    font-size: 5vw;
  }

  .contact-content {
    gap: 1.5rem;
  }

  .contact-description {
    font-size: 4.5vw;
  }

  .contact-email {
    font-size: 4.2vw;
    line-height: 1.2;
  }

  .contact-address {
    font-size: 4vw;
  }
}
