* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: #0000ff;
  color: #ffffff;
}

body.loading {
  overflow: hidden;
  height: 100vh;
}

/* Milligram Font */

@font-face {
  font-family: "Milligram Text";
  src: url("/font/Milligram-Text-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Milligram Text";
  src: url("/font/Milligram-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Milligram Text";
  src: url("/font/Milligram-Text-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

body {
  font-family: "Milligram Text", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  position: relative;
  background-color: #f3f3f3;
}

:root {
  --page-padding-desktop: 3rem;
  --page-padding-mobile: 1rem;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  padding-inline: var(--page-padding-desktop);
}

/* ------------------------------
   2️⃣ Loading Screen
------------------------------ */

.loading-screen .logo-loader,
.loading-screen .counter-container {
  opacity: 0;
  visibility: hidden;
}

.loading-screen.show-full-loader .logo-loader,
.loading-screen.show-full-loader .counter-container {
  opacity: 1;
  visibility: visible;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

.logo-loader {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 10001;
}

.logo-loader svg {
  width: 100px;
  height: auto;
  color: #f3f3f3;
  display: block;
}

.counter-container {
  position: absolute;
  bottom: 60px;
  right: 60px;
  z-index: 10001;
}

.counter {
  font-size: 120px;
  font-weight: 700;
  color: #f3f3f3;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.slide-panels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 10000;
}

.panel {
  flex: 1;
  height: 100%;
  background: #0000ff;
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.panel.slide-up {
  transform: translateY(-100%);
}

@media (max-width: 768px) {
  .container {
    padding-inline: var(--page-padding-mobile);
  }

  .logo-loader {
    top: 20px;
    left: 20px;
  }

  .logo-loader svg {
    width: 80px;
  }

  .counter-container {
    bottom: 100px;
    right: 20px;
  }

  .counter {
    font-size: 80px;
  }
}

/* Cookie banner buttons */
.cookie-btn,
.cookie-btn .btn-text {
  font-family: "Milligram Text", sans-serif;
}

.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  max-width: 500px;
  background-color: #0000ff;
  color: white;
  padding: 1.5rem;
  z-index: 1000;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-content {
  width: 100%;
}

.cookie-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.cookie-text {
  font-size: 16px;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cookie-text a {
  color: white;
  text-decoration: underline;
  font-weight: 700;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-direction: row;
}

.cookie-btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid white;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.accept-btn {
  background-color: white;
  color: #0000ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 12px;
  border: 1px solid white;
}

.accept-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.accept-btn:hover .check-icon svg {
  transform: scale(1.06);
  transition: transform 0.25s ease;
}

.manage-btn {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.manage-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.check-circle {
  fill: #0000ff;
  transition: fill 0.25s ease;
}

.check-path {
  fill: none;
  stroke: white;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease;
}

.check-icon {
  display: inline-flex;
  margin-left: 10px;
  transform: translateY(1px);
}

.check-icon svg {
  display: block;
}

.preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.preferences-modal.active {
  opacity: 1;
  pointer-events: all;
}

.preferences-content {
  background-color: white;
  color: #333;
  max-width: 600px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.preferences-modal.active .preferences-content {
  transform: translateY(0);
}

.preferences-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.preferences-header h2 {
  margin: 0;
  font-size: 20px;
  color: #0000ff;
}

.preferences-body {
  padding: 1.5rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.category-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.category-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #0000ff;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  background-color: #0000ff;
  opacity: 0.6;
  cursor: not-allowed;
}

.always-active {
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.preferences-footer {
  padding: 1.5rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.preferences-btn {
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-preferences-btn {
  background-color: #0000ff;
  color: white;
}

.save-preferences-btn:hover {
  background-color: #0000cc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 255, 0.3);
}

.cancel-btn {
  background-color: transparent;
  color: #666;
  border: 1px solid #ccc;
}

.cancel-btn:hover {
  background-color: #f5f5f5;
}

@media (max-width: 560px) {
  .cookie-banner {
    left: 50%;
    right: auto;
    bottom: 1rem;
    transform: translateX(-50%);
    max-width: calc(100% - 2rem);
    width: 100%;
    box-sizing: border-box;
  }

  .cookie-banner.hidden {
    transform: translate(-50%, 20px);
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-title {
    font-size: 1rem;
  }

  .cookie-text {
    font-size: 0.9rem;
  }

  .preferences-footer {
    flex-direction: column-reverse;
  }

  .preferences-btn {
    width: 100%;
  }
}

/* ------------------------------
   3️⃣ Hero Section
------------------------------ */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 2rem 0;
}

.logo {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1001;
}

.logo svg {
  display: block;
  width: 90px;
  height: auto;
  color: #000000;
}

.nav-center {
  display: flex;
  gap: 2rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  overflow: hidden;
  height: 1.2em;
  position: relative;
}

.nav-center a span {
  display: block;
  position: relative;
  transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-center a:hover span {
    color: #0000ff;
    animation: slideUpReappear 0.35s forwards;
  }

  @keyframes slideUpReappear {
    0% {
      transform: translateY(0);
    }

    45% {
      transform: translateY(-100%);
    }

    46% {
      transform: translateY(100%);
    }

    100% {
      transform: translateY(0);
    }
  }
}

.nav-right {
  margin-left: auto;
}

.nav-right a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  transition: opacity 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .nav-right a:hover {
    color: #0000ff;
  }
}

.nav-right a svg {
  display: inline-block;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-right a:hover svg {
    transform: rotate(45deg);
  }
}

.why-link svg {
  stroke: #0000ff !important;
  width: 20px;
  height: 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.menu-icon {
  display: block;
  width: 28px;
  height: 28px;
  color: #000;
  transition: transform 0.3s ease;
}

.menu-icon {
  fill: currentColor;
  transition: transform 0.3s ease;
}

.menu-toggle.open .menu-icon {
  transform: rotate(45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #f3f3f3;
  z-index: 1000;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);

  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-content {
  height: 100%;
  padding: 100px 2rem 3rem;
  transform: translateY(10px);
  opacity: 0;
  transition:
    opacity 0.35s ease 0.15s,
    transform 0.35s ease 0.15s;
}

.mobile-menu.active .mobile-menu-content {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-bottom: auto;
}

.mobile-nav-links a {
  color: #000;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 400;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  text-align: right;
  transition: color 0.3s ease;
}

.mobile-nav-links a,
.why-link-mobile {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mobile-menu.active .mobile-nav-links a,
.mobile-menu.active .why-link-mobile {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-links a:nth-child(1) {
  transition-delay: 0.2s;
}

.mobile-nav-links a:nth-child(2) {
  transition-delay: 0.27s;
}

.mobile-nav-links a:nth-child(3) {
  transition-delay: 0.34s;
}

.mobile-nav-links a:nth-child(4) {
  transition-delay: 0.41s;
}

.why-link-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  width: 100%;
  padding: 1rem 0;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
  font-size: 2.5rem;
  font-weight: 400;
}

.why-link-mobile svg {
  width: 30px;
  height: 30px;
  stroke: #0000ff;
  flex-shrink: 0;
}

.mobile-social-links a {
  color: #000;
  text-decoration: none;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.mobile-social-links {
  position: absolute;
  bottom: 2rem;
  left: 2rem;

  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mobile-menu.active .mobile-social-links {
  opacity: 1;
  transform: translateY(0);
}

/* Closing state */
.mobile-menu.closing {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.mobile-menu.closing .mobile-menu-content,
.mobile-menu.closing .mobile-nav-links a,
.mobile-menu.closing .why-link-mobile,
.mobile-menu.closing .mobile-social-links {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

/* Hero Section */
.hero {
  position: relative;
  padding-block: 6rem 0rem;
}

.greeting {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  max-width: 1200px;
  margin-bottom: 4rem;
}

/* Container to hide overflow, creating the "reveal" effect */
.slide-container {
  overflow: hidden;
  display: block;
  line-height: 1.3;
}

/* Slide-up animation for greeting + hero lines */
.greeting,
.hero-line {
  display: inline-block;
  transform: translateY(120%);
  opacity: 1;
  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1.4s ease;
}

/* Hide all hero elements until animation */
.hero,
nav,
.greeting,
.language-selector,
.cookie-banner,
.portfolio-section,
.services-section,
.clients-section,
.workflow-section,
.studio-section,
footer {
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* Show when .show is added */
.hero.show,
nav.show,
.greeting.show,
.language-selector.show,
.cookie-banner.show,
.portfolio-section.show,
.services-section.show,
.clients-section.show,
.workflow-section.show,
.studio-section.show,
footer {
  opacity: 1;
}

.hero-desktop {
  display: block;
}

.hero-mobile {
  display: none;
}

.hero-inner {
  max-width: 1200px;
}

.language-selector {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
}

/* Language selector */
.lang-button,
.lang-button span,
.lang-option {
  font-family: "Milligram Text", sans-serif;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  padding-right: 0.55rem;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
}

.chevron {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.chevron svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .lang-button:hover .chevron {
    background: #0000ff;
    color: #ffffff;
  }
}

.lang-button.open .chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 0.5rem;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 0;
  display: none;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s;
  border-radius: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .lang-option:hover {
    background: #f0f0f0;
    border-radius: 16px;
  }
}

.lang-option.active {
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  nav.show {
    padding: 0;
    padding-top: 2rem;
  }

  .hero.show {
    padding: 6rem 0rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .greeting {
    font-size: 1.25rem;
  }

  .language-selector {
    bottom: 1.5rem;
  }
}

@media (max-width: 560px) {
  .menu-toggle {
    display: block;
  }

  .nav-center,
  .nav-right {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  nav {
    padding: 1.25rem;
  }

  .logo svg {
    width: 80px;
  }

  .menu-toggle svg {
    width: 28px;
    height: 28px;
  }

  .mobile-menu-content {
    padding: 80px 1.5rem 2rem 1.5rem;
  }

  .mobile-nav-links a {
    font-size: 2rem;
    padding: 0.75rem 0;
  }

  .mobile-social-links a {
    font-size: 1rem;
  }

  .hero {
    padding: 3rem 1.25rem 2rem;
  }

  .hero-title {
    font-size: 1.625rem;
  }

  .greeting {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    transition-duration: 0.5s !important;
  }

  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }

  .hero-mobile .hero-line {
    font-size: 28px;
  }
}

/* ------------------------------
   4️⃣ Portfolio Section
------------------------------ */

.portfolio-section {
  padding: 0;
  padding-top: 10rem;
  padding-bottom: 14rem;
}

.section-divider {
  margin-bottom: 3rem;
}

.divider-line {
  height: 1px;
  background-color: #000000;
  margin-bottom: 0.75rem;
}

.section-label {
  font-size: 0.875rem;
  color: #000000;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
}

.main-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: #000000;
}

/* Portfolio filter buttons */
.filter-btn,
.filter-btn span {
  font-family: "Milligram Text", sans-serif;
}

.filter-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.8rem 1.25rem;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 0.5px solid #b4b3b3;
  background-color: transparent;
  color: #000000;
}

.filter-btn.active {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .filter-btn:not(.active):hover {
    background-color: #0000ff;
    color: #ffffff;
    border: none;
  }

  .filter-btn:not(.active):hover sup {
    color: #ffffff;
  }

  .filter-btn.active:hover {
    background-color: #e7e7e7;
    color: #000000;
  }

  .filter-btn.active:hover sup {
    color: #000000;
  }
}

.filter-btn sup {
  margin-left: 0.125rem;
  font-size: 0.75rem;
  color: #8a8a8a;
  transition: color 0.2s ease;
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.project-card {
  cursor: pointer;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-image {
  overflow: hidden;
  background-color: #e5e7eb;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-info {
  padding-top: 1rem;
}

.project-title {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0.25rem;
  letter-spacing: 0.2px;
}

.project-description {
  font-size: 18px;
  font-weight: 400;
  color: #979797;
}

.project-full {
  width: 100%;
}

.project-full .project-image {
  aspect-ratio: 16 / 9;
}

.row-two {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.row-two .project-image {
  aspect-ratio: 4 / 3;
}

.row-two-equal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.row-two-equal .project-image {
  aspect-ratio: 4 / 3;
}

.row-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.row-three .project-image {
  aspect-ratio: 4 / 3;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .portfolio-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .main-title {
    font-size: 2rem;
  }

  .filter-btn {
    font-size: 16px;
  }

  .projects-container {
    gap: 3rem;
  }

  .project-title,
  .project-description {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .portfolio-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .main-title {
    font-size: 2rem;
    line-height: 2.4rem;
  }

  .filter-btn {
    font-size: 16px;
  }

  .projects-container {
    gap: 3rem;
  }

  .project-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
  }

  .project-full .project-image {
    aspect-ratio: 4 / 3;
  }

  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .project-title,
  .project-description {
    font-size: 18px;
  }

  .row-two,
  .row-three,
  .row-two-equal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ------------------------------
   5️⃣ Service Section
------------------------------ */

.services-section {
  padding: 0;
  padding-top: 4rem;
  padding-bottom: 14rem;
}

.sticky-wrapper {
  position: relative;
  height: 200vh;
}

.sticky-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  align-items: start;
}

.service-content {
  position: relative;
}

.service-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.service-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.service-title {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #000000;
}

.service-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #000000;
  margin-bottom: 2rem;
}

.architect-link {
  font-weight: 500;
  color: inherit;
  text-decoration: none; /* remove default underline */
}

.architect-link:visited {
  color: inherit; /* prevent default violet */
}

@media (hover: hover) and (pointer: fine) {
  .architect-link {
    position: relative;
    transition: color 0.3s ease;
  }

  .architect-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
  }

  .architect-link:hover::after {
    width: 100%;
  }
}

.keywords-list {
  margin-bottom: 2.5rem;
}

.keyword-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 18px;
  color: #000000;
}

.cta-button-wrapper {
  display: flex;
  justify-content: flex-start;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  border-radius: 50px;
  text-decoration: none;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  padding-right: 0.55rem;
  background: transparent;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  color: #000000;
}

.arrow-icon {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 0.6rem;
  transition: background 0.3s;
}

.arrow-icon svg {
  width: 18px;
  height: 18px;
  stroke: #000000;
}

@media (hover: hover) and (pointer: fine) {
  .cta-button:hover .arrow-icon {
    background: #0000ff;
  }

  .cta-button:hover .arrow-icon svg path {
    stroke: #ffffff;
  }
}

/* Right Column - Image */
.service-visual {
  position: relative;
  height: 700px;
  width: 100%;
  margin: 0;
  overflow: hidden;
  grid-column: 2;
}

.service-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 800px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.service-image.active {
  opacity: 1;
}

.service-image-mobile {
  display: none;
}

@media (max-width: 1024px) {
  .service-title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #000000;
  }

  .service-description {
    font-size: 18px;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 1rem;
  }

  .keyword-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 18px;
    color: #000000;
  }
}

@media (max-width: 768px) {
  .sticky-wrapper {
    height: auto;
  }

  .sticky-content {
    position: relative;
    height: auto;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .services-grid {
    display: block;
    width: 100%;
    gap: 2rem;
  }

  .service-item {
    position: relative !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    margin-bottom: 6rem;
    pointer-events: auto !important;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .service-image,
  .service-image-mobile {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    position: relative;
    margin-bottom: 3rem;
  }

  .service-visual {
    display: none;
  }

  .service-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #000000;
  }

  .service-description {
    font-size: 16px;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 1rem;
    max-width: 60%;
  }

  .keywords-list {
    margin-bottom: 2rem;
    max-width: 60%;
  }

  .keyword-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
    color: #000000;
  }

  .services-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* Responsive Design */
@media (max-width: 560px) {
  .sticky-wrapper {
    height: auto;
  }

  .sticky-content {
    position: relative;
    height: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-item {
    position: relative !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    margin-bottom: 5rem;
    pointer-events: auto !important;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item.active {
    margin-bottom: 5rem;
  }

  .service-title {
    font-size: 20px;
    margin-bottom: 0;
    font-weight: 500;
  }

  .service-description {
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 100%;
  }

  .keywords-list {
    margin-bottom: 1rem;
    max-width: 100%;
  }

  .service-item .service-image-mobile {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    margin-bottom: 1rem;
  }

  .service-visual {
    display: none;
  }
}

/* ------------------------------
   6️⃣ Clients Section
------------------------------ */

.clients-section {
  padding: 4rem 0;
  padding-bottom: 14rem;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 3rem;
}

.logo-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 30s linear infinite;
  will-change: transform;
  margin-top: 4rem;
}

.logo-card {
  background: white;
  padding: 2rem 3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 120px;
  flex-shrink: 0;
}

.logo-card img {
  max-width: 150px;
  max-height: 60px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .clients-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .logo-card {
    min-width: 160px;
    height: 100px;
    padding: 1.5rem 2rem;
  }

  .logo-card img {
    max-width: 120px;
    max-height: 50px;
  }

  .logo-track {
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .logo-card {
    min-width: 140px;
    height: 90px;
    padding: 1rem 1.5rem;
  }

  .logo-card img {
    max-width: 100px;
    max-height: 45px;
  }
}

/* ------------------------------
   7️⃣ The Giusto Workflow
------------------------------ */
.highlight {
  color: #0000ff;
}

.workflow-section {
  padding: 4rem 0;
  padding-bottom: 14rem;
}

.workflow-wrapper {
  margin: 0 auto;
  position: relative;
}

.workflow-card {
  background: #ffffff;
  padding: 2rem;
  padding-top: 1.5rem;
  min-height: 70vh;
  margin-bottom: 3rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid #000;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: #111;
}

.card-header span {
  color: #8a8a8a;
  font-weight: 500;
}

.card-content {
  max-width: 1000px;
}

.card-content h3 {
  font-size: 40px;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.card-content p {
  font-size: 40px;
  color: #000000;
}

/* --------------------
Responsive Styles
-------------------- */
@media (max-width: 1024px) {
  .card-content h3 {
    font-size: 30px;
    margin-bottom: 0.75rem;
  }

  .card-content p {
    font-size: 30px;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .workflow-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .workflow-card {
    min-height: 60vh;
    padding: 1.5rem;
  }

  .card-content h3 {
    font-size: 24px;
    margin-bottom: 0.75rem;
  }

  .card-content p {
    font-size: 24px;
    max-width: 500px;
  }
}

@media (max-width: 560px) {
  .workflow-card {
    min-height: 60vh;
    padding: 1rem;
  }

  .card-header {
    font-size: 11px;
    gap: 1rem;
  }

  .card-content p {
    font-size: 18px;
  }

  .card-content h3 {
    font-size: 18px;
  }
}

/* ------------------------------
   8️⃣ The Studio
------------------------------ */

.studio-section {
  padding: 80px 0 40px;
  padding-bottom: 14rem;
}

.scroll-gallery {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.scroll-track {
  display: flex;
  gap: 30px;
  animation: scroll 25s linear infinite;
  will-change: transform;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.image-container {
  flex-shrink: 0;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.image-container.portrait {
  width: 300px;
  height: 400px;
}

.image-container.landscape {
  width: 400px;
  height: 300px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .image-container.portrait {
    width: 240px;
    height: 320px;
  }

  .image-container.landscape {
    width: 320px;
    height: 240px;
  }

  .scroll-track {
    gap: 20px;
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }
}

@media (max-width: 768px) {
  .studio-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .section-divider {
    margin: 0 0 40px;
  }

  .section-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .image-container.portrait {
    width: 180px;
    height: 240px;
  }

  .image-container.landscape {
    width: 240px;
    height: 180px;
  }

  .scroll-track {
    gap: 15px;
    animation: scroll 18s linear infinite;
  }

  .scroll-gallery {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .image-container.portrait {
    width: 150px;
    height: 200px;
  }

  .image-container.landscape {
    width: 200px;
    height: 150px;
  }

  .scroll-track {
    gap: 12px;
    animation: scroll 15s linear infinite;
  }
}

.footer {
  background-color: #f3f3f3;
  padding-bottom: 2rem;
}

.line {
  display: block;
}

.footer-container {
  max-width: 1600px;
  margin: 0;
}

.back-to-top-btn,
.back-to-top-btn span {
  font-family: "Milligram Text", sans-serif;
}

.back-to-top {
  text-align: right;
  margin-bottom: 40px;
}

.back-to-top-btn {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.arrow-icon {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.arrow-icon svg {
  width: 18px;
  height: 18px;
  stroke: #f3f3f3;
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top-btn:hover .arrow-icon {
    background: #0000ff;
  }

  .back-to-top-btn:hover .arrow-icon svg {
    color: #f3f3f3;
  }
}

.email-section {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #000000;
}

.email-label {
  font-size: 16px;
  color: #9a99a2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.email-large {
  font-size: 40px;
  font-weight: 500;
  color: #1a1a1a;
}

.email-link {
  color: #1a1a1a;
  text-decoration: none;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 16px;
  color: #979797;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-column ul {
  list-style: none;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0px;
}

.footer-column a {
  color: #000000;
  text-decoration: none;
  font-size: 16px;
}

.footer-column a:hover {
  opacity: 0.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 8px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid #000000;
  margin-bottom: 30px;
}

.footer-location {
  grid-column: 1 / -1;
}

.footer-location h4 {
  font-size: 16px;
  color: #979797;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0px;
  font-weight: 500;
}

.footer-bottom p {
  font-size: 16px;
  color: #000000;
  margin: 0;
  max-width: 200px;
}

/* ----------------------------------
FOOTER BRAND ROW
 ---------------------------------- */

.footer-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #000000;
}

.footer-credits {
  display: flex;
  gap: 12px;
  align-items: center;
}

.copyright,
.website-by {
  font-size: 12px;
  color: #000000;
}

.website-by a {
  font-weight: 700;
  color: #000000;
  text-decoration: none;
}

@media (max-width: 768px) {
  .email-large {
    font-size: 24px;
    word-break: break-word;
  }

  .email-label {
    font-size: 12px;
  }

  .footer-column h4 {
    font-size: 12px;
  }

  .footer-column a {
    font-size: 14px;
  }

  .footer-bottom p {
    font-size: 14px;
  }

  .copyright,
  .website-by {
    font-size: 12px;
  }
}

@media (max-width: 560px) {
  .back-to-top {
    text-align: right;
    margin-bottom: 20px;
  }

  .arrow-icon {
    width: 32px;
    height: 32px;
  }

  .email-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .email-large {
    font-size: 24px;
    word-break: break-word;
  }

  .email-label {
    font-size: 12px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-column h4 {
    font-size: 12px;
  }

  .footer-column a {
    font-size: 14px;
  }

  .footer-column li {
    margin-bottom: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    margin-bottom: 20px;
    padding-top: 20px;
    gap: 16px;
  }

  .footer-location {
    grid-column: 1 / -1;
  }

  .footer-bottom p {
    font-size: 14px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 20px;
    margin-top: 20px;
  }

  .footer-credits {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .copyright,
  .website-by {
    font-size: 12px;
  }
}

/* Extra-small phones */
@media (max-width: 375px) {
  .email-large {
    font-size: 22px;
  }
}
