/* =================================
   BASE
================================= */

:root {
  --font-main: "Manrope", sans-serif;
  --font-display: "Cormorant Garamond", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background:
    radial-gradient(circle at top, #1c1519 0%, var(--bg) 46%);
}

body.is-loading {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

section,
footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

section {
  padding: 68px 0;
}


/* =================================
   HEADER
================================= */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 100;
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  padding: 0 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.018)
    ),
    rgba(7, 7, 11, 0.44);

  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 60px rgba(0, 0, 0, 0.28);
}

.site-logo {
  color: rgba(255, 255, 255, 0.58);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.45em;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.24);

  transition:
    color 240ms ease,
    letter-spacing 240ms ease,
    text-shadow 240ms ease;
}

.site-logo:hover {
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.38em;

  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.08),
    0 0 22px rgba(232, 181, 106, 0.28),
    0 0 40px rgba(232, 181, 106, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.24);

  transition:
    color 220ms ease,
    text-shadow 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;

  width: 100%;
  height: 1px;

  opacity: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(232, 181, 106, 0.72),
      transparent
    );

  box-shadow:
    0 0 12px rgba(232, 181, 106, 0.28);

  transition: opacity 220ms ease;
}

.site-nav a:hover {
  color: rgba(255, 255, 255, 0.96);

  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(232, 181, 106, 0.26),
    0 0 34px rgba(232, 181, 106, 0.14);
}

.site-nav a:hover::after {
  opacity: 1;
}


/* =================================
   HERO
================================= */

.hero-cinematic {
  position: relative;

  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.62) 28%,
      rgba(0, 0, 0, 0.20) 58%,
      rgba(0, 0, 0, 0.48) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.06) 42%,
      rgba(0, 0, 0, 0.74) 100%
    ),
    url("../assets/images/hero.jpeg");

  background-size: cover;
  background-position: 72% center;

  transform: scale(1.04);
  translate: var(--move-x, 0px) var(--move-y, 0px);

  animation:
    heroBreath 24s ease-in-out infinite alternate;

  transition:
    translate 180ms ease-out,
    opacity 1100ms ease,
    filter 1100ms ease;
}

.hero-noise {
  position: absolute;
  inset: 0;

  pointer-events: none;
  opacity: 0.045;

  background-image:
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.35) 0 1px,
      transparent 1px
    );

  background-size: 4px 4px;
  mix-blend-mode: overlay;

  translate:
    var(--noise-x, 0px)
    var(--noise-y, 0px);

  transition: translate 160ms ease-out;
}

.cinematic-content {
  position: relative;
  z-index: 2;

  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;

  padding-left: clamp(70px, 8vw, 150px);
  padding-top: 160px;

  text-align: left;

  transform: translateY(20px);
  translate:
    var(--text-x, 0px)
    var(--text-y, 0px);

  transition: translate 220ms ease-out;
}

.hero-kicker {
  margin: 0 0 10px;

  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  font-style: italic;

  color: rgba(255, 255, 255, 0.30);
  opacity: 0.72;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 22px rgba(0, 0, 0, 0.28);
}

.hero-title {
  display: flex;
  flex-direction: column;

  max-width: 680px;
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(52px, 6.4vw, 100px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.035em;

  color: transparent;

  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0.34) 34%,
      rgba(255, 255, 255, 0.58) 58%,
      rgba(255, 255, 255, 0.28) 78%,
      rgba(255, 255, 255, 0.52) 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 0.2px rgba(255, 255, 255, 0.12);

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.34);
}

.title-line {
  display: block;
}

.title-line-top {
  font-size: 0.82em;
}

.title-line-bottom {
  margin-top: -0.12em;
  font-size: 1.08em;
}

.hero-text {
  max-width: 430px;
  margin: 22px 0 0;

  color: rgba(255, 255, 255, 0.46);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
}


/* =================================
   LIQUID GLASS BUTTONS
================================= */

.cta-button,
.links a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.035) 48%,
      rgba(255, 255, 255, 0.075)
    );

  color: rgba(255, 255, 255, 0.74);

  -webkit-backdrop-filter:
    blur(24px)
    saturate(145%);
  backdrop-filter:
    blur(24px)
    saturate(145%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 12px 34px rgba(0, 0, 0, 0.18);

  transition:
    transform 240ms ease,
    color 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.cta-button {
  gap: 18px;
  margin-top: 26px;
  padding: 14px 27px;

  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.cta-button::before,
.links a::before {
  display: none;
  content: none;
}

.cta-button:hover,
.links a:hover {
  color: rgba(255, 255, 255, 0.96);

  border-color: rgba(232, 181, 106, 0.62);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.14),
      rgba(232, 181, 106, 0.09) 55%,
      rgba(255, 255, 255, 0.06)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 18px rgba(232, 181, 106, 0.20),
    0 0 42px rgba(232, 181, 106, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.22);

  transform: translateY(-2px);
}


/* =================================
   SHARED TYPOGRAPHY
================================= */

.section-heading {
  margin-bottom: 26px;
}

.section-label {
  margin: 0 0 16px;

  color: rgba(232, 181, 106, 0.78);

  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;

  text-shadow:
    0 0 10px rgba(232, 181, 106, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.22);
}

.section-heading h2,
.about-copy h2,
.collection-overlay h3,
#links h2 {
  color: transparent;

  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;

  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0.34) 34%,
      rgba(255, 255, 255, 0.58) 56%,
      rgba(255, 255, 255, 0.28) 76%,
      rgba(255, 255, 255, 0.52) 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke:
    0.2px rgba(255, 255, 255, 0.12);

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.34);
}

.section-heading h2 {
  margin: 0;

  font-size:
    clamp(36px, 4.3vw, 58px);

  line-height: 0.98;
}


/* =================================
   ABOUT
================================= */

.about-section {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 20px;
  align-items: center;

  padding-top: 78px;
  padding-bottom: 68px;
}

.about-copy {
  width: 100%;
  max-width: 280px;

  justify-self: end;
  padding-right: 4px;
}

.about-copy h2 {
  max-width: 270px;
  margin: 0;

  font-size:
    clamp(38px, 4.1vw, 58px);

  line-height: 1;
}

.about-copy > p:last-child {
  max-width: 300px;
  margin-top: 20px;

  color: rgba(255, 255, 255, 0.46);
  font-size: 16px;
  line-height: 1.65;
}

.about-media {
  min-height: 480px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;

  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.28);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;

  display: block;
  object-fit: cover;

  transition: transform 700ms ease;
}

.about-media:hover img {
  transform: scale(1.025);
}


/* =================================
   COLLECTIONS
================================= */

.collections-section {
  padding-top: 62px;
  padding-bottom: 68px;
}

.collections-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 12px;
}

.collection-card {
  position: relative;

  min-height: 360px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
}

.collection-card-large {
  min-height: 460px;
}

.collection-card img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition:
    transform 700ms ease,
    filter 700ms ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 48%,
      rgba(0, 0, 0, 0.70) 100%
    );
}

.collection-card:hover img {
  transform: scale(1.035);
  filter: brightness(1.05);
}

.collection-overlay {
  position: absolute;
  z-index: 2;

  left: 22px;
  right: 22px;
  bottom: 20px;
}

.collection-overlay span {
  color: rgba(255, 255, 255, 0.50);

  font-size: 11px;
  letter-spacing: 0.28em;
}

.collection-overlay h3 {
  margin: 5px 0 0;

  font-size:
    clamp(28px, 3vw, 42px);
}


/* =================================
   GALLERY
================================= */

.gallery-section {
  padding-top: 62px;
  padding-bottom: 68px;
}

.editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 58px;

  gap: 11px;
}

.gallery-card {
  grid-column: span 4;
  grid-row: span 5;

  min-width: 0;
  padding: 0;

  overflow: hidden;

  border: 0;
  border-radius: 20px;

  background: transparent;
  cursor: pointer;
}

.gallery-card-tall {
  grid-row: span 7;
}

.gallery-card-wide {
  grid-column: span 6;
  grid-row: span 5;
}

.gallery-card img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition:
    transform 650ms ease,
    filter 650ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
  filter: brightness(1.06);
}


/* =================================
   CUSTOM
================================= */

.custom-section {
  padding-top: 62px;
  padding-bottom: 68px;
}

.custom-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 195px;

  gap: 11px;
}

.custom-card {
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
}

.custom-card-main {
  grid-row: span 2;
}

.custom-card img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition:
    transform 650ms ease,
    filter 650ms ease;
}

.custom-card:hover img {
  transform: scale(1.035);
  filter: brightness(1.06);
}


/* =================================
   LINKS
================================= */

#links {
  padding-top: 62px;
  padding-bottom: 74px;
}

.links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  gap: 10px;
}

.links a {
  padding: 13px 12px;

  text-align: center;
  font-size: 13px;
}


/* =================================
   FOOTER
================================= */

footer {
  padding: 36px 0 48px;

  color: rgba(255, 255, 255, 0.46);

  border-top:
    1px solid rgba(255, 255, 255, 0.10);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;
  margin-top: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.58);

  transition:
    color 220ms ease,
    text-shadow 220ms ease;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.96);

  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.08),
    0 0 22px rgba(232, 181, 106, 0.26);
}


/* =================================
   INTRO SCREEN
================================= */

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  background: #050507;

  opacity: 1;
  transition:
    opacity 900ms ease,
    visibility 900ms ease;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-logo {
  color: rgba(255, 255, 255, 0.88);

  font-size: 20px;
  letter-spacing: 0.75em;

  transform: translateX(0.35em);
  opacity: 0;

  transition:
    opacity 900ms ease,
    letter-spacing 900ms ease;
}

.intro-logo.is-visible {
  opacity: 1;
  letter-spacing: 0.48em;
}


/* =================================
   INTRO ANIMATIONS
================================= */

.hero-bg,
.hero-kicker,
.hero-title,
.cta-button,
.hero-text,
.site-nav {
  opacity: 0;
}

.is-ready .hero-bg {
  opacity: 1;
}

.is-ready .hero-kicker {
  animation:
    introUp 900ms ease forwards;

  animation-delay: 200ms;
}

.is-ready .hero-title {
  opacity: 1;
}

.title-line-top,
.title-line-bottom {
  opacity: 0;
}

.is-ready .title-line-top {
  animation:
    introUp 900ms ease forwards;

  animation-delay: 620ms;
}

.is-ready .title-line-bottom {
  animation:
    introUp 900ms ease forwards;

  animation-delay: 920ms;
}

.is-ready .cta-button {
  animation:
    introUp 850ms ease forwards;

  animation-delay: 1150ms;
}

.is-ready .hero-text {
  animation:
    introUp 850ms ease forwards;

  animation-delay: 1500ms;
}

.is-ready .site-nav {
  animation:
    introDown 850ms ease forwards;

  animation-delay: 1850ms;
}

@keyframes introUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBreath {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.08);
  }
}


/* =================================
   TABLET
================================= */

@media (max-width: 900px) {
  section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-copy {
    justify-self: start;
    max-width: 100%;
    padding-right: 0;
  }

  .about-copy h2 {
    max-width: 420px;
  }

  .about-media,
  .about-media img {
    min-height: 440px;
  }

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

  .collection-card,
  .collection-card-large {
    min-height: 440px;
  }

  .editorial-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .gallery-card,
  .gallery-card-tall,
  .gallery-card-wide {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .custom-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 260px;
  }

  .custom-card-main {
    grid-column: span 2;
    grid-row: auto;
  }

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


/* =================================
   MOBILE
================================= */

@media (max-width: 760px) {
  section,
  footer {
    width: calc(100% - 24px);
  }

  .site-header {
    top: 10px;
  }

  .header-inner {
    width: calc(100% - 20px);
    height: auto;
    padding: 14px 16px;

    flex-direction: column;
    gap: 12px;

    border-radius: 24px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .site-nav a::after {
    bottom: -8px;
  }

  .hero-bg {
    background-position: 64% center;
  }

  .cinematic-content {
    width: calc(100% - 28px);

    padding-left: 0;
    padding-top: 155px;

    transform: translateY(0);
  }

  .hero-title {
    max-width: 430px;

    font-size:
      clamp(46px, 14vw, 78px);
  }

  .hero-text {
    max-width: 330px;
    font-size: 16px;
  }

  .about-media,
  .about-media img {
    min-height: 410px;
  }

  .collection-card,
  .collection-card-large {
    min-height: 420px;
  }

  .editorial-gallery,
  .custom-gallery {
    grid-template-columns: 1fr;
  }

  .custom-card-main {
    grid-column: auto;
  }

  .gallery-card,
  .gallery-card-tall,
  .gallery-card-wide,
  .custom-card {
    aspect-ratio: 4 / 5;
  }

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


/* =================================
   REDUCED MOTION
================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}/* =================================
   FINAL SIZE + HERO TITLE FIX
================================= */

/* Hero title — заметнее, но все еще стеклянный */

.hero-title {
  max-width: 760px;

  font-size: clamp(58px, 6.9vw, 112px);
  line-height: 0.88;

  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.82) 0%,
      rgba(255, 255, 255, 0.52) 34%,
      rgba(255, 255, 255, 0.74) 58%,
      rgba(255, 255, 255, 0.42) 78%,
      rgba(255, 255, 255, 0.68) 100%
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-stroke:
    0.25px rgba(255, 255, 255, 0.16);

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10),
    0 10px 30px rgba(0, 0, 0, 0.30),
    0 0 22px rgba(255, 255, 255, 0.05);
}

/* Collections — делаем реально компактнее */

.collections-section {
  width: min(980px, calc(100% - 40px));
  padding-top: 52px;
  padding-bottom: 58px;
}

.collections-section .section-heading {
  margin-bottom: 22px;
}

.collections-section .section-heading h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}

.collections-grid {
  grid-template-columns: 1.12fr 0.88fr;
  gap: 10px;
}

.collection-card {
  min-height: 300px;
  border-radius: 20px;
}

.collection-card-large {
  min-height: 380px;
}

.collection-overlay {
  left: 18px;
  right: 18px;
  bottom: 16px;
}

.collection-overlay h3 {
  font-size: clamp(24px, 2.5vw, 34px);
}

/* Чтобы фото не обрезались так агрессивно */

.collection-card img {
  object-position: center center;
}

@media (max-width: 900px) {
  .collections-section {
    width: min(680px, calc(100% - 32px));
  }

  .collection-card,
  .collection-card-large {
    min-height: 420px;
  }
}/* =================================
   EDITORIAL SCROLL EXPERIENCE
================================= */

/* Плавное появление секций */

.reveal-section {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(34px);

  transition:
    opacity 900ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 900ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Карточки появляются немного по очереди */

.reveal-section .collection-card,
.reveal-section .gallery-card,
.reveal-section .custom-card {
  opacity: 0;
  transform: translateY(24px) scale(0.985);

  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.is-visible .collection-card,
.reveal-section.is-visible .gallery-card,
.reveal-section.is-visible .custom-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-section.is-visible :is(
  .collection-card,
  .gallery-card,
  .custom-card
):nth-child(2) {
  transition-delay: 90ms;
}

.reveal-section.is-visible :is(
  .collection-card,
  .gallery-card,
  .custom-card
):nth-child(3) {
  transition-delay: 160ms;
}

.reveal-section.is-visible :is(
  .collection-card,
  .gallery-card,
  .custom-card
):nth-child(4) {
  transition-delay: 230ms;
}

.reveal-section.is-visible :is(
  .collection-card,
  .gallery-card,
  .custom-card
):nth-child(5) {
  transition-delay: 300ms;
}

.reveal-section.is-visible :is(
  .collection-card,
  .gallery-card,
  .custom-card
):nth-child(6) {
  transition-delay: 370ms;
}

/* =================================
   HEADER ON SCROLL
================================= */

.site-header,
.header-inner {
  transition:
    top 350ms ease,
    height 350ms ease,
    width 350ms ease,
    background 350ms ease,
    border-color 350ms ease,
    box-shadow 350ms ease,
    backdrop-filter 350ms ease;
}

.site-header.is-scrolled {
  top: 8px;
}

.site-header.is-scrolled .header-inner {
  width: min(1120px, calc(100% - 30px));
  height: 56px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.095),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(7, 7, 11, 0.62);

  border-color: rgba(255, 255, 255, 0.19);

  -webkit-backdrop-filter: blur(32px) saturate(165%);
  backdrop-filter: blur(32px) saturate(165%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 14px 48px rgba(0, 0, 0, 0.34);
}

/* =================================
   LIGHTBOX
================================= */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;

  display: grid;
  place-items: center;

  padding: 34px;

  background: rgba(4, 4, 7, 0.78);

  -webkit-backdrop-filter: blur(28px) saturate(120%);
  backdrop-filter: blur(28px) saturate(120%);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 350ms ease,
    visibility 350ms ease;
}

.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.image-lightbox img {
  display: block;

  max-width: min(92vw, 1280px);
  max-height: 88vh;

  object-fit: contain;

  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);

  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.58),
    0 0 50px rgba(232, 181, 106, 0.08);

  opacity: 0;
  transform: scale(0.96);

  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.image-lightbox.is-open img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.07);

  color: rgba(255, 255, 255, 0.78);
  font-size: 25px;
  line-height: 1;

  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);

  cursor: pointer;

  transition:
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.lightbox-close:hover {
  color: #ffffff;
  border-color: rgba(232, 181, 106, 0.58);
  background: rgba(232, 181, 106, 0.10);

  box-shadow:
    0 0 26px rgba(232, 181, 106, 0.20);

  transform: rotate(5deg) scale(1.05);
}

body.lightbox-open {
  overflow: hidden;
}

/* Фото получают курсор просмотра */

.gallery-card,
.custom-card,
.collection-card,
.about-media {
  cursor: zoom-in;
}

@media (max-width: 760px) {
  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox img {
    max-width: 96vw;
    max-height: 84vh;
    border-radius: 16px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .site-header.is-scrolled .header-inner {
    width: calc(100% - 20px);
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .reveal-section .collection-card,
  .reveal-section .gallery-card,
  .reveal-section .custom-card {
    opacity: 1;
    filter: none;
    transform: none;
  }
}/* =================================
   FLOATING OFFICIAL LINK
================================= */

.floating-link {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 13px 18px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.035) 55%,
      rgba(255, 255, 255, 0.075)
    ),
    rgba(10, 8, 10, 0.42);

  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;

  -webkit-backdrop-filter: blur(28px) saturate(155%);
  backdrop-filter: blur(28px) saturate(155%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 14px 42px rgba(0, 0, 0, 0.30);

  transition:
    transform 240ms ease,
    color 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.floating-link:hover {
  color: rgba(255, 255, 255, 0.98);
  border-color: rgba(232, 181, 106, 0.64);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.16),
      rgba(232, 181, 106, 0.10) 58%,
      rgba(255, 255, 255, 0.07)
    ),
    rgba(10, 8, 10, 0.52);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.23),
    0 0 20px rgba(232, 181, 106, 0.22),
    0 0 44px rgba(232, 181, 106, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.30);

  transform: translateY(-3px);
}

.floating-link-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;

  border-radius: 50%;
  background: rgba(232, 181, 106, 0.92);

  box-shadow:
    0 0 10px rgba(232, 181, 106, 0.52),
    0 0 22px rgba(232, 181, 106, 0.24);
}

@media (max-width: 560px) {
  .floating-link {
    right: 14px;
    bottom: 14px;
    padding: 12px 15px;
    font-size: 12px;
  }
}/* =================================
   FLOATING GLASS PILL
================================= */

.floating-link{

position:fixed;

right:26px;
bottom:26px;

z-index:999;

display:flex;
align-items:center;
gap:12px;

padding:13px 18px;

border-radius:999px;

text-decoration:none;

border:1px solid rgba(255,255,255,.14);

background:

linear-gradient(
135deg,
rgba(255,255,255,.12),
rgba(255,255,255,.03)
),

rgba(12,12,15,.42);

backdrop-filter:blur(26px);

-webkit-backdrop-filter:blur(26px);

box-shadow:

0 18px 45px rgba(0,0,0,.28),

inset 0 1px rgba(255,255,255,.12);

transition:.35s;
}

.floating-link:hover{

transform:translateY(-4px) scale(1.02);

border-color:rgba(232,181,106,.42);

box-shadow:

0 0 18px rgba(232,181,106,.16),

0 18px 50px rgba(0,0,0,.32);

}

.floating-dot{

width:8px;
height:8px;

border-radius:50%;

background:#e8b56a;

box-shadow:

0 0 12px rgba(232,181,106,.55);

animation:pulseDot 2.4s infinite;
}

@keyframes pulseDot{

0%{

transform:scale(1);
opacity:.85;

}

50%{

transform:scale(1.4);
opacity:1;

}

100%{

transform:scale(1);
opacity:.85;

}

}

.floating-text{

font-size:13px;

letter-spacing:.24em;

text-transform:uppercase;

color:rgba(255,255,255,.74);

font-weight:500;
}/* =================================
/* =================================
   FLOATING BRAND BUTTON
================================= */

.floating-link {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 999;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  overflow: hidden;

  padding: 0 18px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(8, 8, 12, 0.48);

  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 255, 255, 0.035),
    0 16px 45px rgba(0, 0, 0, 0.30);

  transition:
    width 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.floating-link:hover,
.floating-link:focus-visible {
  width: 205px;

  border-color: rgba(232, 181, 106, 0.48);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15),
      rgba(232, 181, 106, 0.07)
    ),
    rgba(8, 8, 12, 0.58);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 20px rgba(232, 181, 106, 0.18),
    0 0 44px rgba(232, 181, 106, 0.10),
    0 18px 48px rgba(0, 0, 0, 0.34);

  transform: translateY(-3px);
}

.floating-icon {

    width:20px;
    flex:none;

    display:grid;
    place-items:center;

    font-family:var(--font-display);
    font-size:23px;
    font-weight:500;

    color:rgba(255,255,255,.82);

    transition:
        opacity .28s ease,
        transform .35s ease;

}

.floating-text{

    position:absolute;

    left:22px;

    white-space:nowrap;

    font-size:12px;
    letter-spacing:.18em;
    text-transform:uppercase;

    color:rgba(255,255,255,.82);

    opacity:0;

    transform:translateX(10px);

    transition:
        opacity .30s ease,
        transform .35s ease;

}

.floating-link:hover .floating-icon,
.floating-link:focus-visible .floating-icon {
  color: rgba(255, 255, 255, 0.98);

  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.08),
    0 0 22px rgba(232, 181, 106, 0.24);
}

.floating-link:hover .floating-text,
.floating-link:focus-visible .floating-text {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 560px) {
  .floating-link {
    right: 14px;
    bottom: 14px;

    width: 52px;
    height: 52px;

    padding: 0 16px;
  }

  .floating-link:hover,
  .floating-link:focus-visible {
    width: 184px;
  }

  .floating-icon {
    font-size: 21px;
  }

  .floating-text {
    font-size: 11px;
  }
}.floating-link:hover .floating-icon{

    opacity:0;

    transform:translateX(-8px);

}

.floating-link:hover .floating-text{

    opacity:1;

    transform:translateX(0);

}.floating-link:hover {
    width: 160px;
}

.floating-text {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 10px);
    margin: 0;
}

.floating-link:hover .floating-text {
    transform: translate(-50%, 0);
}/* =================================
   SOCIAL LINK CARDS
================================= */

.links-section {
  padding-top: 64px;
  padding-bottom: 76px;
}

.links-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.social-card {
  min-height: 250px;
  padding: 26px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;

  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.09),
      rgba(255, 255, 255, 0.018) 65%
    ),
    rgba(9, 8, 12, 0.48);

  -webkit-backdrop-filter: blur(26px) saturate(145%);
  backdrop-filter: blur(26px) saturate(145%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 18px 48px rgba(0, 0, 0, 0.22);

  transition:
    transform 280ms ease,
    border-color 280ms ease,
    background 280ms ease,
    box-shadow 280ms ease;
}

.social-card:hover {
  transform: translateY(-5px);

  border-color: rgba(232, 181, 106, 0.48);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(232, 181, 106, 0.055) 68%
    ),
    rgba(9, 8, 12, 0.56);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 22px rgba(232, 181, 106, 0.15),
    0 0 48px rgba(232, 181, 106, 0.07),
    0 22px 54px rgba(0, 0, 0, 0.28);
}

.social-card-featured {
  border-color: rgba(232, 181, 106, 0.44);

  background:
    linear-gradient(
      145deg,
      rgba(232, 181, 106, 0.15),
      rgba(255, 255, 255, 0.035) 58%,
      rgba(255, 255, 255, 0.015)
    ),
    rgba(12, 9, 10, 0.54);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 30px rgba(232, 181, 106, 0.10),
    0 20px 52px rgba(0, 0, 0, 0.26);
}

.social-icon {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.035);

  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 25px;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.social-card-featured .social-icon {
  color: rgba(232, 181, 106, 0.94);
  border-color: rgba(232, 181, 106, 0.42);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 0 18px rgba(232, 181, 106, 0.12);
}

.social-card-copy h3 {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(29px, 2.5vw, 39px);
  font-weight: 500;
  line-height: 1;

  color: rgba(255, 255, 255, 0.78);
}

.social-card-copy p {
  max-width: 190px;
  margin: 12px 0 0;

  color: rgba(255, 255, 255, 0.44);
  font-size: 14px;
  line-height: 1.55;
}

.social-card-featured .social-card-copy p {
  color: rgba(232, 181, 106, 0.76);
}

@media (max-width: 900px) {
  .links-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .links-cards {
    grid-template-columns: 1fr;
  }

  .social-card {
    min-height: 210px;
  }
}/* =================================
   RECOVERY — NANNI + LINK CARDS
   ВСТАВИТЬ В САМЫЙ КОНЕЦ MAIN.CSS
================================= */


/* =================================
   NANNI LOGO
================================= */

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.48em;

  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;

  transition:
    transform 240ms ease,
    color 240ms ease;
}

.site-logo span {
  display: block;

  color: rgba(255, 255, 255, 0.68);

  transition:
    color 240ms ease,
    transform 240ms ease,
    text-shadow 240ms ease;
}

.site-logo .logo-accent {
  color: rgba(232, 181, 106, 0.94);

  text-shadow:
    0 0 12px rgba(232, 181, 106, 0.28);
}

.site-logo:hover {
  letter-spacing: 0;
}

.site-logo:hover span {
  color: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.site-logo:hover .logo-accent {
  color: #f0c67d;

  text-shadow:
    0 0 16px rgba(232, 181, 106, 0.40),
    0 0 32px rgba(232, 181, 106, 0.16);
}


/* =================================
   LINKS SECTION
================================= */

.links-section {
  width: min(900px, calc(100% - 40px));

  padding-top: 46px;
  padding-bottom: 58px;
}

.links-heading {
  margin-bottom: 18px;
}

.links-heading .section-label {
  margin-bottom: 8px;
}

.links-heading h2 {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;

  color: transparent;

  background:
    linear-gradient(
      125deg,
      rgba(255, 255, 255, 0.76),
      rgba(255, 255, 255, 0.42) 38%,
      rgba(255, 255, 255, 0.66) 62%,
      rgba(255, 255, 255, 0.34)
    );

  -webkit-background-clip: text;
  background-clip: text;

  text-shadow:
    0 10px 28px rgba(0, 0, 0, 0.30);
}


/* =================================
   LINK CARDS GRID
================================= */

.links-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 10px;
}


/* =================================
   LINK CARD
================================= */

.link-card {
  position: relative;

  min-width: 0;
  min-height: 178px;

  padding: 15px;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  overflow: hidden;

  border:
    1px solid rgba(255, 255, 255, 0.20);

  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.035) 46%,
      rgba(255, 255, 255, 0.012) 78%
    ),
    rgba(10, 9, 14, 0.42);

  -webkit-backdrop-filter:
    blur(32px)
    saturate(165%);

  backdrop-filter:
    blur(32px)
    saturate(165%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.045),
    0 14px 34px rgba(0, 0, 0, 0.20);

  transition:
    transform 240ms ease,
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.link-card:hover {
  transform: translateY(-3px);

  border-color:
    rgba(232, 181, 106, 0.48);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.15),
      rgba(232, 181, 106, 0.055) 52%,
      rgba(255, 255, 255, 0.018)
    ),
    rgba(10, 9, 14, 0.52);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 18px rgba(232, 181, 106, 0.14),
    0 18px 40px rgba(0, 0, 0, 0.26);
}


/* =================================
   FANSLY FEATURED CARD
================================= */

.link-card-fansly {
  border-color:
    rgba(232, 181, 106, 0.76);

  background:
    radial-gradient(
      circle at 17% 10%,
      rgba(232, 181, 106, 0.26),
      transparent 43%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(232, 181, 106, 0.055) 48%,
      rgba(255, 255, 255, 0.018) 78%
    ),
    rgba(13, 9, 10, 0.48);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(232, 181, 106, 0.06),
    0 0 22px rgba(232, 181, 106, 0.14),
    0 14px 34px rgba(0, 0, 0, 0.22);
}

.link-card-fansly:hover {
  border-color:
    rgba(232, 181, 106, 0.94);

  background:
    radial-gradient(
      circle at 17% 10%,
      rgba(232, 181, 106, 0.32),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.17),
      rgba(232, 181, 106, 0.09) 50%,
      rgba(255, 255, 255, 0.02)
    ),
    rgba(13, 9, 10, 0.60);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 24px rgba(232, 181, 106, 0.23),
    0 0 46px rgba(232, 181, 106, 0.09),
    0 20px 44px rgba(0, 0, 0, 0.28);
}


/* =================================
   CARD TOP
================================= */

.link-card-top {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 26px;
}


/* =================================
   ICON CIRCLE
================================= */

.link-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(255, 255, 255, 0.22);

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(255, 255, 255, 0.025);

  -webkit-backdrop-filter:
    blur(18px)
    saturate(160%);

  backdrop-filter:
    blur(18px)
    saturate(160%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);

  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.link-card:hover .link-icon {
  transform: scale(1.05);

  border-color:
    rgba(232, 181, 106, 0.42);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 14px rgba(232, 181, 106, 0.12);
}


/* =================================
   ICON IMAGES
================================= */

.link-icon img {
  width: 20px;
  height: 20px;

  display: block;
  object-fit: contain;

  opacity: 0.82;

  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.link-card:hover .link-icon img {
  opacity: 1;
  transform: scale(1.06);
}


/* Fansly PNG */

.link-icon-fansly {
  border-color:
    rgba(232, 181, 106, 0.58);

  background:
    linear-gradient(
      145deg,
      rgba(232, 181, 106, 0.17),
      rgba(255, 255, 255, 0.025)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 14px rgba(232, 181, 106, 0.14);
}

.link-icon-fansly img {
  width: 22px;
  height: 22px;

  filter: none;
  opacity: 1;
}


/* Ton Place PNG */

.links-cards .link-card:nth-child(2) .link-icon img {
  width: 19px;
  height: 19px;

  filter: none;
  opacity: 0.90;
}


/* Instagram SVG */

.links-cards .link-card:nth-child(3) .link-icon img {
  width: 19px;
  height: 19px;

  filter:
    brightness(0)
    invert(1);

  opacity: 0.74;
}


/* Telegram SVG */

.links-cards .link-card:nth-child(4) .link-icon img {
  width: 19px;
  height: 19px;

  filter:
    brightness(0)
    invert(1);

  opacity: 0.74;

  transform: translateX(-1px);
}

.links-cards
.link-card:nth-child(4):hover
.link-icon img {
  transform:
    translateX(-1px)
    scale(1.06);
}


/* =================================
   ARROW
================================= */

.link-arrow {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;

  display: grid;
  place-items: center;

  border:
    1px solid rgba(232, 181, 106, 0.30);

  border-radius: 50%;

  color:
    rgba(232, 181, 106, 0.80);

  font-size: 13px;

  background:
    rgba(232, 181, 106, 0.025);

  transition:
    transform 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.link-card:hover .link-arrow {
  transform: translateX(2px);

  color:
    rgba(255, 229, 188, 0.98);

  border-color:
    rgba(232, 181, 106, 0.68);

  background:
    rgba(232, 181, 106, 0.08);

  box-shadow:
    0 0 13px rgba(232, 181, 106, 0.18);
}


/* =================================
   CARD TEXT
================================= */

.link-card-copy {
  margin-top: 0;
}

.link-card-copy h3 {
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 0.96;

  color:
    rgba(255, 255, 255, 0.82);
}

.link-card-copy p {
  margin: 7px 0 0;

  color:
    rgba(255, 255, 255, 0.44);

  font-size: 11px;
  line-height: 1.45;
}

.link-card-fansly .link-card-copy p {
  color:
    rgba(232, 181, 106, 0.88);
}


/* =================================
   FLOATING NANNI BUTTON — CLEAN FIX
================================= */

.floating-link {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;

  width: 54px;
  height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: 0;

  border:
    1px solid rgba(255, 255, 255, 0.17);

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(8, 8, 12, 0.52);

  -webkit-backdrop-filter:
    blur(28px)
    saturate(150%);

  backdrop-filter:
    blur(28px)
    saturate(150%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 42px rgba(0, 0, 0, 0.30);

  transition:
    width 400ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.floating-link:hover,
.floating-link:focus-visible {
  width: 160px;

  border-color:
    rgba(232, 181, 106, 0.50);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 18px rgba(232, 181, 106, 0.18),
    0 16px 44px rgba(0, 0, 0, 0.32);

  transform: translateY(-3px);
}

.floating-icon {
  position: absolute;

  display: grid;
  place-items: center;

  font-family: var(--font-display);
  font-size: 22px;

  color:
    rgba(255, 255, 255, 0.82);

  opacity: 1;

  transition:
    opacity 240ms ease,
    transform 300ms ease;
}

.floating-text {
  position: absolute;
  left: 50%;

  margin: 0;

  white-space: nowrap;

  color:
    rgba(255, 255, 255, 0.82);

  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  opacity: 0;

  transform:
    translate(-50%, 8px);

  transition:
    opacity 260ms ease,
    transform 300ms ease;
}

.floating-link:hover .floating-icon,
.floating-link:focus-visible .floating-icon {
  opacity: 0;
  transform: translateX(-8px);
}

.floating-link:hover .floating-text,
.floating-link:focus-visible .floating-text {
  opacity: 1;

  transform:
    translate(-50%, 0);
}


/* =================================
   RESPONSIVE LINKS
================================= */

@media (max-width: 900px) {
  .links-section {
    width: min(610px, calc(100% - 32px));
  }

  .links-cards {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .link-card {
    min-height: 175px;
  }
}

@media (max-width: 560px) {
  .links-section {
    width: calc(100% - 24px);
  }

  .links-cards {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .link-card {
    min-height: 160px;
  }

  .floating-link {
    right: 14px;
    bottom: 14px;

    width: 50px;
    height: 50px;
  }

  .floating-link:hover,
  .floating-link:focus-visible {
    width: 150px;
  }
}/* ==================================================
   RESPONSIVE FIX — ALL DEVICES
   ВСТАВИТЬ В САМЫЙ КОНЕЦ MAIN.CSS
================================================== */


/* Корректная высота экрана на iPhone и Android */

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

section {
  scroll-margin-top: 110px;
}

img {
  display: block;
}


/* ==================================================
   LARGE SCREENS
================================================== */

@media (min-width: 1400px) {
  section,
  footer {
    width: min(1180px, calc(100% - 64px));
  }

  .collections-section,
  .links-section {
    width: min(1040px, calc(100% - 64px));
  }
}


/* ==================================================
   TABLETS
================================================== */

@media (max-width: 900px) {
  section,
  footer {
    width: min(680px, calc(100% - 32px));
  }

  section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

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

  .about-copy {
    width: 100%;
    max-width: 100%;
    justify-self: start;
    padding: 0;
  }

  .about-copy h2 {
    max-width: 100%;
  }

  .about-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .about-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .collections-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .collection-card,
  .collection-card-large {
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .editorial-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
  }

  .gallery-card,
  .gallery-card-tall,
  .gallery-card-wide {
    grid-column: auto;
    grid-row: auto;

    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .gallery-card-wide {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .custom-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .custom-card,
  .custom-card-main {
    grid-column: auto;
    grid-row: auto;

    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .custom-card-main {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }

  .custom-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .links-section {
    width: min(640px, calc(100% - 32px));
  }

  .links-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .link-card,
  .social-card {
    min-height: 170px;
    padding: 16px;
  }
}


/* ==================================================
   MOBILE HEADER
================================================== */

@media (max-width: 760px) {
  section,
  footer,
  .collections-section,
  .links-section {
    width: calc(100% - 28px);
  }

  section {
    padding-top: 46px;
    padding-bottom: 46px;
    scroll-margin-top: 112px;
  }

  .site-header {
    top: max(8px, env(safe-area-inset-top));
  }

  .header-inner,
  .site-header.is-scrolled .header-inner {
    width: calc(100% - 16px);
    height: auto;

    padding: 10px 12px 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;

    border-radius: 22px;
  }

  .site-logo {
    min-height: 22px;
    justify-content: center;

    gap: 0.42em;
    font-size: 13px;
  }

  .site-nav {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;

    gap: 2px;
  }

  .site-nav a {
    min-width: 0;
    padding: 4px 1px;

    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;

    font-size: clamp(10px, 2.8vw, 12px);
  }

  .site-nav a::after {
    bottom: -3px;
  }


  /* HERO */

  .hero-cinematic {
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero-bg {
    background-position: 62% center;
    transform: scale(1.02);
  }

  .cinematic-content {
    width: 100%;
    margin: 0;

    padding:
      150px
      22px
      max(76px, calc(56px + env(safe-area-inset-bottom)));

    transform: none;
  }

  .hero-kicker {
    font-size: clamp(18px, 5vw, 23px);
  }

  .hero-title {
    max-width: 92%;

    font-size: clamp(48px, 14vw, 74px);
    line-height: 0.9;
  }

  .hero-text {
    max-width: 320px;
    margin-top: 20px;

    font-size: 15px;
    line-height: 1.55;
  }

  .cta-button {
    margin-top: 22px;
    padding: 13px 22px;
    font-size: 13px;
  }


  /* TYPOGRAPHY */

  .section-label {
    margin-bottom: 12px;

    font-size: 10px;
    letter-spacing: 0.35em;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2,
  .collections-section .section-heading h2,
  .about-copy h2,
  .links-heading h2 {
    font-size: clamp(35px, 10vw, 47px);
    line-height: 0.98;
  }


  /* ABOUT */

  .about-section {
    padding-top: 50px;
    padding-bottom: 48px;

    gap: 22px;
  }

  .about-copy {
    max-width: 100%;
  }

  .about-copy h2 {
    max-width: 100%;
  }

  .about-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;

    border-radius: 20px;
  }

  .about-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }


  /* COLLECTIONS */

  .collections-section {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .collections-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;
  }

  .collection-card,
  .collection-card-large {
    width: 100%;
    min-width: 0;
    min-height: 0;

    aspect-ratio: 0.72;

    border-radius: 18px;
  }

  .collection-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .collection-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .collection-overlay h3 {
    font-size: clamp(24px, 7vw, 31px);
  }


  /* GALLERY — НИКАКИХ НАЛОЖЕНИЙ */

  .gallery-section {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .editorial-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-rows: auto;

    gap: 14px;
  }

  .gallery-card,
  .gallery-card-tall,
  .gallery-card-wide {
    position: relative;

    grid-column: auto !important;
    grid-row: auto !important;

    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;

    aspect-ratio: 4 / 5 !important;

    overflow: hidden;
    border-radius: 20px;
  }

  .gallery-card-wide {
    aspect-ratio: 4 / 3 !important;
  }

  .gallery-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
  }


  /* CUSTOM — НИКАКИХ НАЛОЖЕНИЙ */

  .custom-section {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .custom-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-rows: auto;

    gap: 14px;
  }

  .custom-card,
  .custom-card-main {
    position: relative;

    grid-column: auto !important;
    grid-row: auto !important;

    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;

    aspect-ratio: 4 / 5 !important;

    overflow: hidden;
    border-radius: 20px;
  }

  .custom-card-main {
    aspect-ratio: 4 / 3 !important;
  }

  .custom-card img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
  }


  /* LINKS — КОМПАКТНЫЕ ГОРИЗОНТАЛЬНЫЕ КАРТОЧКИ */

  .links-section {
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .links-heading {
    margin-bottom: 18px;
  }

  .links-cards {
    display: grid;
    grid-template-columns: 1fr;

    gap: 9px;
  }

  .link-card,
  .social-card {
    min-height: 0;
    height: 106px;

    padding: 13px 14px;

    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 30px;
    grid-template-rows: 1fr;
    align-items: center;

    gap: 12px;

    border-radius: 17px;
  }

  .link-card-top {
    display: contents;
  }

  .link-icon,
  .social-icon {
    grid-column: 1;
    grid-row: 1;

    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .link-icon img {
    width: 19px;
    height: 19px;
  }

  .link-card-copy,
  .social-card-copy {
    grid-column: 2;
    grid-row: 1;

    min-width: 0;
    margin: 0;
  }

  .link-card-copy h3,
  .social-card-copy h3 {
    margin: 0;

    font-size: clamp(24px, 7vw, 29px);
    line-height: 1;
  }

  .link-card-copy p,
  .social-card-copy p {
    max-width: 100%;
    margin: 5px 0 0;

    font-size: 11px;
    line-height: 1.3;
  }

  .link-arrow {
    grid-column: 3;
    grid-row: 1;

    width: 29px;
    height: 29px;
  }


  /* FLOATING NANNI BUTTON */

  .floating-link {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));

    width: 46px;
    height: 46px;
  }

  .floating-icon {
    font-size: 20px;
  }
}


/* ==================================================
   SMALL PHONES
================================================== */

@media (max-width: 430px) {
  section,
  footer,
  .collections-section,
  .links-section {
    width: calc(100% - 22px);
  }

  .header-inner,
  .site-header.is-scrolled .header-inner {
    width: calc(100% - 12px);
    padding-inline: 9px;
  }

  .site-nav a {
    font-size: clamp(9px, 2.65vw, 11px);
  }

  .cinematic-content {
    padding-left: 17px;
    padding-right: 17px;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(45px, 14vw, 64px);
  }

  .collections-grid {
    gap: 8px;
  }

  .collection-card,
  .collection-card-large {
    border-radius: 16px;
  }

  .collection-overlay {
    left: 11px;
    right: 11px;
    bottom: 12px;
  }

  .collection-overlay h3 {
    font-size: clamp(21px, 6.8vw, 27px);
  }
}


/* ==================================================
   VERY SMALL PHONES
================================================== */

@media (max-width: 350px) {
  .site-nav {
    overflow-x: auto;
    grid-template-columns: repeat(5, 64px);

    justify-content: start;

    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    font-size: 10px;
  }

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

  .collection-card,
  .collection-card-large {
    aspect-ratio: 4 / 5;
  }
}


/* ==================================================
   TOUCH DEVICES — УБИРАЕМ ЗАЛИПАЮЩИЙ HOVER
================================================== */

@media (hover: none), (pointer: coarse) {
  .gallery-card:hover img,
  .custom-card:hover img,
  .collection-card:hover img,
  .about-media:hover img {
    transform: none;
    filter: none;
  }

  .floating-link:hover,
  .floating-link:focus-visible {
    width: 46px;
    transform: none;
  }

  .floating-link:hover .floating-icon,
  .floating-link:focus-visible .floating-icon {
    opacity: 1;
    transform: none;
  }

  .floating-link .floating-text,
  .floating-link:hover .floating-text,
  .floating-link:focus-visible .floating-text {
    display: none;
  }

  .link-card:hover,
  .social-card:hover {
    transform: none;
  }
}