/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #1a1a1a;
  background: #f5f4f2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .container { padding: 0 64px; }
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: #1a1a1a;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  font-family: 'Space Grotesk', sans-serif;
  animation: pulse-loader 1.2s ease-in-out infinite;
}

@keyframes pulse-loader {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
  animation: loader-fill 1.8s ease-in-out forwards;
}

@keyframes loader-fill {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

.loader-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes infinite-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.infinite-scroll {
  animation: infinite-scroll 35s linear infinite;
}

@keyframes infinite-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.infinite-scroll-marquee {
  animation: infinite-marquee 18s linear infinite;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(60px) skewY(3deg);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0) skewY(0deg);
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotate-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.hero-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 1000;
  transition: top 0.4s ease;
}

.hero-nav.nav-hidden {
  top: -100px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 1400px;
  margin: 0 auto;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-inner.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  .nav-inner { padding: 16px 32px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  font-family: 'Space Grotesk', sans-serif;
  transition: transform 0.3s ease;
}

.logo-box:hover {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  display: none;
}

@media (min-width: 640px) {
  .logo-text { display: inline; }
}

.logo-text strong {
  font-weight: 700;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links button {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  font-family: 'Space Grotesk', sans-serif;
  transition: opacity 0.2s;
  position: relative;
}

.nav-links button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1a1a1a;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links button:hover::after {
  width: 60%;
  left: 20%;
}

.nav-links button:hover { opacity: 0.7; }

.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 8px;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  transition: left 0.4s ease;
  z-index: -1;
}

.nav-cta:hover::before {
  left: 0;
}

.nav-cta:hover {
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

@media (min-width: 768px) {
  .mobile-menu { display: none; }
}

.mobile-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 24px;
}

.mobile-menu span.short { width: 16px; }

/* Mobile menu overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay .mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav-overlay .mobile-nav-links button {
  font-family: 'Anton', sans-serif;
  font-size: 48px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay .mobile-nav-links button:hover {
  opacity: 0.5;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  background-color: #e5e3e0;
  overflow: hidden;
}

.decorative-arc {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
}

.hero-scroll-text-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  overflow: hidden;
}

.hero-scroll-text {
  display: flex;
  white-space: nowrap;
  width: max-content;
}

.hero-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(160px, 20vw, 300px);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 0.85;
  letter-spacing: -0.02em;
  padding-right: 0.4em;
  user-select: none;
}

.hero-scroll-text .hero-name:first-child {
  -webkit-text-stroke: 0.6px #1a1a1a;
  text-shadow: 0.4px 0 0 #1a1a1a;
}

.hero-portrait {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
}

.hero-portrait img {
  width: clamp(337px, 58vw, 860px);
  max-height: 92svh;
  object-fit: contain;
  object-position: bottom center;
  animation: none;
}

/* Laptop / MacBook / écrans moyens */
@media (min-width: 1024px) and (max-width: 2199px) {
  .hero-portrait img {
    width: clamp(560px, 60vw, 900px);
    max-height: 94svh;
    transform: translateY(2svh);
  }
}

/* Très grands écrans uniquement */
@media (min-width: 2200px) and (min-height: 1000px) {
  .hero-portrait img {
    width: clamp(660px, 46vw, 920px);
    max-height: 88svh;
    transform: translateY(4svh);
  }
}

/* Écrans très larges mais pas très hauts */
@media (min-width: 2200px) and (max-height: 999px) {
  .hero-portrait img {
    width: clamp(620px, 42vw, 840px);
    max-height: 84svh;
    transform: translateY(5svh);
  }
}

.hero-subtitle {
  position: absolute;
  left: 32px;
  top: 20%;
  z-index: 30;
}

@media (min-width: 1024px) {
  .hero-subtitle { left: 64px; }
}

.hero-subtitle p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: #1a1a1a;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.5;
}

.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  right: 32px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hero-scroll-down { right: 64px; }
}

.hero-scroll-down span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

.hero-scroll-down svg {
  animation: bounce-arrow 1.8s ease-in-out infinite;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  background: #111111;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about .container {
  width: 100%;
  padding-top: 96px;
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  .about .container { padding-top: 110px; padding-bottom: 72px; }
}

.about-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 14vw, 200px);
  color: #fff;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .about-title { margin-bottom: 80px; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 7fr 5fr; gap: 64px; }
}

.about-text-col {
  position: relative;
}

.about-accent-number {
  font-family: 'Anton', sans-serif;
  font-size: clamp(100px, 18vw, 250px);
  color: #fff;
  opacity: 0.15;
  line-height: 0.8;
  position: absolute;
  top: -60px;
  left: -10px;
  pointer-events: none;
  user-select: none;
}

.about-text {
  position: relative;
  z-index: 1;
  padding-top: 32px;
}

.about-text p {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 18px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .about-stats { gap: 80px; }
}

.stat {
  position: relative;
}

.stat-number {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
  line-height: 1;
  display: inline-block;
}

.stat-plus {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-image-col {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #1a1a1a;
}

.about-image-wrapper img {
  width: 100%;
  max-height: 62svh;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.6) 0%, transparent 50%);
}

.services-marquee-bar {
  width: 100%;
  padding: 24px 0;
  background: #1a1a1a;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.services-marquee {
  display: flex;
  white-space: nowrap;
  align-items: center;
  width: max-content;
}

.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 32px;
  flex-shrink: 0;
}


/* ============================================
   WEBSITE CREATION SECTION
   ============================================ */
.website-section {
  background: #e5e3e0;
  padding: 105px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .website-section { padding: 125px 0; }
}

.website-section::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 50%;
  right: -140px;
  top: -180px;
  pointer-events: none;
}

.website-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 44px;
}

@media (min-width: 1024px) {
  .website-header {
    grid-template-columns: 180px 1fr;
    align-items: start;
    gap: 48px;
    margin-bottom: 52px;
  }
}

.website-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
  margin-bottom: 18px;
}

.website-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  max-width: 980px;
  margin-bottom: 20px;
}

.website-intro {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.68);
  max-width: 760px;
}

.website-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .website-content {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 32px;
  }
}

.website-main-card {
  position: relative;
  background: #1a1a1a;
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  overflow: hidden;
  min-height: 100%;
}

@media (min-width: 1024px) {
  .website-main-card {
    padding: 42px;
    border-radius: 28px;
  }
}

.website-main-card::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  right: -80px;
  bottom: -100px;
}

.website-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.website-main-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.website-main-card p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  max-width: 620px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.website-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 12px;
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.website-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.website-cta svg {
  transition: transform 0.3s ease;
}

.website-cta:hover svg {
  transform: translateX(4px);
}

.website-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .website-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.website-service-card {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 20px;
  padding: 28px;
  min-height: 220px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, border-color 0.35s ease;
}

.website-service-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(26, 26, 26, 0.15);
}

.website-service-card span {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 42px;
  line-height: 1;
  color: rgba(26, 26, 26, 0.12);
  margin-bottom: 24px;
}

.website-service-card h4 {
  font-size: 19px;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.website-service-card p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.62);
}


.website-content-with-image {
  align-items: stretch;
}

.website-showcase {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.10);
}

.website-showcase img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.website-showcase:hover img {
  transform: scale(1.035);
}

.website-services-grid-compact {
  margin-top: 24px;
}

.website-services-grid-compact .website-service-card {
  min-height: 180px;
}

/* ============================================
   SELECTED WORKS SECTION
   ============================================ */
.works-section {
  background: #f5f4f2;
  padding: 120px 0 80px;
}

@media (min-width: 1024px) {
  .works-section { padding: 160px 0 120px; }
}

.works-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 64px;
}

.section-label {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  color: #1a1a1a;
  opacity: 0.1;
  line-height: 1;
}

.works-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.works-list {
  border-top: 1px solid rgba(26, 26, 26, 0.15);
}

.work-item {
  display: block;
  position: relative;
  padding: 40px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.15);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  overflow: visible;
}

/* On désactive l'ancien système d'image hover intégré dans chaque item */
.work-hover-img {
  display: none !important;
}

/* Nouveau preview global flottant */
.work-hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.88);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
  will-change: transform, top, left, opacity;
}

.work-hover-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.work-hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-item-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:hover .work-item-inner {
  transform: translateX(20px);
}

.work-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.work-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 26, 0.4);
  letter-spacing: 0.05em;
}

.work-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.3s ease;
}

.work-item:hover .work-name {
  color: #555;
}

.work-meta {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .work-meta { display: flex; }
}

.work-category {
  font-size: 14px;
  color: rgba(26, 26, 26, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.work-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 6px 16px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  border-radius: 20px;
}

.work-hover-img {
  position: fixed;
  width: 350px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.work-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-item:hover .work-hover-img {
  opacity: 1;
  transform: scale(1);
}

.works-footer {
  margin-top: 48px;
  text-align: right;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  transition: gap 0.3s ease;
}

.view-all-link:hover {
  gap: 20px;
}

.view-all-link svg {
  transition: transform 0.3s ease;
}

.view-all-link:hover svg {
  transform: translate(4px, -4px);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  background: #f5f4f2;
  padding: 40px 0 120px;
}

@media (min-width: 1024px) {
  .process-section { padding: 40px 0 160px; }
}

.process-card {
  background: #1a1a1a;
  border-radius: 24px;
  padding: 48px 32px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .process-card { padding: 80px 64px; border-radius: 32px; }
}

.process-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .process-content { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.section-label-light {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  color: #fff;
  opacity: 0.08;
  line-height: 1;
  display: block;
  margin-bottom: 32px;
}

.process-words {
  margin-bottom: 32px;
}

.process-word {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.process-word:hover {
  opacity: 0.6;
  transform: translateX(10px);
}

.process-description {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  max-width: 480px;
}

.process-image-side {
  position: relative;
  display: flex;
  justify-content: center;
}

.process-image-stack {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.process-img.active {
  opacity: 1;
}

/* ============================================
   SKILLS SECTION
   ============================================ */
.skills-section {
  background: #111111;
  padding: 120px 0;
}

@media (min-width: 1024px) {
  .skills-section { padding: 160px 0; }
}

.skills-header {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 64px;
}

.skills-header .section-label {
  color: #fff;
  opacity: 0.1;
}

.skills-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(12px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.skill-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease, border-color 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.skill-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: #fff;
  opacity: 0.7;
}

.skill-icon svg {
  width: 100%;
  height: 100%;
}

.skill-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.skill-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
  min-height: 72px;
}

.skills-grid-six {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .skills-grid-six {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .skills-grid-six {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6));
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-bar-fill.animated {
  /* width set by JS */
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: #e5e3e0;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .contact-section { padding: 160px 0; }
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-content { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.contact-left .section-label {
  margin-bottom: 24px;
  display: block;
}

.contact-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  color: #1a1a1a;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.contact-arrow {
  width: 80px;
  height: 80px;
  color: #1a1a1a;
  animation: float 3s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .contact-arrow { width: 100px; height: 100px; }
}

.contact-desc {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(26, 26, 26, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.contact-btn:hover::before {
  transform: translateX(0);
}

.contact-btn span,
.contact-btn svg {
  position: relative;
  z-index: 1;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26, 26, 26, 0.3);
}

.contact-btn svg {
  transition: transform 0.3s ease;
}

.contact-btn:hover svg {
  transform: translateX(4px);
}

.contact-info {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
}

.contact-info-item a,
.contact-info-item span {
  font-size: 16px;
  color: #1a1a1a;
  font-weight: 500;
}

.contact-info-item a {
  transition: opacity 0.3s ease;
}

.contact-info-item a:hover {
  opacity: 0.6;
}

.availability-dot {
  position: relative;
  padding-left: 16px;
}

.availability-dot::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #f5f4f2;
  padding: 80px 0 40px;
  overflow: hidden;
  position: relative;
}

.footer-name-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 48px;
}

.footer-giant-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(80px, 14vw, 220px);
  color: rgba(26, 26, 26, 0.06);
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: block;
  text-align: center;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 13px;
  color: rgba(26, 26, 26, 0.5);
  letter-spacing: 0.02em;
}

.footer-socials {
  display: flex;
  gap: 24px;
}

.footer-socials a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  position: relative;
  transition: opacity 0.3s ease;
}

.footer-socials a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #1a1a1a;
  transition: width 0.3s ease;
}

.footer-socials a:hover::after {
  width: 100%;
}

.footer-socials a:hover {
  opacity: 0.7;
}


/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: #111111;
  padding: 32px 0 96px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 1024px) {
  .faq-section {
    padding: 40px 0 120px;
  }
}

.faq-section .section-label {
  color: #fff;
  opacity: 0.1;
}

.faq-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .faq-header {
    grid-template-columns: auto 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
}

.faq-heading-group {
  max-width: 860px;
}

.faq-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.faq-intro {
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span:first-child {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #ffffff;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.8;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-answer {
  padding: 0 22px 22px;
}

.faq-answer p {
  max-width: 920px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1023px) {
  .faq-section {
    padding: 12px 0 72px;
  }

  .faq-item summary {
    padding: 18px 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }
}

/* ============================================
   RESPONSIVE MOBILE
   ============================================ */
@media (max-width: 1023px) {
  .website-section {
    padding: 80px 0;
  }

  .website-header {
    margin-bottom: 40px;
  }

  .website-main-card {
    padding: 30px 24px;
  }

  .website-service-card {
    min-height: auto;
  }

  .website-showcase,
  .website-showcase img {
    min-height: 260px;
  }

  .website-services-grid-compact {
    margin-top: 18px;
  }


  .hero {
    min-height: 100svh;
    height: 100svh;
  }

  .about {
    min-height: auto;
    display: block;
  }

  .about .container {
    padding-top: 88px;
    padding-bottom: 56px;
  }

  .hero-portrait img {
        width: clamp(260px, 99vw, 520px);
            max-height: 82svh;
  }

  .hero-subtitle {
    top: 16%;
  }

  .hero-scroll-down {
    bottom: 28px;
    right: 24px;
  }

  .works-section {
    padding: 80px 0 60px;
  }

  .work-item {
    padding: 28px 0;
  }

  .work-hover-img {
    display: none;
  }

  .process-section {
    padding: 20px 0 80px;
  }

  .process-card {
    padding: 32px 24px;
  }

  .process-image-stack {
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .skills-section {
    padding: 80px 0;
  }

  .contact-section {
    padding: 80px 0;
  }

  .contact-title {
    font-size: clamp(40px, 12vw, 80px);
  }

  .site-footer {
    padding: 60px 0 32px;
  }
}

/* ============================================
   SMOOTH SCROLL INDICATOR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: #1a1a1a;
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ============================================
   SELECTION STYLE
   ============================================ */
::selection {
  background: #1a1a1a;
  color: #fff;
}

::-moz-selection {
  background: #1a1a1a;
  color: #fff;
}


/* ============================================
   FINAL PORTFOLIO ADJUSTMENTS
   ============================================ */
.logo-text {
  line-height: 1.05;
}
.logo-text-main {
  display: block;
}
.logo-location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
}
.logo-location-icon {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}
.hero-location {
  display: inline-flex;
  margin-top: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.58);
}
.works-footer {
  display: none !important;
}
@media (min-width: 1100px) {
  .website-services-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .logo-location { display: none; }
}

/* Final fix: keep hero portrait and hero circles fixed on load */
.hero .decorative-arc {
  animation: none !important;
  transform: none !important;
}

.hero-portrait img {
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
}


/* Language switch */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(26, 26, 26, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.language-switch a {
  color: rgba(26, 26, 26, 0.45);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.language-switch a:hover,
.language-switch a.active {
  color: #1a1a1a;
}

.language-switch span {
  color: rgba(26, 26, 26, 0.25);
}

@media (max-width: 767px) {
  .language-switch {
    margin-left: auto;
    margin-right: 8px;
    padding: 7px 9px;
  }

  .nav-cta + .language-switch,
  .language-switch + .nav-cta {
    display: inline-flex;
  }
}

/* ============================================
   MOBILE NAVBAR CORRECTION
   ============================================ */
@media (max-width: 767px) {
  .hero-nav {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .hero-nav.nav-hidden {
    top: -90px;
  }

  .nav-inner {
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 18px;
    gap: 10px;
  }

  .nav-logo {
    flex: 0 0 auto;
    gap: 0;
  }

  .logo-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .logo-text {
    display: none !important;
  }

  .language-switch {
    margin-left: auto;
    margin-right: 2px;
    padding: 8px 10px;
    gap: 7px;
    flex: 0 0 auto;
  }

  .nav-cta,
  .nav-cta + .language-switch,
  .language-switch + .nav-cta {
    display: none !important;
  }

  .mobile-menu {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .mobile-menu span,
  .mobile-menu span.short {
    width: 25px;
  }

  .mobile-nav-overlay {
    align-items: flex-start;
    justify-content: center;
    padding-top: 92px;
    overflow-y: auto;
  }

  .mobile-nav-overlay .mobile-nav-links {
    width: 100%;
    gap: 22px;
    padding: 42px 24px 40px;
  }

  .mobile-nav-overlay .mobile-nav-links button {
    font-size: clamp(38px, 12vw, 58px);
    line-height: 1.05;
  }
}

@media (max-width: 380px) {
  .nav-inner {
    padding: 9px 10px;
    gap: 7px;
  }

  .language-switch {
    padding: 7px 8px;
    font-size: 11px;
  }

  .mobile-menu {
    width: 40px;
    flex-basis: 40px;
  }
}
