/* ============================================
   BAKE — 5th Anniversary One-Pager
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navbar-h: 96px; /* Updated dynamically by JS via ResizeObserver */

  /* Brand colors */
  --brand-primary: #EC1164;
  --brand-primary-dark: #808083;
  --brand-accent: #FF82AF;
  --brand-highlight: #FFE2F0;
  --brand-canvas: #FFF7FB;
  --brand-surface: #FFFFFF;
  --brand-ink: #808083;
  --brand-ink-muted: #808083;

  /* Typographic scale */
  --text-xs:      clamp(0.7rem,  0.9vw,  0.8rem);
  --text-sm:      clamp(0.8rem,  1.2vw,  1rem);
  --text-base:    clamp(0.95rem, 1.5vw,  1.15rem);
  --text-md:      clamp(1rem,    1.8vw,  1.35rem);
  --text-lg:      clamp(1.15rem, 2.2vw,  1.6rem);
  --text-xl:      clamp(1.3rem,  2.5vw,  1.8rem);
  --text-xxl:      clamp(1.3rem,  3vw,  1.8rem);  
  --text-display: clamp(2.4rem,  6vw,    5rem);
  --text-hero:    clamp(4rem,    10vw,   8rem);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'futura-pt', sans-serif;
  font-weight: 300;
  color: var(--brand-ink);
  background: var(--brand-canvas);
  overflow-x: hidden;
  line-height: 1.5;
}

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

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.3s ease,
              background 0.3s ease;
}

.navbar--compact {
  background: var(--brand-primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.navbar--shrink .navbar__inner {
  padding: 16px 48px;
}

.navbar--shrink .navbar__logo svg {
  height: 30px;
}

.navbar--hidden {
  transform: translateY(-100%);
}

@keyframes logoSmog {
  0%   { x: 6.9px;  y: 11.8px; width: 0px;   height: 0px;   opacity: 1; fill: #808184; }
  35%  { x: 6.9px;  y: 5.2px;  width: 6.6px;  height: 6.6px;  opacity: 1; fill: #808184; }
  65%  { x: 13.5px; y: 0.6px;  width: 4.6px;  height: 4.6px;  opacity: 1; fill: #BBBDBF; }
  100% { x: 18.1px; y: -2px;   width: 2.6px;  height: 2.6px;  opacity: 0; fill: #808184; }
}

.navbar__logo svg { overflow: visible; }
.navbar__logo svg .Rect1 { animation: logoSmog 1.8s ease 0.0s infinite; }
.navbar__logo svg .Rect2 { animation: logoSmog 1.8s ease 0.6s infinite; }
.navbar__logo svg .Rect3 { animation: logoSmog 1.8s ease 1.2s infinite; }
.navbar__logo svg .changeC { fill: var(--brand-primary); }
.navbar--compact .navbar__logo svg .changeC { fill: #fff; }

.navbar--compact .navbar__logo svg {
  height: 30px;
}

.navbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  transition: padding 0.3s ease;
}

.navbar--compact .navbar__inner {
  padding: 16px 48px;
}

.navbar__logo svg {
  height: 40px;
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

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

.navbar__link {
  font-weight: 900;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink-muted);
  padding: 8px 20px;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.navbar__link:hover {
  color: var(--brand-primary);
}

.navbar--compact .navbar__link { color: rgba(255, 255, 255, 0.8); }

.navbar--compact .navbar__link:hover { color: #fff; }

.navbar__right {
  display: flex;
  align-items: center;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(43, 26, 42, 0.08);
  border-radius: 100px;
  padding: 2px;
}

.navbar--compact .lang-toggle { background: rgba(255, 255, 255, 0.15); }

.lang-toggle__btn {
  background: none;
  border: none;
  font-family: 'futura-pt', sans-serif;
  font-weight: 900;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--brand-ink-muted);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.lang-toggle__btn--active {
  background: var(--brand-primary);
  color: #fff;
}

.lang-toggle__btn:hover:not(.lang-toggle__btn--active) {
  color: var(--brand-ink);
}

.navbar--compact .lang-toggle__btn { color: rgba(255, 255, 255, 0.6); }

.navbar--compact .lang-toggle__btn--active { background: #fff; color: var(--brand-primary); }

.navbar--compact .lang-toggle__btn:hover:not(.lang-toggle__btn--active) { color: #fff; }

/* Burger menu (hidden on desktop) */
.navbar__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  margin-left: 16px;
}

.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brand-ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar--compact .navbar__burger span { background: #fff; }

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

.navbar__burger--open span:nth-child(2) {
  opacity: 0;
}

.navbar__burger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar__burger--open {
  position: relative;
  z-index: 1200;
}

/* Keep entire navbar above overlay when menu is open */
.navbar:has(.navbar__burger--open) {
  z-index: 1200;
}

/* Mobile menu overlay */
.navbar__links--mobile-open {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-primary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 1100;
}

.navbar__links--mobile-open .navbar__link {
  font-size: var(--text-md);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  color: #fff;
  text-decoration: none;
}

/* Work item inline image (hidden on desktop, shown on mobile) */
.work__item-img {
  display: none;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
}

/* Hover zone */
.navbar-hover-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  pointer-events: none;
}

.navbar--hidden + .navbar-hover-zone {
  pointer-events: auto;
}

/* --- HERO --- */
.hero {
  position: relative;
  z-index: 8;
  width: 100%;
  height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
  overflow-y: visible;
}

.hero__layer--bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #d2e0fa 0%, #efeffd 50%, #ffffff 100%);
  z-index: 1;
}

/* Gradient that blends the hero bottom edge into the description background */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent 0%, #ffffff 100%);
  z-index: 10;
  pointer-events: none;
}

/* Composition container — all inner layers scale together */
.hero__composition {
  position: relative;
  z-index: 12;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.hero__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.hero__layer--five {
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: size;
}

.hero__five-img {
  /* Scales fluidly with both hero width and height — no breakpoints needed.
     95cqi fills mobile nicely; 80cqb caps it on short/wide viewports (desktop, landscape). */
  width: min(110cqi, 95cqb);
  height: auto;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

/* Foreground SVG clouds — fastest parallax, atmospheric haze */
.hero__layer--fg-clouds {
  z-index: 12;
  pointer-events: none;
  inset: auto 0 0 0;
  top: auto;
  height: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__fg-clouds-svg {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__text {
  position: absolute;
  z-index: 16;
  text-align: center;
  bottom: 4%;
  left: 0;
  right: 0;
  opacity: 1;
}

.hero__title {
  font-size: var(--text-display);
  line-height: 1;
  white-space: nowrap;
}

.hero__title-bake {
  font-weight: 900;
  color: var(--brand-primary);
}

.hero__title-light {
  font-weight: 300;
  color: var(--brand-ink);
}

.hero__title-gradient {
  font-weight: 900;
  background: linear-gradient(90deg, #FF8C42, #EC1164);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-weight: 300;
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--brand-ink-muted);
  margin-top: 16px;
}

.hero__subtitle-bold {
  font-weight: 900;
  color: var(--brand-primary);
}

/* Scroll icon — sits above hero title inside hero__text */
.hero__scroll-icon {
  width: 36px;
  margin: 0 auto 8px;
  animation: scrollBounce 2s ease-in-out infinite;
  pointer-events: none;
}

.hero__scroll-svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- DESCRIPTION --- */
.description {
  position: relative;
  padding: 0;
  background: linear-gradient(to bottom, #ffffff 0%, var(--brand-canvas) 120px);
  z-index: 7;
  overflow: visible;
}

.description__label {
  position: relative;
  z-index: 3;
  text-align: center;
  font-weight: 900;
  font-size: var(--text-xl);
  color: var(--brand-primary);
  padding: 40px 48px 0;
  margin: 0;
  line-height: 1;
}

.description__inner {
  position: relative;
  z-index: 1;
  background: var(--brand-primary);
  margin-top: -0.35em;
  padding: calc(80px + 0.35em) 48px 100px;
  text-align: center;
}

.description__heading {
  font-size: var(--text-display);
  line-height: 1;
  margin: 0 0 0px;
}

.description__heading-regular {
  font-weight: 300;
  color: #000;
}

.description__heading-bold {
  font-weight: 900;
  color: #fff;
}

.description__recipe {
  font-weight: 300;
  font-size: var(--text-xxl);
  color: #fff;
  margin: 0 0 0px;
  letter-spacing: 0.02em;
  text-align: center;
}

.description__recipe-bold {
  font-weight: 900;
}

.description__subtitle {
  font-weight: 300;
  font-size: var(--text-xl);
  color: #fff;
  margin: 0 0 60px;
  letter-spacing: 0.02em;
}

.description__subtitle-bold {
  font-weight: 900;
}

.description__body {
  font-weight: 300;
  font-size: var(--text-lg);
  line-height: 1;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* --- WORK --- */
.work {
  padding: 100px 0 100px;
  background: var(--brand-highlight);
  overflow: hidden;
}

.work__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

.work__heading {
  font-size: var(--text-display);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 80px;
  text-align: center;
}

.work__heading-regular {
  font-weight: 300;
  color: var(--brand-ink-muted);
}

.work__heading-bold {
  font-weight: 900;
  color: var(--brand-primary);
}

.work__container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
  position: relative;
}

.work__list {
  border-top: 0px solid var(--brand-ink);
}

.work__item {
  border-bottom: 1px solid rgba(43, 26, 42, 0.1);
  cursor: default;
  transition: background 0.25s ease;
}

.work__item:hover {
  background: rgba(236, 17, 100, 0.06);
}

.work__item-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 14px 0;
}

.work__item-name {
  font-weight: 900;
  font-size: var(--text-md);
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1.1;
}

.work__item:hover .work__item-name {
  color: var(--brand-primary);
}

.work__item-desc {
  font-weight: 300;
  font-size: var(--text-md);
  color: var(--brand-ink-muted);
  line-height: 1.4;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work__item:hover .work__item-desc {
  color: var(--brand-primary);
}

.work__item-desc::before {
  content: none;
}

.work__preview {
  position: sticky;
  top: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 500px;
  overflow: visible;
  margin-right: -48px;
}

.work__preview-img {
  width: 700px;
  height: 480px;
  border-radius: 12px 0 0 12px;
  background: var(--brand-accent);
  transform: rotate(2deg) translateX(60px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  box-shadow: 0 20px 60px rgba(43, 26, 42, 0.15);
}

.work__preview-img--visible {
  opacity: 1;
}

/* --- SERVICES --- */
.services {
  padding: 100px 48px 60px;
  background: var(--brand-surface);
}

.services__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services__heading {
  font-weight: 300;
  font-size: var(--text-display);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-ink-muted);
  margin-bottom: 0px;
  text-align: center;
}

.services__heading-accent {
  font-weight: 900;
  color: var(--brand-primary);
}

.services__subtitle {
  text-align: center;
  font-weight: 300;
  font-size: var(--text-xl);
  color: var(--brand-ink-muted);
  margin-bottom: 30px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.services__item {
  padding: 28px 36px;
  border-bottom: 1px solid rgba(43, 26, 42, 0.1);
  transition: background 0.25s ease;
}

.services__item:nth-child(odd) {
  text-align: right;
  border-right: 1px solid rgba(43, 26, 42, 0.1);
}

.services__item:nth-child(even) {
  text-align: left;
}

.services__item:hover {
  background: var(--brand-highlight);
}

.services__name {
  font-weight: 900;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  color: var(--brand-ink);
  margin-bottom: 4px;
  color: #EC1164;
}

.services__sub {
  font-weight: 300;
  font-size: var(--text-md);
  color: var(--brand-ink-muted);
  text-wrap: balance;
}

/* --- CLIENTS --- */
.clients {
  padding: 40px 48px 60px;
  background: var(--brand-surface);
  overflow: hidden;
}

.clients__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.clients__heading {
  text-align: center;
  font-weight: 300;
  font-size: var(--text-xl);
  color: var(--brand-ink-muted);
  margin-bottom: 40px;
}

.clients__heading-accent {
  font-weight: 900;
  color: var(--brand-primary);
}

.clients__carousel {
  position: relative;
  height: 160px;
}

.clients__group {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  pointer-events: none;
}

/* Each logo inside a group is individually animated */
.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.clients__logo img {
  display: block;
  width: 160px;
  height: 160px;
}

/* Entering: staggered top-to-bottom fade in */
.clients__group--entering .clients__logo {
  opacity: 1;
  transform: translateY(0);
}
.clients__group--entering .clients__logo:nth-child(1) { transition-delay: 0ms; }
.clients__group--entering .clients__logo:nth-child(2) { transition-delay: 100ms; }
.clients__group--entering .clients__logo:nth-child(3) { transition-delay: 200ms; }
.clients__group--entering .clients__logo:nth-child(4) { transition-delay: 300ms; }

/* Visible / holding */
.clients__group--visible .clients__logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}
.clients__group--visible {
  pointer-events: auto;
}

/* Exiting: staggered fade out moving up */
.clients__group--exiting .clients__logo {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.clients__group--exiting .clients__logo:nth-child(1) { transition-delay: 0ms; }
.clients__group--exiting .clients__logo:nth-child(2) { transition-delay: 80ms; }
.clients__group--exiting .clients__logo:nth-child(3) { transition-delay: 160ms; }
.clients__group--exiting .clients__logo:nth-child(4) { transition-delay: 240ms; }

/* --- ABOUT --- */
.about {
  position: relative;
  padding: 150px 48px;
  background: var(--brand-surface);
  color: var(--brand-ink);
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about__motto {
  font-weight: 300;
  font-size: var(--text-xl);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--brand-ink-muted);
  margin-bottom: 60px;
}

.about__motto-bold {
  font-weight: 900;
  color: var(--brand-primary);
}

.about__stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__stat-top {
  font-weight: 300;
  font-size: var(--text-md);
  color: var(--brand-ink-muted);
  letter-spacing: 0.02em;
}

.about__stat-number {
  font-weight: 900;
  font-size: var(--text-hero);
  line-height: 1;
  color: var(--brand-primary);
  letter-spacing: -0.03em;
}

.about__stat-label {
  font-weight: 300;
  font-size: var(--text-md);
  color: var(--brand-ink-muted);
  margin-top: 0px;
  letter-spacing: 0.02em;
}

.about__stat-label-bold {
  font-size: var(--text-md);
  font-weight: 900;
  color: var(--brand-ink-muted);
}

/* --- CONTACT --- */
.contact {
  position: relative;
  z-index: 5;
  padding: 0;
  background: linear-gradient(to bottom, var(--brand-surface) 0%, #f0eaf8 30%, var(--brand-surface) 100%);
  text-align: center;
}

.contact__cloud-separator {
  position: relative;
  z-index: 2;
  width: 100%;
  line-height: 0;
}

.contact__cloud-separator picture {
  display: contents;
}

.contact__cloud-separator-img {
  display: block;
  width: 100%;
  height: auto;
}

.contact__factory {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: -23vw;
}

.contact__factory picture {
  display: contents;
}

.contact__factory-img {
  width: clamp(400px, 80%, 1000px);
  height: auto;
  display: block;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 60px;
}

.contact__cta {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

.contact__email-line {
  text-align: center;
  margin-bottom: 24px;
}

.contact__label {
  font-weight: 300;
  font-size: var(--text-xl);
  color: var(--brand-ink-muted);
}

.contact__email {
  font-weight: 900;
  font-size: var(--text-md);
  color: var(--brand-primary);
  transition: color 0.25s ease;
}

.contact__email:hover {
  color: var(--brand-ink-muted);
}

.contact__social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  transition: background 0.25s ease;
}

.contact__social-link:hover {
  background: var(--brand-primary-dark);
}

.contact__social-link svg {
  width: 18px;
  height: 18px;
}

/* --- FOOTER --- */
.footer {
  padding: 24px 48px;
  background: var(--brand-primary);
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-weight: 400;
  font-size: var(--text-sm);
  color: #ffffff;
  letter-spacing: 0.03em;
}

.footer__privacy {
  font-weight: 400;
  font-size: var(--text-sm);
  color: #ffffff;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.footer__privacy:hover {
  opacity: 0.75;
}


/* ============================================
   RESPONSIVE — Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
  .navbar__inner {
    padding: 14px 24px;
  }

  .navbar--compact .navbar__inner {
    padding: 10px 24px;
  }

  .navbar__logo svg {
    height: 22px;
  }

  .navbar__links {
    display: none;
  }

  .navbar__burger {
    display: flex;
  }

  :root { --navbar-h: 50px; }

  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
    max-height: 100svh;
  }

  .hero__scroll-icon {
    width: 30px;
  }

  .hero__title {
    font-size: clamp(1.4rem, 5vw, 2.4rem);
  }

  .description__label {
    padding: 40px 24px 0;
  }

  .description__inner {
    padding: 60px 24px 80px;
  }

  .work {
    padding: 60px 0 80px;
  }

  .work__inner {
    padding: 0 24px;
  }

  .work__heading {
    margin-bottom: 40px;
  }

  .work__container {
    grid-template-columns: 1fr;
  }

  .work__preview {
    display: none;
  }

  .work__item-img {
    display: block;
  }

  .work__item-desc {
    white-space: normal;
  }

  .work__item-content {
    gap: 4px;
  }

  .services {
    padding: 80px 24px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__item:nth-child(odd) {
    border-right: none;
    text-align: left;
  }

  .clients {
    padding: 60px 24px;
  }

  .clients__carousel {
    height: 360px;
  }

  .clients__group {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }


  .about {
    padding: 60px 24px;
  }

  .about__stats {
    gap: 40px;
  }

  .clients {
    padding: 30px 24px 40px;
  }

  .contact__inner {
    padding: 30px 24px 50px;
  }

  .contact__factory-img {
    width: 100vw;
  }

  .footer {
    padding: 20px 24px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    aspect-ratio: auto;
    height: 100svh;
    min-height: 0;
  }

}

/* ============================================
   RESPONSIVE — Mobile (375px)
   ============================================ */
@media (max-width: 480px) {
  .navbar__inner {
    padding: 12px 16px;
  }

  .navbar--compact .navbar__inner {
    padding: 8px 16px;
  }

  .navbar__logo svg {
    height: 18px;
  }

  .lang-toggle__btn {
    padding: 3px 8px;
    font-size: 0.6rem;
  }

  :root { --navbar-h: 46px; }

  .hero {
    aspect-ratio: 9 / 16;
  }

  .hero__text {
    bottom: 10%;
  }

  .hero__scroll-icon {
    width: 26px;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__subtitle {
    font-size: var(--text-lg);
    padding: 0 20px;
  }

  .description__subtitle {
    font-size: var(--text-base);
  }

  .hero__title {
    white-space: normal;
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .description__label {
    padding: 30px 16px 0;
  }

  .description__inner {
    padding: 40px 16px 60px;
  }

  .work__inner {
    padding: 0 16px;
  }

  .services {
    padding: 60px 16px;
  }

  .services__item {
    padding: 24px 20px;
  }

  .clients {
    padding: 40px 16px;
  }

  .about {
    padding: 40px 16px;
  }

  .about__stats {
    gap: 30px;
    flex-direction: column;
  }

  .about__stat-number {
    font-size: 3.5rem;
  }

  .clients {
    padding: 20px 16px 30px;
  }

  .contact__inner {
    padding: 20px 16px 40px;
  }

  .contact__factory-img {
    width: 95vw;
  }

  .footer {
    padding: 16px 16px;
  }
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
