.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.overlay-nav[hidden] {
  display: none;
}

.overlay-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.newsletter-form :disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (min-width: 769px) {
  .site-header__inner {
    position: relative;
  }

  .site-header__left,
  .site-header__right {
    min-width: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-header__left {
    right: clamp(28px, 3.5vw, 56px);
    left: auto;
    display: flex;
    align-items: center;
  }

  .site-header__right {
    left: clamp(28px, 3.5vw, 56px);
    right: auto;
    gap: 8px;
  }

  .site-header__right .icon-button {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .desktop-nav {
    display: block;
  }

  .desktop-nav ul {
    align-items: center;
    gap: clamp(18px, 1.8vw, 28px);
  }

  .desktop-nav a {
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
  }

  .site-brand__text {
    font-size: 30px;
  }

  .menu-toggle {
    display: none;
  }
}


/* v1.3.1 adjustments: true centered brand, cleaner hero rhythm */
.site-header__inner {
  position: relative;
}

.site-header__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: min(42vw, 360px);
  justify-self: auto;
  z-index: 3;
}

.site-brand__text {
  display: inline-block;
  text-align: center;
  font-size: clamp(24px, 2.15vw, 33px);
  letter-spacing: 0.30em;
  padding-left: 0.30em;
  white-space: nowrap;
}

.site-header__left,
.site-header__right {
  z-index: 4;
}

.hero__content {
  max-width: min(620px, 72vw);
}

.hero__eyebrow {
  margin: 0 0 18px;
  font-size: clamp(11px, 0.9vw, 13px);
  line-height: 1.7;
  font-weight: 500;
}

.hero__title {
  max-width: 11ch;
  margin: 0 0 24px;
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__content .button {
  min-height: 46px;
  padding: 13px 28px;
}

@media (max-width: 768px) {
  .site-header__brand {
    max-width: 56vw;
  }

  .site-brand__text {
    font-size: clamp(18px, 4.8vw, 24px);
    letter-spacing: 0.24em;
    padding-left: 0.24em;
  }

  .hero__content {
    max-width: min(92vw, 420px);
  }

  .hero__eyebrow {
    margin-bottom: 14px;
  }

  .hero__title {
    max-width: 10ch;
    margin-bottom: 20px;
    font-size: clamp(2.35rem, 11vw, 4.25rem);
    line-height: 1.12;
  }
}


/* v1.3.2 — header scale/position and automatic hero entrance */
@media (min-width: 769px) {
  .desktop-nav a {
    font-size: 14px;
    font-weight: 500;
  }

  .site-header__right .icon-button {
    width: 50px;
    height: 50px;
  }

  .site-header__right .icon-button svg {
    width: 22px;
    height: 22px;
  }

  .site-brand__text {
    font-size: clamp(27px, 2.25vw, 35px);
  }
}

.site-header__brand {
  top: calc(50% + 5px);
}

.hero[data-hero] .hero__eyebrow,
.hero[data-hero] .hero__title,
.hero[data-hero] .hero__content .button {
  opacity: 0;
  transform: translateY(22px);
}

.hero[data-hero]:not(.is-ready) .hero__slide.is-active .hero__media {
  transform: scale(1.06);
}

.hero[data-hero].is-ready .hero__slide.is-active .hero__media {
  transform: scale(1);
}

.hero[data-hero].is-ready .hero__slide.is-active.is-entering .hero__eyebrow {
  animation: bertaHeroEnter .72s var(--ease) .10s both;
}

.hero[data-hero].is-ready .hero__slide.is-active.is-entering .hero__title {
  animation: bertaHeroEnter .82s var(--ease) .20s both;
}

.hero[data-hero].is-ready .hero__slide.is-active.is-entering .hero__content .button {
  animation: bertaHeroEnter .72s var(--ease) .34s both;
}

@keyframes bertaHeroEnter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .site-header__brand {
    top: calc(50% + 3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero[data-hero] .hero__eyebrow,
  .hero[data-hero] .hero__title,
  .hero[data-hero] .hero__content .button {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}


/* v1.3.3 — two-word hero titles stay on one line */
.hero__title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.55rem, 5.15vw, 4.8rem);
}

@media (max-width: 768px) {
  .hero__title {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.15rem, 9.6vw, 3.8rem);
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: clamp(1.95rem, 9vw, 2.55rem);
  }
}


/* v1.5.1 — slightly larger, clearer desktop navigation. */
@media (min-width: 769px) {
  .desktop-nav a {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
  }

  html[lang^="fa"] .desktop-nav a {
    font-size: 15.5px;
  }
}

@media (min-width: 769px) and (max-width: 1180px) {
  .desktop-nav ul {
    gap: 16px;
  }

  .desktop-nav a,
  html[lang^="fa"] .desktop-nav a {
    font-size: 13.5px;
  }
}
