/*
Theme Name: La Tica Minimal
Version: 1.5.0
Description: Полноэкранная главная La Tica — портрет, логотип, звук птиц.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #1a120e;
  overscroll-behavior: none;
}

body.latica-front {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

.latica-page {
  position: relative;
  width: 100%;
  background: #1a120e;
  --latica-seam-h: clamp(3.5rem, 11vh, 7rem);
}

.latica-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding:
    env(safe-area-inset-top, 0)
    env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0)
    env(safe-area-inset-left, 0);
}

.latica-hero.is-video-cover .latica-hero__photo-wrap {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.latica-hero__photo-wrap {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease;
}

.latica-hero__photo {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.03) translateZ(0);
  animation: laticaKenBurns 22s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.02);
  will-change: transform;
}

.latica-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(18, 12, 8, 0.22) 0%, rgba(18, 12, 8, 0.04) 38%, rgba(18, 12, 8, 0.52) 100%),
    radial-gradient(ellipse 90% 70% at 50% 75%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}

.latica-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--latica-seam-h) * 1.35);
  z-index: 7;
  pointer-events: none;
  backdrop-filter: blur(24px) saturate(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(1.04);
  background: linear-gradient(to top, rgba(20, 16, 12, 0.42) 0%, rgba(20, 16, 12, 0.08) 55%, rgba(20, 16, 12, 0) 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.75) 42%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.75) 42%, transparent 100%);
}

.latica-site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding:
    max(0.75rem, env(safe-area-inset-top, 0.75rem))
    max(0.75rem, env(safe-area-inset-right, 0.75rem))
    0.75rem
    max(0.75rem, env(safe-area-inset-left, 0.75rem));
  background: transparent;
  pointer-events: none;
}

.latica-hero__logo-wrap {
  position: relative;
  top: auto;
  left: auto;
  width: min(58vw, 320px);
  flex: 0 1 auto;
  min-width: 0;
  z-index: 4;
  pointer-events: none;
  animation: laticaLogoEnter 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.latica-hero__logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
  animation:
    laticaLogoFloat 6s ease-in-out infinite,
    laticaLogoGlow 4.5s ease-in-out infinite alternate;
  transform-origin: left top;
}

.latica-hero__logo-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 20%;
  top: -6%;
  height: 22%;
  background: radial-gradient(ellipse at left top, rgba(255, 220, 180, 0.2) 0%, rgba(255, 220, 180, 0) 70%);
  animation: laticaLogoShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

/* —— order CTA —— */
.latica-order-btn {
  position: relative;
  top: auto;
  right: auto;
  z-index: 6;
  flex: 0 0 auto;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 230, 200, 0.38);
  background: rgba(200, 90, 74, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  font-family: "Commissioner", "Work Sans", system-ui, sans-serif;
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff6ec;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.latica-order-btn:hover,
.latica-order-btn:focus-visible {
  background: rgba(212, 102, 86, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.latica-order-btn:active {
  transform: translateY(0);
}

/* —— show block: «когда я хочу клубнику…» —— */
.latica-show {
  position: absolute;
  right: max(0.75rem, env(safe-area-inset-right, 0.75rem));
  bottom: max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
  z-index: 9;
  max-width: calc(100vw - max(1.5rem, env(safe-area-inset-left, 0.75rem) + env(safe-area-inset-right, 0.75rem)));
  pointer-events: none;
  animation: laticaShowEnter 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.latica-show__line {
  position: relative;
  display: grid;
  margin: 0;
  max-width: 100%;
  font-family: "Commissioner", "Work Sans", system-ui, sans-serif;
  font-size: clamp(14px, 5.6vw, 3rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: right;
  text-transform: uppercase;
  color: #fff6ec;
  opacity: 0.4;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(200, 90, 74, 0.25);
}

.latica-show__ghost,
.latica-show__content {
  grid-area: 1 / 1;
  justify-self: end;
  white-space: nowrap;
}

.latica-show__ghost {
  visibility: hidden;
  pointer-events: none;
}

.latica-show__content {
  display: inline-block;
}

.latica-show.is-typing .latica-show__line {
  animation: none;
}

.latica-show.is-done .latica-show__line {
  animation:
    laticaShowGlow 4s ease-in-out infinite alternate,
    laticaShowFloat 7s ease-in-out infinite;
}

.latica-show__cursor {
  display: inline-block;
  width: 2px;
  height: 0.82em;
  margin-left: 3px;
  background: rgba(255, 246, 236, 0.92);
  vertical-align: -0.06em;
  animation: laticaCursorBlink 0.75s step-end infinite;
}

.latica-show.is-done .latica-show__cursor {
  opacity: 0;
  animation: none;
}

.latica-show.is-done .latica-show__line::after {
  animation: laticaShowLine 3.5s ease-in-out infinite alternate;
}

.latica-show__line::after {
  content: "";
  display: block;
  width: min(42vw, 180px);
  height: 2px;
  margin: 0.55rem 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 230, 200, 0), rgba(232, 180, 160, 0.85));
  opacity: 0;
  transform: scaleX(0.85);
}

.latica-birds {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* —— bird player —— */
.latica-bird-panel {
  position: fixed;
  left: max(0.65rem, env(safe-area-inset-left, 0.65rem));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0.85rem));
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: rgba(18, 12, 8, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.latica-bird-btn {
  appearance: none;
  border: 0;
  margin: 0;
  flex: 0 0 auto;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 240, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 230, 200, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.latica-bird-btn__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter:
    brightness(0) invert(1)
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

.latica-bird-btn:active {
  transform: scale(0.94);
}

.latica-bird-btn.is-hint {
  animation: laticaBirdHint 2.4s ease-in-out infinite;
}

.latica-bird-btn.is-hint:active {
  animation: none;
}

.latica-bird-btn.is-playing {
  background: rgba(200, 90, 74, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 200, 180, 0.35),
    0 0 22px rgba(200, 90, 74, 0.35);
}

.latica-bird-btn.is-playing .latica-bird-btn__photo {
  animation: laticaBirdChirp 1.6s ease-in-out infinite;
}

.latica-bird-btn.is-muted {
  opacity: 0.72;
  background: rgba(255, 248, 240, 0.08);
}

.latica-bird-btn.is-muted .latica-bird-btn__photo {
  animation: none;
}

/* —— show reel cover on hero —— */
.latica-reel {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: #14100c;
}

.latica-reel.is-cover {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.latica-reel__video-stack {
  position: absolute;
  inset: 0;
}

.latica-reel__video-stack::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* hero-portrait.jpg mean tint rgb(179, 151, 112) */
  background: rgba(179, 151, 112, 0.2);
  mix-blend-mode: soft-light;
}

.latica-reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 68%;
  background: transparent;
  opacity: 0;
  transition: opacity 0.7s ease;
  will-change: opacity;
  /* grade matched to hero-portrait.jpg: warm sepia + lift */
  filter: sepia(24%) saturate(105%) contrast(104%) brightness(112%) hue-rotate(352deg);
}

.latica-reel__video-stack.is-hero-portrait::after {
  opacity: 0;
}

.latica-reel__video-stack.is-hero-portrait .latica-reel__video {
  filter: none;
}

.latica-reel__video.is-visible {
  opacity: 1;
}

.latica-reel__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.35;
}

.latica-bird-volume-wrap {
  display: flex;
  align-items: center;
  width: min(46vw, 180px);
  min-width: 120px;
  opacity: 0.95;
}

.latica-bird-volume {
  width: 100%;
  height: 28px;
  margin: 0;
  accent-color: #e8a090;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.latica-bird-volume::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 240, 225, 0.28);
}

.latica-bird-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.latica-bird-volume::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 240, 225, 0.28);
}

.latica-bird-volume::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #fff0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes laticaBirdHint {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      inset 0 0 0 1px rgba(255, 230, 200, 0.18),
      0 0 0 0 rgba(200, 90, 74, 0);
  }
  50% {
    transform: scale(1.07);
    box-shadow:
      inset 0 0 0 1px rgba(255, 200, 180, 0.45),
      0 0 22px rgba(200, 90, 74, 0.42);
  }
}

@keyframes laticaBirdChirp {
  0%, 100% { transform: translateY(0) scale(1); }
  35%      { transform: translateY(-3px) scale(1.05); }
  70%      { transform: translateY(0) scale(1); }
}

@keyframes laticaShowEnter {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes laticaShowGlow {
  from {
    text-shadow:
      0 2px 24px rgba(0, 0, 0, 0.55),
      0 0 24px rgba(200, 90, 74, 0.15);
  }
  to {
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.6),
      0 0 48px rgba(232, 160, 144, 0.45);
  }
}

@keyframes laticaShowFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes laticaShowLine {
  from { opacity: 0.45; transform: scaleX(0.85); }
  to   { opacity: 1; transform: scaleX(1); }
}

@keyframes laticaCursorBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

@keyframes laticaKenBurns {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(-1%, -0.6%, 0); }
}

@keyframes laticaLogoEnter {
  0% {
    opacity: 0;
    transform: translateY(-16px) scale(0.94);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes laticaLogoFloat {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-10px) rotate(0.4deg); }
}

@keyframes laticaLogoGlow {
  from { filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 0 rgba(255, 200, 140, 0)); }
  to   { filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 18px rgba(255, 200, 140, 0.35)); }
}

@keyframes laticaLogoShimmer {
  0%, 100% { opacity: 0.45; transform: scaleX(1); }
  50%      { opacity: 0.85; transform: scaleX(1.04); }
}

@media (max-width: 480px) {
  .latica-hero__photo {
    inset: -2%;
    width: 104%;
    height: 104%;
    object-position: center 68%;
    animation-duration: 28s;
  }

  .latica-hero__logo-wrap {
    width: min(50vw, 190px);
  }

  .latica-show {
    bottom: max(6.2rem, calc(env(safe-area-inset-bottom, 0px) + 5.2rem));
  }

  .latica-order-btn {
    min-height: 2.45rem;
    padding: 0.5rem 0.85rem;
    font-size: clamp(10px, 2.6vw, 12px);
  }

  .latica-bird-panel {
    left: max(0.5rem, env(safe-area-inset-left, 0.5rem));
    right: max(0.5rem, env(safe-area-inset-right, 0.5rem));
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0.75rem));
    width: calc(100% - max(1rem, env(safe-area-inset-left, 0.5rem) + env(safe-area-inset-right, 0.5rem)));
    max-width: none;
    justify-content: flex-start;
  }

  .latica-bird-btn {
    width: 4.75rem;
    height: 4.75rem;
  }

  .latica-bird-volume-wrap {
    flex: 1;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .latica-hero__photo {
    object-position: center 62%;
    animation: laticaKenBurnsMobile 26s ease-in-out infinite alternate;
  }

  .latica-hero__logo-wrap {
    width: min(48vw, 210px);
  }

  .latica-hero__logo {
    animation: laticaLogoFloatMobile 7s ease-in-out infinite;
  }
}

@media (orientation: portrait) and (max-width: 768px) {
  .latica-hero__photo {
    object-position: center 66%;
  }

  .latica-hero__logo-wrap {
    width: min(46vw, 200px);
  }
}

@media (min-width: 769px) {
  .latica-bird-btn {
    width: 4.75rem;
    height: 4.75rem;
  }

  .latica-bird-volume-wrap {
    width: min(28vw, 200px);
  }

  .latica-reel__video {
    object-position: center center;
  }
}

@keyframes laticaKenBurnsMobile {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.06) translate3d(-0.6%, -0.4%, 0); }
}

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

@media (prefers-reduced-motion: reduce) {
  .latica-hero__photo,
  .latica-hero__logo,
  .latica-hero__logo-wrap,
  .latica-hero__logo-wrap::after,
  .latica-show,
  .latica-show__line,
  .latica-show__line::after,
  .latica-bird-btn.is-hint,
  .latica-bird-btn.is-playing .latica-bird-btn__photo,
  .latica-reel__video {
    animation: none !important;
  }

  .latica-reel__video-stack:not(.is-hero-portrait) .latica-reel__video {
    filter: none;
  }

  .latica-reel__video-stack::after {
    display: none;
  }

  .latica-hero__photo {
    transform: none;
    will-change: auto;
  }

  .latica-story__video {
    filter: none;
    transform: none;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .latica-story__copy-more.is-revealing {
    animation: none;
  }

  .latica-hero::after,
  .latica-story__seam {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(to top, rgba(20, 16, 12, 0.55), transparent);
  }
}

/* —— video story blocks —— */
.latica-story {
  position: relative;
  min-height: 100svh;
  display: block;
  color: #fff6ec;
  background: #14100c;
  overflow: hidden;
}

.latica-story__seam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--latica-seam-h) * 1.35);
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(24px) saturate(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(1.04);
  background: linear-gradient(to top, rgba(20, 16, 12, 0.46) 0%, rgba(20, 16, 12, 0.1) 55%, rgba(20, 16, 12, 0) 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.72) 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.72) 45%, transparent 100%);
}

.latica-story:last-of-type .latica-story__seam {
  height: calc(var(--latica-seam-h) * 0.85);
  opacity: 0.8;
}

.latica-story__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.latica-story__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.035);
  filter: sepia(24%) saturate(105%) contrast(104%) brightness(112%) hue-rotate(352deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 92%, transparent 100%);
}

.latica-story__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(179, 151, 112, 0.2);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.latica-story__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14, 10, 8, 0.66) 0%, rgba(14, 10, 8, 0.42) 42%, rgba(14, 10, 8, 0.94) 100%),
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.66) 100%),
    rgba(14, 10, 8, 0.2);
  pointer-events: none;
}

.latica-story__inner {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  display: grid;
  align-items: center;
  width: min(920px, calc(100% - 2rem));
  margin: 0 auto;
  padding:
    calc(max(4.5rem, env(safe-area-inset-top, 0px) + 3rem))
    max(1rem, env(safe-area-inset-right, 0px))
    calc(max(4rem, env(safe-area-inset-bottom, 0px) + 2.5rem) + var(--latica-seam-h))
    max(1rem, env(safe-area-inset-left, 0px));
}

.latica-story__title {
  margin: 0 0 1.25rem;
  font-family: "Commissioner", "Work Sans", system-ui, sans-serif;
  font-size: clamp(1.75rem, 6vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff6ec;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.latica-story__title-line {
  display: block;
}

.latica-story__title-line--sub {
  margin-top: 0.35rem;
  font-size: clamp(1rem, 3.2vw, 1.65rem);
  letter-spacing: 0.03em;
  text-transform: none;
  opacity: 0.92;
}

.latica-story__lead {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255, 246, 236, 0.92);
}

.latica-story__copy {
  max-width: 42rem;
}

.latica-story__copy p {
  margin: 0 0 1rem;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: clamp(0.98rem, 2.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 246, 236, 0.86);
}

.latica-story--expandable {
  min-height: 100svh;
}

.latica-story--expandable .latica-story__inner {
  min-height: 100svh;
  align-content: center;
}

.latica-story--expandable.is-collapsed .latica-story__inner {
  align-items: center;
}

.latica-story--expandable.is-expanded .latica-story__inner {
  align-items: start;
  align-content: start;
}

.latica-story__copy-more {
  max-width: 42rem;
}

.latica-story__copy-more p {
  margin: 0 0 1rem;
  font-family: "Work Sans", system-ui, sans-serif;
  font-size: clamp(0.98rem, 2.2vw, 1.125rem);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 246, 236, 0.86);
}

.latica-story__copy-more.is-revealing {
  animation: laticaStoryReveal 0.55s ease-out both;
}

.latica-story.is-expanded .latica-story__play {
  display: none;
}

.latica-story__play {
  appearance: none;
  border: 0;
  margin: 1.25rem 0 0;
  min-height: clamp(4.5rem, 14vw, 5.5rem);
  padding: 0.85rem 1.65rem 0.85rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  cursor: pointer;
  background: rgba(200, 90, 74, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 200, 0.35),
    0 10px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.latica-story__play:hover,
.latica-story__play:focus-visible {
  background: rgba(212, 102, 86, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(255, 230, 210, 0.45),
    0 12px 36px rgba(0, 0, 0, 0.4);
  transform: scale(1.04);
}

.latica-story__play:active {
  transform: scale(0.96);
}

.latica-story__play-icon {
  flex: 0 0 auto;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-style: solid;
  border-width: 0.62rem 0 0.62rem 1rem;
  border-color: transparent transparent transparent #fff6ec;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.latica-story__play-label {
  font-family: "Commissioner", "Work Sans", system-ui, sans-serif;
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: #fff6ec;
  white-space: nowrap;
}

@keyframes laticaStoryReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .latica-story__inner {
    padding-left: max(2rem, env(safe-area-inset-left, 0px));
    padding-right: max(2rem, env(safe-area-inset-right, 0px));
  }

  .latica-story__title {
    max-width: 14ch;
  }
}
