:root {
  --brand-teal: #005850;
  --brand-teal-deep: #003d38;
  --brand-cyan: #32c9bb;
  --brand-cyan-soft: #3ab9da;
  --brand-blue: #3cb4e5;
  --ink: #ffffff;
  --ink-muted: rgba(255, 255, 255, 0.82);
  --surface-dark: #0d0f14;
  --line: rgba(255, 255, 255, 0.35);
  --radius-player: 20px;
  --radius-player-m: 10px;
  --radius-btn: 10px;
  --radius-gallery: 50px;
  --content: 844px;
  --page: 1440px;
  --font: IRANSansX, Tahoma, sans-serif;
  --space-section: clamp(2.5rem, 5vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: #005850;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font-family: inherit;
}

.page {
  position: relative;
  overflow: clip;
  isolation: isolate;
  min-height: 100vh;
}

/* ===== Layered background matching Figma exports ===== */
.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__base {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #005850 0%,
    #005048 28%,
    #00443e 55%,
    #003530 78%,
    #001f1c 100%
  );
}

.bg__ellipse-left {
  position: absolute;
  left: -42%;
  top: 18%;
  width: min(120vw, 1206px);
  height: auto;
  opacity: 0.95;
  mix-blend-mode: screen;
  will-change: transform;
}

.bg__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  height: clamp(200px, 36vw, 520px);
  object-fit: fill;
  object-position: right top;
  opacity: 0.85;
  mix-blend-mode: screen;
  pointer-events: none;
}

.bg__liquid {
  position: absolute;
  left: -8%;
  top: -2%;
  width: min(58vw, 720px);
  height: auto;
  opacity: 0.42;
  mix-blend-mode: screen;
  filter: saturate(1.05) contrast(1.05);
}

.bg__ellipse-bottom {
  position: absolute;
  left: 50%;
  bottom: -8%;
  transform: translateX(-50%);
  width: min(110vw, 1440px);
  height: auto;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

/* Hero */
.hero {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.brand-lockup {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.brand-lockup__sheen {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.brand-lockup__img {
  width: min(100%, 428px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
  transform: rotate(var(--tilt, 0deg));
  transform-origin: center;
}

.brand-lockup__sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    transparent 0%,
    rgba(50, 201, 187, 0.4) 42%,
    transparent 72%
  );
  transform: translateX(120%);
  opacity: 0;
  pointer-events: none;
}

html.is-ready .brand-lockup {
  animation: lockup-form 0.9s ease both;
}

html.is-ready .brand-lockup__sheen::after {
  animation: sheen-once 0.85s 0.42s ease forwards;
}

.hero__copy {
  margin: 0 auto;
  max-width: 52rem;
  font-size: clamp(0.92rem, 1.35vw, 1.05rem);
  font-weight: 400;
  color: #fff;
  text-align: justify;
  text-align-last: right;
}

.hero__copy-body,
.hero__copy p {
  text-align: justify;
  text-align-last: right;
}

html.is-ready .hero__copy {
  animation: rise 0.9s 0.38s ease both;
}

.hero__copy p {
  margin: 0 0 1.1em;
}

.hero__copy-body p:last-child {
  margin-bottom: 0;
}

.readmore {
  display: none;
}

.hero__copy strong {
  font-weight: 700;
  color: #fff;
}

.reg {
  font-size: 0.65em;
  line-height: 0;
  position: relative;
  top: -0.45em;
  vertical-align: baseline;
  font-weight: inherit;
}

/* Sections */
.section {
  padding-block: var(--space-section);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  text-align: right;
  color: #fff;
}

.section-title::after {
  content: "";
  flex: 1 1 auto;
  min-width: 2.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  transform-origin: right center;
}

/* Player */
.player-block {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
  margin-bottom: 0.5rem;
}

.player {
  position: relative;
  aspect-ratio: 16 / 7.4;
  border-radius: var(--radius-player);
  overflow: hidden;
  background: #000;
  isolation: isolate;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.4s ease, transform 0.7s ease, opacity 0.7s ease;
}

html.is-ready .section:not(.is-in) .player {
  opacity: 0;
  transform: scale(0.98);
}

.player:hover {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(50, 201, 187, 0.38);
}

.player__media,
.player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player__media {
  display: block;
  background: #000;
  z-index: 0;
  opacity: 0;
}

.player.is-playing:not(.is-buffering) .player__media {
  opacity: 1;
}

.player__poster {
  z-index: 1;
  transition: opacity 0.45s ease;
}

.player.is-playing:not(.is-buffering) .player__poster {
  opacity: 0;
  pointer-events: none;
}

.player__buffer {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: none;
  grid-auto-flow: row;
  align-content: center;
  justify-items: center;
  gap: 0.85rem;
  pointer-events: none;
  background: rgba(13, 15, 20, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.player.is-buffering .player__buffer {
  display: grid;
}

.player.is-buffering .player__ui {
  opacity: 1;
  pointer-events: auto;
}

.player.is-buffering .player__center {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player__buffer-ring {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 3px solid rgba(50, 201, 187, 0.28);
  border-inline-start-color: #32c9bb;
  animation: buffer-spin 0.85s linear infinite;
}

.player__buffer-label {
  padding: 0.42rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 13, 16, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
}

.player__ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.player.is-playing:not(.is-ui-on):not(.is-buffering) .player__ui {
  opacity: 0;
  pointer-events: none;
}

.player__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(13, 15, 20, 0.55) 78%, rgba(13, 15, 20, 0.88));
  pointer-events: none;
}

.player__top {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  left: auto;
  display: flex;
  flex-direction: row;
  gap: 0.45rem;
  z-index: 4;
  direction: ltr;
}

.glass-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.glass-btn:hover {
  background: rgba(0, 0, 0, 0.42);
  transform: translateY(-1px);
}

.glass-btn svg,
.ctrl svg {
  display: block;
  transition: opacity 0.35s ease;
}

.glass-btn {
  position: relative;
}

.glass-btn .icon-expand,
.glass-btn .icon-compress {
  grid-area: 1 / 1;
}

.ctrl--play {
  position: relative;
}

.ctrl--play .icon-play,
.ctrl--play .icon-pause {
  position: absolute;
  inset: 0;
  margin: auto;
}

.glass-btn .icon-compress,
.ctrl--play .icon-pause {
  opacity: 0;
}

.player.is-fullscreen .glass-btn .icon-expand,
.player.is-playing .ctrl--play .icon-play {
  opacity: 0;
}

.player.is-fullscreen .glass-btn .icon-compress,
.player.is-playing .ctrl--play .icon-pause {
  opacity: 1;
}

.player__center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  z-index: 2;
  direction: ltr;
  pointer-events: none;
}

.player__center .ctrl {
  pointer-events: auto;
}

.ctrl {
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0;
}

.ctrl--play {
  width: 4.35rem;
  height: 4.35rem;
}

.ctrl:hover {
  transform: scale(1.06);
  background: rgba(0, 0, 0, 0.4);
}

.ctrl.is-seek-spin svg {
  animation: seek-spin 0.55s ease;
}

.player__bottom {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1rem;
  z-index: 4;
  display: grid;
  gap: 0.55rem;
  direction: ltr;
}

.player__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.player__time {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.player__meta [data-title] {
  text-align: right;
  direction: rtl;
  margin-inline-start: auto;
}

.progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  border: 0;
  outline: none;
  cursor: pointer;
  direction: ltr;
  background: linear-gradient(
    to right,
    #fff 0%,
    #fff var(--p, 0%),
    rgba(217, 217, 217, 0.35) var(--p, 0%),
    rgba(217, 217, 217, 0.35) 100%
  );
}

.progress::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
  transition: box-shadow 0.2s ease;
}

.progress:active::-webkit-slider-thumb,
.progress:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.28);
}

.progress::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(217, 217, 217, 0.35);
}

.progress::-moz-range-progress {
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
}

.player:fullscreen,
.player:-webkit-full-screen,
.player.is-fs-fallback {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
}

.player.is-fs-fallback {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100vw;
  height: 100vh;
  height: -webkit-fill-available;
  height: 100dvh;
  max-width: none;
}

body.is-player-fs {
  overflow: hidden;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(58, 185, 218, 0.55);
  background: rgba(58, 185, 218, 0.2);
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    transparent 10%,
    rgba(50, 201, 187, 0.38) 48%,
    transparent 80%
  );
  transform: translateX(120%);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.btn:hover {
  background: rgba(58, 185, 218, 0.32);
  border-color: rgba(58, 185, 218, 0.85);
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn__icon {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.btn:active .btn__icon {
  transform: translateY(2px);
}

.btn--wide {
  width: fit-content;
  max-width: min(100%, 320px);
  min-width: 0;
  min-height: 51px;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.btn--wide .btn__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.player-block__actions {
  display: flex;
  justify-content: flex-start;
}

html.is-ready .section:not(.is-in) .player-block__actions {
  opacity: 0;
  transform: translateY(10px);
}

.section.is-in .player-block__actions {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s 0.16s ease, transform 0.6s 0.16s ease;
}

html.is-ready .section:not(.is-in) .section-title {
  opacity: 0;
  transform: translateY(12px);
}

.section.is-in .section-title {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

html.is-ready .section:not(.is-in) .section-title::after {
  transform: scaleX(0);
}

.section.is-in .section-title::after {
  transform: scaleX(1);
  transition: transform 0.8s 0.12s ease;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

.gallery__item {
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
  border-radius: var(--radius-gallery);
  overflow: hidden;
  border: 1px solid rgba(230, 230, 230, 0.55);
  background: #111;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease, outline-offset 0.2s ease, opacity 0.35s ease, filter 0.35s ease;
}

html.is-ready .gallery[data-reveal-stagger] .gallery__item {
  opacity: 0;
  transform: translateX(18px);
}

.section.is-in .gallery[data-reveal-stagger] .gallery__item {
  opacity: 1;
  transform: none;
  transition: transform 0.7s ease, opacity 0.7s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.section.is-in .gallery[data-reveal-stagger] .gallery__item:nth-child(1) {
  transition-delay: 0.04s;
}

.section.is-in .gallery[data-reveal-stagger] .gallery__item:nth-child(2) {
  transition-delay: 0.12s;
}

.section.is-in .gallery[data-reveal-stagger] .gallery__item:nth-child(3) {
  transition-delay: 0.2s;
}

.gallery:hover .gallery__item:not(:hover) {
  opacity: 0.72;
  filter: brightness(0.82);
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.gallery__item:focus-visible {
  outline: 2px solid rgba(58, 185, 218, 0.9);
  outline-offset: 3px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
  transition: transform 0.85s ease;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 18, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox:not([hidden]) .lightbox__backdrop {
  opacity: 1;
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 0.5rem;
}

.lightbox__close {
  grid-column: 1 / -1;
  justify-self: end;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(0, 0, 0, 0.55);
}

.lightbox__figure {
  margin: 0;
  grid-column: 2;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.lightbox__img {
  width: auto;
  max-width: min(100%, 900px);
  max-height: min(72vh, 720px);
  border-radius: 18px;
  border: 1px solid rgba(230, 230, 230, 0.35);
  background: #0a0a0a;
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transform-origin: top left;
}

.lightbox__img.is-slide-next {
  animation: lb-in-next 0.4s ease;
}

.lightbox__img.is-slide-prev {
  animation: lb-in-prev 0.4s ease;
}

.lightbox__caption {
  margin: 0;
  max-width: 36rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  direction: rtl;
}

.lightbox__nav {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  align-self: center;
}

.lightbox__nav:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: scale(1.04);
}

.lightbox__nav--prev {
  grid-column: 1;
  grid-row: 2;
}

.lightbox__nav--next {
  grid-column: 3;
  grid-row: 2;
}

.lightbox__counter {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.25s ease;
}

body.is-lightbox-open {
  overflow: hidden;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.site-footer__brand {
  width: min(110px, 29vw);
  height: auto;
  margin: 0 auto 1.75rem;
}

html.is-ready .site-footer:not(.is-in) .site-footer__brand {
  opacity: 0;
}

.site-footer.is-in .site-footer__brand {
  animation: rise 0.7s ease both;
}

html.is-ready .site-footer:not(.is-in) .site-footer__rule {
  transform: scaleX(0);
  transform-origin: center;
}

.site-footer__rule {
  width: min(100%, 780px);
  height: 1px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  transform-origin: center;
}

.site-footer.is-in .site-footer__rule {
  transform: scaleX(1);
  transition: transform 0.8s 0.12s ease;
}

.site-footer .btn {
  margin-inline: auto;
}

html.is-ready .site-footer:not(.is-in) .btn {
  opacity: 0;
}

.site-footer.is-in .btn {
  animation: rise 0.7s 0.18s ease both;
}

/* Motion */
@keyframes rise {
  from {
    transform: translateY(16px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes lockup-form {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes sheen-once {
  0% {
    transform: translateX(120%);
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(-120%);
    opacity: 0;
  }
}

@keyframes seek-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes buffer-spin {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes lb-in-next {
  from {
    opacity: 0.35;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes lb-in-prev {
  from {
    opacity: 0.35;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wave-drift {
  from {
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  }
  to {
    transform: translate3d(calc(var(--px, 0px) - 18px), var(--py, 0px), 0);
  }
}

@keyframes gel-breathe {
  0%,
  100% {
    opacity: 0.34;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  }
  50% {
    opacity: 0.42;
    transform: translate3d(calc(var(--px, 0px) * -1), calc(var(--py, 0px) * -1), 0);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1);
  }
  50% {
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04);
  }
}

@keyframes fade-only {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes glow-pulse-bottom {
  0%,
  100% {
    transform: translateX(-50%) translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1);
  }
  50% {
    transform: translateX(-50%) translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.04);
  }
}

@media (min-width: 768px) {
  html.is-ready .bg__wave {
    animation: wave-drift 28s ease-in-out infinite alternate;
  }

  html.is-ready .bg__liquid {
    animation: gel-breathe 14s ease-in-out infinite;
  }

  html.is-ready .bg__ellipse-left {
    animation: glow-pulse 16s ease-in-out infinite;
  }

  html.is-ready .bg__ellipse-bottom {
    animation: glow-pulse-bottom 16s ease-in-out infinite;
  }
}

:focus-visible {
  outline: 2px solid rgba(58, 185, 218, 0.9);
  outline-offset: 3px;
  transition: outline-offset 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  html.is-ready .brand-lockup,
  html.is-ready .hero__copy {
    animation: none;
  }

  .site-footer.is-in .site-footer__brand {
    animation: fade-only 0.28s ease both;
  }

  .brand-lockup__sheen::after,
  .preloader__sheen,
  html.is-ready .bg__wave,
  html.is-ready .bg__liquid,
  html.is-ready .bg__ellipse-left,
  html.is-ready .bg__ellipse-bottom,
  .ctrl.is-seek-spin svg,
  .player__buffer-ring,
  .lightbox__img.is-slide-next,
  .lightbox__img.is-slide-prev {
    animation: none !important;
  }

  .gallery__item:hover img {
    transform: none;
  }

  html.is-ready .section:not(.is-in) .section-title {
    transform: none;
  }

  .section.is-in .section-title {
    transition: opacity 0.28s ease;
  }

  html.is-ready .section:not(.is-in) .section-title::after,
  .section.is-in .section-title::after {
    transform: none;
    transition: none;
  }
}

/* Tablet ≈ desktop scaled */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 2.5rem, 720px);
  }

  .player {
    aspect-ratio: 16 / 8;
  }
}

/* Mobile */
@media (max-width: 767px) {
  :root {
    --radius-player: var(--radius-player-m);
  }

  .bg__liquid {
    left: -18%;
    top: 4%;
    width: 55vw;
    max-height: 42vh;
    object-fit: contain;
    object-position: left top;
    opacity: 0.34;
  }

  .bg__ellipse-left {
    left: -70%;
    top: 12%;
    width: 160vw;
    opacity: 0.75;
  }

  .bg__wave {
    width: 100%;
    left: 0;
    right: 0;
    height: clamp(160px, 48vw, 320px);
    opacity: 0.75;
  }

  .bg__ellipse-bottom {
    width: 140vw;
    bottom: -6%;
  }

  .container {
    width: min(100% - 1.25rem, 402px);
  }

  .hero {
    padding-top: 2.75rem;
  }

  .brand-lockup__img {
    width: min(100%, 280px);
  }

  .brand-lockup {
    opacity: 1;
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: justify;
    text-align-last: right;
    font-size: 0.9rem;
    line-height: 1.95;
    opacity: 1;
  }

  html.is-ready .brand-lockup,
  html.is-ready .hero__copy {
    animation: none;
  }

  .hero__copy-body {
    width: 100%;
    text-align: justify;
    text-align-last: right;
    transition: opacity 0.35s ease;
  }

  .hero__copy:not(.is-open) .hero__copy-body {
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }

  .readmore {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.15rem auto 0;
    padding: 0.42rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(0, 13, 16, 0.28);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, height 0.45s ease;
  }

  .readmore::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to left,
      transparent 10%,
      rgba(50, 201, 187, 0.28) 48%,
      transparent 80%
    );
    transform: translateX(120%);
    pointer-events: none;
  }

  .readmore:hover::after {
    transform: translateX(-120%);
    transition: transform 0.6s ease;
  }

  .hero__copy:not(.is-open) .readmore {
    margin-top: -1.35rem;
  }

  .readmore:hover,
  .readmore:focus-visible {
    background: rgba(0, 13, 16, 0.42);
    border-color: rgba(50, 201, 187, 0.55);
  }

  .readmore__chevron {
    display: block;
    flex-shrink: 0;
    transition: transform 0.35s ease;
  }

  .hero__copy.is-open .readmore__chevron {
    transform: rotate(180deg);
  }

  .section-title {
    display: block;
    text-align: center;
    gap: 0;
  }

  .section-title::after {
    display: none;
  }

  .player {
    aspect-ratio: 16 / 9;
    border-radius: 9px;
  }

  .player__top {
    top: 0.45rem;
    right: 0.45rem;
    gap: 0.3rem;
  }

  .glass-btn {
    width: 2.1rem;
    height: 2.1rem;
  }

  .ctrl {
    width: 2.5rem;
    height: 2.5rem;
  }

  .ctrl--play {
    width: 3.25rem;
    height: 3.25rem;
  }

  .player__bottom {
    inset-inline: 0.75rem;
    bottom: 0.7rem;
  }

  .player-block__actions {
    justify-content: center;
  }

  .btn {
    width: auto;
    max-width: none;
    padding: 0.4rem 0.7rem;
  }

  .btn--wide {
    width: fit-content;
    max-width: min(100%, 320px);
    min-width: 0;
    min-height: 51px;
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: min(100%, 280px);
    margin-inline: auto;
  }

  .gallery__item {
    border-radius: 36px;
  }

  .lightbox__panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    width: min(100%, 420px);
    gap: 0.65rem;
  }

  .lightbox__close {
    grid-column: 1;
  }

  .lightbox__figure {
    grid-column: 1;
    order: 1;
  }

  .lightbox__img {
    max-height: 58vh;
    border-radius: 14px;
  }

  .lightbox__nav {
    position: absolute;
    top: 52%;
    transform: translateY(-50%);
  }

  .lightbox__nav--prev {
    grid-column: auto;
    grid-row: auto;
    left: 0.15rem;
    right: auto;
  }

  .lightbox__nav--next {
    grid-column: auto;
    grid-row: auto;
    right: 0.15rem;
    left: auto;
  }

  .lightbox__counter {
    grid-column: 1;
  }
}
