:root {
  --hero-base: #1f2624;
  --gallery-base: #b8beb5;
  --text-dark: #31342f;
  --text-light: #eef1ec;
}

/* =========================
   GLOBAL
========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: #c9cfc5;
  color: var(--text-dark);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

html.fullscreen-open,
body.fullscreen-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.fullscreen-open {
  touch-action: none;
}

img {
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* =========================
   HERO
========================= */
.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  opacity: 0.035;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-wrap {
  position: relative;
  min-height: 100vh;
  z-index: 1;
  background: var(--hero-base);
  will-change: transform, opacity;
  transition: background 0.6s ease;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  object-position: 55% 21%;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  background:
    radial-gradient(ellipse 48% 40% at 50% 100%,

      #c9cfc5 0%,
      #c9cfc5 28%,

      rgba(201, 207, 197, 0.98) 38%,
      rgba(201, 207, 197, 0.92) 48%,
      rgba(201, 207, 197, 0.78) 58%,
      rgba(201, 207, 197, 0.58) 68%,
      rgba(201, 207, 197, 0.36) 77%,
      rgba(201, 207, 197, 0.17) 85%,
      rgba(201, 207, 197, 0.06) 91%,
      transparent 96%),
    radial-gradient(ellipse at 50% 0%,
      rgba(201, 207, 197, 0) 45%,
      rgba(201, 207, 197, 0.7) 75%,
      rgba(201, 207, 197, 0.9) 90%,
      #c9cfc5 100%),
    linear-gradient(to bottom,
      rgba(201, 207, 197, 0) 55%,
      rgba(201, 207, 197, 0.15) 65%,
      rgba(201, 207, 197, 0.35) 75%,
      rgba(201, 207, 197, 0.65) 85%,
      rgba(201, 207, 197, 0.85) 90%,
      rgba(201, 207, 197, 1) 95%);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 20px;
}

.hero-script {
  font-family: "Inter", sans-serif;

  font-size: 14px;
  font-weight: 400;

  letter-spacing: 4px;
  text-transform: uppercase;

  opacity: 0;
  margin-bottom: 7px;

  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.90),
    0 3px 8px rgba(0, 0, 0, 0.55),
    0 8px 18px rgba(0, 0, 0, 0.25);
}

.hero-title {
  position: relative;
  isolation: isolate;

  font-family: "Inter", sans-serif;

  font-size: clamp(74px, 5.35vw, 94px);
  font-weight: 430;

  line-height: 0.96;

  letter-spacing: 1.15px;

  white-space: nowrap;

  opacity: 0;
  margin: 0;

  color: rgba(238, 241, 236, 0.98);

  font-optical-sizing: auto;

  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.88),
    0 3px 8px rgba(0, 0, 0, 0.46),
    0 10px 24px rgba(0, 0, 0, 0.15);
}



.hero-overlay-signature {

  position: absolute;

  opacity: 0;
  left: 50%;
  transform: translateX(-50%);

  top: calc(50% + 100px);

  width: 540px;
  pointer-events: none;
  filter:
    contrast(1.06) saturate(1.08) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.60)) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35)) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.hero-content {
  will-change: transform, opacity;
}

.hero-subtitle {
  font-family: "Inter", sans-serif;

  font-size: 16px;
  font-weight: 400;

  line-height: 1.45;
  letter-spacing: 0.15px;

  margin-top: 14px;
  max-width: 520px;

  opacity: 0;

  color: rgba(238, 241, 236, 0.88);

  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 3px 8px rgba(0, 0, 0, 0.40),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

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

.gallery::before {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;
  z-index: 1;

  opacity: 0.035;
  animation: grainMove 8s steps(10) infinite;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.6'/%3E%3C/svg%3E");
}

.gallery {
  position: relative;
  z-index: 2;

  padding-top: 150px;
  padding-bottom: 50px;

  background: linear-gradient(180deg,
      #c9cfc5 0%);
  background: linear-gradient(to top,
      rgba(201, 207, 197, 1) 50%,
      rgba(201, 207, 197, 0.99) 100%);
  overflow: visible;
}


.gallery-light {
  position: absolute;
  pointer-events: none;
  z-index: 1;

  left: 0;
  right: 0;
  top: 0;

  bottom: -420px;

  background: radial-gradient(ellipse at 50% calc(50% - 210px),
      rgba(255, 255, 255, 0.16) 0%,
      rgba(255, 255, 255, 0.13) 15%,
      rgba(255, 255, 255, 0.10) 30%,
      rgba(255, 255, 255, 0.07) 45%,
      rgba(255, 255, 255, 0.04) 60%,
      rgba(255, 255, 255, 0.02) 72%,
      rgba(255, 255, 255, 0.01) 82%,
      transparent 100%);

  opacity: 0.6;
}



.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;

  transform: scale(0.96);
  transform-origin: center top;

  perspective: 1400px;
  overflow: visible;
}

.gallery-viewport {
  width: 100%;
  overflow: visible;

  padding-top: 155px;
  padding-bottom: 220px;

  clip-path: none;
}

.gallery-track {
  display: flex;
  align-items: center;
  gap: 80px;
  cursor: grab;
  transform: translateZ(0);
  overflow: visible;
  touch-action: pan-y;
}

.gallery-track:active {
  cursor: grabbing;
}

.gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;

  pointer-events: none;
  z-index: 5;
  background:
    linear-gradient(to bottom,
      rgba(201, 207, 197, 0.28) 0px,
      rgba(201, 207, 197, 0.27) 8px,
      rgba(201, 207, 197, 0.255) 16px,
      rgba(201, 207, 197, 0.24) 24px,
      rgba(201, 207, 197, 0.225) 32px,
      rgba(201, 207, 197, 0.205) 40px,
      rgba(201, 207, 197, 0.185) 48px,
      rgba(201, 207, 197, 0.165) 56px,
      rgba(201, 207, 197, 0.145) 64px,
      rgba(201, 207, 197, 0.128) 72px,
      rgba(201, 207, 197, 0.112) 80px,
      rgba(201, 207, 197, 0.096) 88px,
      rgba(201, 207, 197, 0.081) 96px,
      rgba(201, 207, 197, 0.067) 104px,
      rgba(201, 207, 197, 0.054) 112px,
      rgba(201, 207, 197, 0.043) 120px,
      rgba(201, 207, 197, 0.033) 128px,
      rgba(201, 207, 197, 0.024) 136px,
      rgba(201, 207, 197, 0.016) 144px,
      rgba(201, 207, 197, 0.010) 152px,
      rgba(201, 207, 197, 0.005) 160px,
      rgba(201, 207, 197, 0.002) 168px,
      transparent 178px),
    linear-gradient(to right,
      #c9cfc5 0%,
      rgba(201, 207, 197, 0.9) 3%,
      rgba(201, 207, 197, 0.4) 8%,
      rgba(201, 207, 197, 0) 18%,
      rgba(201, 207, 197, 0) 82%,
      rgba(201, 207, 197, 0.4) 92%,
      rgba(201, 207, 197, 0.9) 97%,
      #c9cfc5 100%),
    radial-gradient(circle at center,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.08) 22%,
      rgba(255, 255, 255, 0.045) 38%,
      rgba(255, 255, 255, 0.02) 52%,
      transparent 67%);
  ;
}

.art-item {
  flex: 0 0 720px;
  max-height: min(800px, 78vh);
  width: auto;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.art-item img {
  max-height: min(800px, 78vh);
  max-width: 100%;

  width: auto;
  height: auto;

  object-fit: contain;
  display: block;

  /* transform: scale(1.002); */
}

.art-inner::before {
  content: "";
  z-index: 2;
  position: absolute;
  top: -10px;
  left: 10%;
  width: 80%;
  height: 20px;

  transition:
    opacity 1.5s ease;
  background: radial-gradient(circle at center,

      rgba(0, 0, 0, 0.075) 0%,
      rgba(0, 0, 0, 0.060) 12%,
      rgba(0, 0, 0, 0.045) 24%,
      rgba(0, 0, 0, 0.032) 36%,
      rgba(0, 0, 0, 0.020) 48%,
      rgba(0, 0, 0, 0.011) 58%,
      rgba(0, 0, 0, 0.005) 67%,
      rgba(0, 0, 0, 0.002) 74%,
      transparent 82%);

  opacity: 0.35;
}

.art-inner {
  height: 100%;
  max-height: 100%;

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

  transform-style: preserve-3d;
  transform: translateZ(0.1px);
  will-change: transform;
  backface-visibility: hidden;

  transition:
    box-shadow 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow:
    0 -8px 28px rgba(0, 0, 0, 0.025),
    0 8px 22px rgba(0, 0, 0, 0.045),
    0 20px 45px rgba(0, 0, 0, 0.055),
    0 42px 90px rgba(0, 0, 0, 0.065),
    0 75px 150px rgba(0, 0, 0, 0.045),
    0 120px 220px rgba(0, 0, 0, 0.025);
  overflow: visible;
  position: relative;
}

.art-inner>img {
  position: relative;
  z-index: 1;
}

.art-inner::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 1100px;
  height: 1100px;

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

  border-radius: 50%;

  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.12) 12%,
      rgba(255, 255, 255, 0.09) 24%,
      rgba(255, 255, 255, 0.065) 36%,
      rgba(255, 255, 255, 0.042) 48%,
      rgba(255, 255, 255, 0.025) 58%,
      rgba(255, 255, 255, 0.012) 68%,
      rgba(255, 255, 255, 0.005) 76%,
      transparent 84%);

  opacity: 0;

  pointer-events: none;
  z-index: -1;

  transition: opacity 1s ease;
}

.art-item.active .art-inner::after {
  opacity: 1;
}

.art-inner.fullscreen-source {
  box-shadow: none;
}

.art-inner.fullscreen-source::before {
  opacity: 0;
}

.art-info {
  display: none;
}

/* Buttons */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 24px;
  z-index: 20;
  isolation: isolate;
  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.65s ease,
    visibility 0s linear 0s;
}

.slider-btn.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.65s ease,
    visibility 0s linear 0.65s;
}

.slider-btn svg {
  width: 42px;
  height: 42px;

  stroke: #444840;
  stroke-width: 3.4;
  fill: none;

  transition: all 0.35s ease;

  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.slider-btn:hover svg {
  opacity: 1;
  transform: scale(1.08);
}

.slider-prev {
  left: 100px;
}

.slider-next {
  right: 100px;
}

/* =========================
   VIEWER
========================= */
.viewer::before {
  content: "";
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.15),
      transparent 55%);
  opacity: 1;
}

.viewer {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.92);

  opacity: 0.001;

  pointer-events: none;

  transition: none;

  transform: translateZ(0);

  will-change: opacity;
  backface-visibility: hidden;

  z-index: 1000;
}

.viewer.active {
  opacity: 1;
  pointer-events: all;
}

.viewer-info {
  position: absolute;

  left: 0;
  top: 0;

  width: 25%;
  height: 100%;

  box-sizing: border-box;

  padding:
    8vh 2.2vw 8vh 3vw;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;

  text-align: right;

  color: rgba(238, 241, 236, 0.94);

  opacity: 0;

  pointer-events: none;

  z-index: 1005;
}

.viewer-info .art-info-title {
  margin: 0 0 16px;
  max-width: 100%;

  font-family: "Alegreya", serif;
  font-size: clamp(30px, 2.1vw, 38px);
  font-weight: 400;
  line-height: 1.05;

  color: rgba(238, 241, 236, 0.98);
}

.viewer-info .art-info-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 3px;

  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;

  color: rgba(238, 241, 236, 0.84);
}

.viewer-info .art-info-description {
  margin: 18px 0 0;
  max-width: 280px;

  font-family: "Alegreya", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;

  color: rgba(238, 241, 236, 0.90);
}

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

.about {
  position: relative;
  z-index: auto;
  padding-top: 0px;
  padding-bottom: 200px;

  text-align: center;
  margin: 0 auto;

  background-color: #7f887d;

  background-image: linear-gradient(to bottom,
      #c9cfc5 0%,
      #c8cec4 6%,
      #c7cdc3 12%,
      #c5cbc1 18%,
      #c3c9bf 24%,
      #c0c6bc 30%,
      #bdc4ba 36%,
      #bac1b7 42%,
      #b6beb3 48%,
      #b2baaf 54%,
      #adb6ab 60%,
      #a8b1a6 66%,
      #a3aca1 72%,
      #9da79c 78%,
      #97a196 83%,
      #919b90 88%,
      #8b958a 92%,
      #869085 96%,
      #828c81 98%,
      #7f887d 100%);

  background-size: 100% 1000px;
  background-repeat: no-repeat;
}

.about-container {
  position: relative;
  z-index: 3;
  top: -35px;
  max-width: 820px;
  margin: 0 auto;
  margin-left: clamp(6vw, 14vw, 220px);
  margin-right: auto;

  text-align: left;
  position: relative;
}

.about-contact {
  position: absolute;
  z-index: 3;
  left: 50px;
  right: 50px;
  bottom: 30px;

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

.about-contact p {
  margin: 0;
  font-family: "Alegreya", serif;
  font-size: 22px;
  color: rgba(0, 0, 0, 0.68);
  user-select: text;
  -webkit-user-select: text;
}

.about-container p {
  font-family: "Alegreya", serif;
  font-size: 25px;
  font-style: normal;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.62);
  margin-bottom: 22px;

  max-width: 720px;

  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.15),
    0 8px 18px rgba(0, 0, 0, 0.055);
}

.about-container p::first-line {
  font-size: 28px;
}

.about-signature {
  font-family: "Alegreya", serif;
  font-size: 22px;

  margin-top: 25px;


  margin-left: 350px;

  text-shadow:
    0 2px 5px rgba(0, 0, 0, 0.11),
    0 8px 18px rgba(0, 0, 0, 0.055);


  transform: translateX(30px);

  color: rgba(0, 0, 0, 0.7);

}

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

@keyframes grainMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-5%, -5%);
  }
}


/* =========================
   TABLET
   769px - 1100px
========================= */

@media (max-width: 1100px) {

  /* HERO */

  .hero-wrap,
  .hero-overlay {
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(64px, 8vw, 90px);
    letter-spacing: 2px;
  }

  .hero-script {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .hero-subtitle {
    font-size: 15px;
    max-width: 520px;
  }

  .hero-overlay-signature {
    width: min(420px, 52vw);
  }


  /* GALLERY */

  .gallery {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .gallery-viewport {
    padding-top: 180px;
    padding-bottom: 210px;
  }

  .gallery-track {
    gap: 56px;
  }

  .art-item {
    flex: 0 0 58vw;
    max-height: min(720px, 72svh);
  }

  .art-item img {
    max-height: min(720px, 72svh);
  }

  .slider-prev {
    left: 28px;
  }

  .slider-next {
    right: 28px;
  }


  /* ABOUT */

  .about {
    padding-top: 80px;
    padding-bottom: 150px;
    padding-inline: 8vw;
  }

  .about-container {
    width: min(720px, 76vw);
    margin-left: 4vw;
    margin-right: auto;
  }

  .about-container p {
    font-size: 23px;
    max-width: 100%;
  }

  .about-signature {
    width: fit-content;
    margin-left: auto;
    margin-right: 10%;
    transform: none;
  }
}


/* =========================
   PHONE PORTRAIT
========================= */

@media (max-width: 768px) {

  /* HERO */

  .hero-wrap,
  .hero-overlay {
    min-height: 100svh;
  }

  .hero-overlay {
    padding-inline: 22px;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 64px);
    line-height: 1;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .hero-script {
    font-size: 11px;
    letter-spacing: 2.5px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.4;
    max-width: 320px;
    margin-top: 12px;
  }

  .hero-overlay-signature {
    width: min(380px, 82vw);
    top: calc(50% + 140px);
  }


  /* GALLERY */

  .gallery {
    padding-top: 70px;
    padding-bottom: 20px;
  }

  .gallery-container {
    perspective: none;
  }

  .gallery-viewport {
    padding-top: 50px;
    padding-bottom: 100px;
  }

  .gallery-track {
    gap: 10px;

    touch-action: pan-y;
  }

  .art-item {
    flex: 0 0 60vw;
    max-height: 68svh;
  }

  .art-item.art-landscape {
    flex-basis: 78vw;
  }

  .art-inner {
    transform-style: flat;
  }

  .art-inner::after {
    display: none;
  }

  .art-landscape img {
    width: 85vw;
    max-width: none;
  }

  .art-portrait img {
    max-width: 100%;
    width: auto;
  }

  .art-item img {
    max-height: 68svh;
  }

  .slider-btn {
    display: none;
  }


  /* VIEWER */

  .viewer::before {
    opacity: 1;
  }

  .viewer {
    opacity: 0.001;
  }

  .viewer.active::before {
    opacity: 1;
  }

  .viewer.active {
    pointer-events: all;
  }

  .viewer-close {
    top: max(18px, env(safe-area-inset-top));
    right: max(18px, env(safe-area-inset-right));

    font-size: 26px;
  }


  /* ABOUT */

  .about {
    background-size: 100% 800px;
    padding-bottom: 175px;
  }

  .about-container {
    width: 100%;
    max-width: 620px;

    margin: 0;
  }

  .about-contact {
    left: 20px;
    right: auto;
    bottom: 22px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;

    padding: 0;
    margin: 0;
  }

  .about-contact p {
    font-size: 14px;
    line-height: 1.25;
    text-align: left;
    margin: 0;
  }

  .about-container p {
    max-width: 100%;

    font-size: 19px;
    line-height: 1.65;
  }

  .about-container p::first-line {
    font-size: 22px;
  }

  .about-signature {
    width: fit-content;

    margin-top: 22px;
    margin-left: auto;
    margin-right: 8%;

    transform: none;

    font-size: 19px;
  }

  .viewer-info {
    left: 0;
    top: 70%;

    width: 100%;
    height: 30%;

    padding:
      18px 24px max(22px, env(safe-area-inset-bottom)) 48px;

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

    text-align: right;
  }

  .viewer-info .art-info-title {
    margin: 0 0 9px;
    max-width: 90%;

    font-size: 26px;
    line-height: 1.05;
  }

  .viewer-info .art-info-meta {
    align-items: flex-end;

    font-size: 12px;
    line-height: 1.4;
    gap: 1px;
  }

  .viewer-info .art-info-description {
    margin: 11px 0 0;

    max-width: 84%;

    font-size: 16px;
    line-height: 1.4;

    text-align: right;
  }

}

@media (max-width: 768px) and (max-aspect-ratio: 10 / 19) {

  /* HERO */

  .hero-title {
    font-size: clamp(40px, 11vw, 56px);
    line-height: 0.98;
  }

  .hero-script {
    font-size: 12px;
    letter-spacing: 2.7px;
  }

  .hero-subtitle {
    font-size: 15px;
    line-height: 1.45;
    max-width: 350px;
  }

  .hero-overlay-signature {
    width: min(410px, 88vw);
    top: calc(50% + 155px);
  }


  /* GALLERY */

  .art-item {
    flex-basis: 70vw;
  }

  .art-item.art-landscape {
    flex-basis: 88vw;
  }

  .art-landscape img {
    width: 92vw;
  }

  .gallery-viewport {
    padding-top: 85px;
    padding-bottom: 145px;
  }

  .about {
    padding-left: 22px;
    padding-right: 22px;
    box-sizing: border-box;
    padding-bottom: 360px;
    background-size: 100% 1000px;
  }

  .about::before {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    top: -3px;
    height: 4px;

    background: #c9cfc5;

    pointer-events: none;
    z-index: 0;
  }

  .about-container p {
    font-size: 28px;
    line-height: 1.68;
  }

  .about-container p::first-line {
    font-size: 30px;
  }

  .about-signature {
    font-size: 28px;
  }

  .about-contact p {
    font-size: 18px;
  }


  /* FULLSCREEN */

  .viewer-close {
    font-size: 28px;
  }

  .viewer-info {
    left: 0;
    top: 70%;

    width: 100%;
    height: 30%;

    padding:
      20px 24px max(24px, env(safe-area-inset-bottom)) 48px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    align-items: flex-end;

    text-align: right;
  }


  /* название */

  .viewer-info .art-info-title {
    margin: 0 0 10px;

    max-width: 90%;

    font-family: "Alegreya", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.05;

    color: rgba(238, 241, 236, 0.98);
  }


  /* год / техника / размер */

  .viewer-info .art-info-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 1px;

    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.45;

    color: rgba(238, 241, 236, 0.86);
  }


  /* описание */

  .viewer-info .art-info-description {
    margin: 12px 0 0;

    max-width: 82%;

    font-family: "Alegreya", serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42;

    color: rgba(238, 241, 236, 0.92);

    text-align: right;
  }
}

@media (min-width: 390px) and (max-width: 480px) and (min-height: 700px) and (orientation: portrait) {

  .about {
    padding-bottom: clamp(60px, 0dvh, 0px);
  }

  .about-container p {
    font-size: 28px;
    line-height: 1.68;
  }

  .about-container p::first-line {
    font-size: 30px;
  }

  .about-signature {
    font-size: 28px;
  }

  .about-contact p {
    font-size: 17px;
  }

}

/* =========================
   SMALL PHONE
========================= */

@media (max-width: 420px) {

  .hero-title {
    font-size: clamp(38px, 11vw, 50px);
  }

  .hero-overlay-signature {
    width: min(300px, 84vw);
  }

  .gallery-track {
    gap: 16px;
  }

  .art-item {
    flex-basis: 80vw;
  }

  .about {
    padding-inline: 20px;
  }
}


/* =========================
   PHONE LANDSCAPE
========================= */

@media (max-height: 520px) and (orientation: landscape) {

  .hero-wrap,
  .hero-overlay {
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(38px, 7vw, 58px);
    line-height: 0.95;
  }

  .hero-script {
    font-size: 10px;
  }

  .hero-subtitle {
    font-size: 12px;
    margin-top: 6px;
  }

  .hero-overlay-signature {
    width: min(240px, 32vw);
    top: calc(50% + 48px);
  }


  .gallery {
    padding-top: 30px;
  }

  .gallery-viewport {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .gallery-track {
    gap: 24px;
    touch-action: pan-y;
  }

  .art-item {
    flex: 0 0 55vw;
    max-height: 72svh;
  }

  .art-item img {
    max-height: 72svh;
  }

  .slider-btn {
    display: none;
  }


  .about {
    padding-top: 60px;
    padding-bottom: 80px;
  }
}

/* =========================
   LARGE DESKTOP
   ~24" monitors and larger
========================= */

@media (min-width: 1800px) and (min-height: 900px) {

  .about {
    min-height: 82vh;

    padding-top: 40px;
    padding-bottom: 90px;

    box-sizing: border-box;

    background-size: 100% 1300px;
  }

  .about-container {
    max-width: 940px;

    margin-left: clamp(180px, 14vw, 300px);
    margin-right: auto;

    top: -20px;
  }

  .about-container p {
    max-width: 860px;

    font-size: clamp(30px, 1.45vw, 36px);
    line-height: 1.72;
  }

  .about-container p::first-line {
    font-size: clamp(34px, 1.65vw, 40px);
  }

  .about-signature {
    font-size: 28px;
  }

  .about-contact {
    left: 70px;
    right: 70px;
    bottom: 42px;
  }

  .about-contact p {
    font-size: 24px;
  }
}