* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  color: #1a1a1a;
  position: relative;
  background: #9bc0dc;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 35% at 70% 12%, rgba(255, 250, 230, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 20% 20%, rgba(200, 230, 255, 0.35) 0%, transparent 50%),
    linear-gradient(
      180deg,
      #5a9bc8 0%,
      #7eb6d9 18%,
      #a8d0ea 42%,
      #cfe4f4 62%,
      #e8f2f9 78%,
      #f4f8fc 100%
    );
}

.sun-glow {
  position: absolute;
  top: 6%;
  right: 18%;
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 252, 235, 0.9) 0%, rgba(255, 240, 200, 0.35) 35%, transparent 70%);
  filter: blur(4px);
}

.peaks {
  position: absolute;
  left: 0;
  width: 100%;
  display: block;
}

.peaks-far {
  bottom: 22%;
  height: 42%;
  opacity: 0.75;
}

.peaks-mid {
  bottom: 14%;
  height: 48%;
  opacity: 0.92;
}

.peaks-near {
  bottom: 8%;
  height: 52%;
  filter: drop-shadow(0 -2px 8px rgba(255, 255, 255, 0.4));
}

.snow-field {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background:
    radial-gradient(ellipse 40% 60% at 15% 40%, rgba(255, 255, 255, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 35% 50% at 85% 50%, rgba(255, 255, 255, 0.4) 0%, transparent 55%),
    linear-gradient(
      180deg,
      rgba(200, 220, 235, 0.35) 0%,
      #e4eef6 25%,
      #f2f7fb 55%,
      #ffffff 100%
    );
}

.trees {
  position: absolute;
  bottom: 0;
  width: min(26vw, 200px);
  height: min(40vh, 300px);
  opacity: 0.9;
}

.trees-left { left: 0; }
.trees-right { right: 0; }

.snow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.snowflake {
  position: absolute;
  top: -14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
  animation-name: snowfall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snowfall {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% { opacity: 0.8; }
  90% { opacity: 0.5; }
  100% {
    transform: translateY(110vh) translateX(22px);
    opacity: 0;
  }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.25rem 0.75rem 3rem;
  text-align: center;
}

header {
  margin-bottom: 2rem;
}

.bio-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 3.5vw, 2.25rem);
  max-width: 54rem;
  margin: 0 auto 1.5rem;
}

.bio-mascot {
  width: clamp(80px, 16vw, 140px);
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.2));
  user-select: none;
  display: block;
}

.bio-mascot-left {
  animation: dako-spin 8s linear infinite;
}

.bio-mascot-right {
  animation: dako-spin-flip 8s linear infinite;
}

@keyframes dako-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes dako-spin-flip {
  from { transform: scaleX(-1) rotate(0deg); }
  to { transform: scaleX(-1) rotate(-360deg); }
}

.bio {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 28rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(6px);
  text-align: center;
}

.tools {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.tools-es {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: #444;
}

.label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.title {
  margin: 0.3rem 0 0;
  font-size: clamp(2.4rem, 11vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  outline: #1a1a1a 3cap;
  color: #fff;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #e8fbff 28%,
    #b8f0ff 52%,
    #ffffff 70%,
    #d4f6ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 16px rgba(180, 240, 255, 0.85))
    drop-shadow(0 0 32px rgba(140, 220, 255, 0.55))
    drop-shadow(0 0 48px rgba(120, 210, 255, 0.35));
  animation: angel-shine 4.2s ease-in-out infinite;
}

@keyframes angel-shine {
  0%,
  100% {
    filter:
      drop-shadow(0 0 5px rgba(255, 255, 255, 0.9))
      drop-shadow(0 0 14px rgba(180, 240, 255, 0.7))
      drop-shadow(0 0 28px rgba(140, 220, 255, 0.4));
  }
  50% {
    filter:
      drop-shadow(0 0 10px rgba(255, 255, 255, 1))
      drop-shadow(0 0 22px rgba(200, 250, 255, 0.95))
      drop-shadow(0 0 40px rgba(160, 235, 255, 0.65))
      drop-shadow(0 0 60px rgba(130, 220, 255, 0.4));
  }
}

.content-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 900px) {
  .content-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
}

.gallery-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

.prices {
  flex: 0 0 auto;
  width: 100%;
  max-width: 16rem;
  margin: 0 auto;
  padding: 1.1rem 1.15rem;
  text-align: left;
  background: rgba(20, 40, 60, 0.35);
  border: 1px solid rgba(200, 240, 255, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 40, 80, 0.12);
  align-self: flex-start;
}

@media (min-width: 900px) {
  .prices {
    width: 15.5rem;
    margin: 0;
    position: sticky;
    top: 1rem;
  }
}

.price-gradient {
  background: linear-gradient(180deg, #ffffff 0%, #e8fbff 40%, #a8e8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #dff6ff;
}

.prices-title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}

.prices-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prices-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(200, 235, 255, 0.22);
  font-size: 0.9rem;
}

.prices-list li:last-child {
  border-bottom: none;
}

.prices-list span {
  text-align: left;
}

.prices-list strong {
  white-space: nowrap;
  font-weight: 700;
}

.gallery-row {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.row-3,
.row-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .gallery-row { gap: 1rem; }
  .row-3 { grid-template-columns: repeat(3, 1fr); }
  .row-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 66.666%;
    margin: 0 auto;
  }
}

.card {
  border: 1px solid #bbb;
  background: rgba(255, 255, 255, 0.88);
  min-width: 0;
  overflow: hidden;
}

.frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  width: 100%;
  padding: 0;
  border: none;
  background: #e8e8e8;
  cursor: zoom-in;
}

.frame:disabled {
  cursor: default;
}

.frame img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frame.has-image img {
  display: block;
}

.frame.has-image .placeholder {
  display: none;
}

.placeholder {
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0);
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    background 0.35s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.78);
}

.lightbox[hidden] {
  display: flex !important;
  pointer-events: none;
}

.lightbox:not([hidden]) {
  pointer-events: auto;
}

.lightbox-img {
  max-width: 96vw;
  max-height: 85vh;
  object-fit: contain;
  cursor: default;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open .lightbox-img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease 0.05s;
}

.lightbox.is-open .lightbox-close {
  opacity: 0.9;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 599px) {
  .bio-wrap {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .bio-mascot {
    width: 70px;
  }

  .bio-mascot-left { order: 1; }
  .bio-mascot-right { order: 2; }

  .bio {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .trees {
    width: min(34vw, 130px);
    height: min(26vh, 190px);
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .snowflake,
  .title,
  .bio-mascot-left,
  .bio-mascot-right {
    animation: none;
  }

  .bio-mascot-right {
    transform: scaleX(-1);
  }

  .lightbox,
  .lightbox-img,
  .lightbox-close {
    transition: none;
  }
}