:root {
  --bg-top: #07172f;
  --bg-mid: #0b2c59;
  --bg-bottom: #123c6e;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.14);
  --text: #f8fbff;
  --muted: #c7d8ec;
  --accent: #f5b335;
  --accent-dark: #d89315;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
  --radius: 22px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 70% 18%, rgba(255,255,255,0.18), transparent 16%),
    radial-gradient(circle at 18% 6%, rgba(255,255,255,0.08), transparent 14%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%);
}

.sky,
.cloud-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.sky {
  z-index: 0;
  background-repeat: repeat;
  opacity: 0.92;
}

.sky-back {
  background-image:
    radial-gradient(circle at 8% 22%, rgba(255,255,255,0.65) 0 1px, transparent 1.6px),
    radial-gradient(circle at 31% 11%, rgba(255,255,255,0.45) 0 1.2px, transparent 1.9px),
    radial-gradient(circle at 57% 33%, rgba(255,255,255,0.52) 0 1px, transparent 1.7px),
    radial-gradient(circle at 73% 16%, rgba(255,255,255,0.65) 0 1.5px, transparent 2px),
    radial-gradient(circle at 91% 27%, rgba(255,255,255,0.42) 0 1px, transparent 1.7px),
    radial-gradient(circle at 16% 81%, rgba(255,255,255,0.48) 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 48% 71%, rgba(255,255,255,0.55) 0 1.1px, transparent 1.8px),
    radial-gradient(circle at 82% 88%, rgba(255,255,255,0.52) 0 1px, transparent 1.7px);
  background-size: 640px 640px;
}

.sky-mid {
  background-image:
    radial-gradient(circle at 14% 40%, rgba(255,255,255,0.75) 0 1.8px, transparent 2.4px),
    radial-gradient(circle at 26% 61%, rgba(255,255,255,0.55) 0 1.2px, transparent 2px),
    radial-gradient(circle at 42% 21%, rgba(255,255,255,0.58) 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 67% 48%, rgba(255,255,255,0.72) 0 1.8px, transparent 2.4px),
    radial-gradient(circle at 84% 57%, rgba(255,255,255,0.55) 0 1.2px, transparent 2px),
    radial-gradient(circle at 94% 18%, rgba(255,255,255,0.8) 0 1.8px, transparent 2.5px),
    radial-gradient(circle at 9% 93%, rgba(255,255,255,0.64) 0 1.4px, transparent 2.1px);
  background-size: 860px 860px;
  opacity: 0.82;
}

.sky-front {
  background-image:
    radial-gradient(circle at 12% 9%, rgba(255,255,255,0.85) 0 2px, transparent 2.8px),
    radial-gradient(circle at 38% 36%, rgba(255,255,255,0.72) 0 1.8px, transparent 2.6px),
    radial-gradient(circle at 61% 14%, rgba(255,255,255,0.88) 0 2.1px, transparent 2.8px),
    radial-gradient(circle at 77% 41%, rgba(255,255,255,0.82) 0 2px, transparent 2.8px),
    radial-gradient(circle at 88% 74%, rgba(255,255,255,0.7) 0 1.8px, transparent 2.5px),
    radial-gradient(circle at 23% 82%, rgba(255,255,255,0.8) 0 2px, transparent 2.7px);
  background-size: 1200px 1200px;
  opacity: 0.58;
  animation: twinkle 5.5s ease-in-out infinite;
}

.cloud-layer {
  z-index: 1;
  opacity: 0.2;
  filter: blur(18px);
}

.cloud-back {
  background:
    radial-gradient(ellipse at 8% 22%, rgba(255,255,255,0.65) 0 6%, transparent 13%),
    radial-gradient(ellipse at 33% 13%, rgba(255,255,255,0.45) 0 7%, transparent 14%),
    radial-gradient(ellipse at 78% 20%, rgba(255,255,255,0.52) 0 8%, transparent 15%),
    radial-gradient(ellipse at 62% 61%, rgba(255,255,255,0.35) 0 7%, transparent 14%);
  animation: driftBack 80s linear infinite;
}

.cloud-front {
  background:
    radial-gradient(ellipse at 15% 69%, rgba(255,255,255,0.55) 0 8%, transparent 16%),
    radial-gradient(ellipse at 52% 30%, rgba(255,255,255,0.42) 0 8%, transparent 15%),
    radial-gradient(ellipse at 89% 74%, rgba(255,255,255,0.45) 0 8%, transparent 16%),
    radial-gradient(ellipse at 70% 10%, rgba(255,255,255,0.35) 0 7%, transparent 14%);
  animation: driftFront 55s linear infinite;
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.hero {
  padding: 42px 0 24px;
}

.hero-box {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  border: 1px solid var(--panel-border);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 40%, rgba(255,255,255,0.12), transparent 16%),
    radial-gradient(circle at 22% 10%, rgba(255,255,255,0.05), transparent 18%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.hero-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 60ch;
}

.hero-art {
  min-height: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plane-stage {
  position: relative;
  width: min(100%, 460px);
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

.plane-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.26) 0, rgba(173,220,255,0.16) 34%, rgba(255,255,255,0) 72%);
  filter: blur(22px);
  z-index: 0;
}

#photographerPlane {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 26px 34px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.16));
  animation: gentleFloat 5.6s ease-in-out infinite;
  transform-origin: center;
}

.camera-flash {
  position: absolute;
  top: 1%;
  left: 17%;
  width: 101px;
  height: 101px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.92) 0, rgba(255,255,255,0.45) 26%, rgba(255,255,255,0.05) 55%, transparent 76%);
  opacity: 0;
  transform: scale(0.3);
  filter: blur(2px);
  z-index: 3;
  pointer-events: none;
}

.camera-flash.flash {
  animation: flashPop 420ms ease-out;
}

.section-title {
  margin: 30px 0 16px;
  font-size: 1.35rem;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.album-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
  backdrop-filter: blur(4px);
}

.album-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.28);
}
.album-card.horizontal {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 18px;
}
.album-card.horizontal:hover .film-frame img {
  transform: scale(1.04);
}

/* add more of these to delay animations for new albums */
.album-card:nth-child(1) h2::after { animation-delay: 0s; }
.album-card:nth-child(2) h2::after { animation-delay: 0.6s; }
.album-card:nth-child(3) h2::after { animation-delay: 1.2s; }


.album-thumb {
  aspect-ratio: 16 / 10;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(245,179,53,0.2), rgba(255,255,255,0.06)),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.14), transparent 22%),
    linear-gradient(180deg, rgba(15,36,74,0.78), rgba(9,24,49,0.92));
  display: flex;
  align-items: center;
  justify-content: center;
}

.album-thumb-inner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.92);
}

.album-body {
  flex: 1;
  padding: 18px;
}

.album-body h2 {
  position: relative;
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;

  /* base color */
  color: yellow;

  /* subtle glow */
  text-shadow:
    0 0 6px rgba(255,255,255,0.25),
    0 0 16px rgba(80,160,255,0.35);

  /* needed for clipping the shine */
  overflow: hidden;
}

.album-body h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.05) 20%,
    rgba(255,255,255,0.6) 45%,
    rgba(255,255,255,0.05) 70%,
    transparent 100%
  );

  transform: skewX(-20deg);

  animation: runwaySweep 4s infinite;
}

@keyframes runwaySweep {
  0% {
    left: -75%;
  }
  100% {
    left: 130%;
  }
}

.side-thumb {
  width: 220px;
  min-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 14px 14px 0;
}

.filmstrip-preview {
  width: 100%;
  padding: 12px 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20,20,28,0.95), rgba(35,35,45,0.92));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
/* film sprocket holes */
.filmstrip-preview::before,
.filmstrip-preview::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 8px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 8px,
      rgba(255,255,255,0.9) 8px 14px,
      transparent 14px 24px
    );
  opacity: 0.18;
  pointer-events: none;
}

.filmstrip-preview::before {
  left: 4px;
}

.filmstrip-preview::after {
  right: 4px;
}

.film-frame {
  height: 58px;
  margin: 0 10px;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.album-meta {
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 10px;
}

.album-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.album-link {
  display: inline-block;
  background: var(--accent);
  color: #13233e;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: bold;
}

.footer-note,
.footer-legal {
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.footer-legal {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.96rem;
}

.album-thumb-inner {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  padding: 10px;
}

.album-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}


@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-1deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes flashPop {
  0% {
    opacity: 0;
    transform: scale(0.28);
  }
  18% {
    opacity: 1;
    transform: scale(1.25);
  }
  45% {
    opacity: 0.85;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.72; }
}

@keyframes driftBack {
  from { transform: translateX(0); }
  to { transform: translateX(120px); }
}

@keyframes driftFront {
  from { transform: translateX(0); }
  to { transform: translateX(-180px); }
}

@media (max-width: 900px) {
  .hero-box {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 250px;
  }

  .plane-glow {
    width: 300px;
    height: 300px;
  }

  #photographerPlane {
    width: min(100%, 320px);
  }
}

@media (max-width: 700px) {
  .album-card.horizontal {
    flex-direction: column;
  }

  .side-thumb {
    width: 100%;
    min-width: 100%;
    padding: 0 18px 18px;
  }

  .filmstrip-preview {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 14px 36px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-box {
    padding: 20px;
    border-radius: 22px;
  }

  .hero-copy p {
    font-size: 1rem;
  }
}


.fancy-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: linear-gradient(135deg, #f5b335, #ffd36b);
  color: #13233e;

  padding: 10px 16px;
  border-radius: 999px;

  font-weight: bold;
  font-size: 0.95rem;

  box-shadow:
    0 6px 14px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.4);

  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

/* subtle shine sweep */
.fancy-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );

  transform: skewX(-20deg);
  transition: all 0.4s ease;
}

.fancy-button:hover::after {
  left: 120%;
}

/* hover motion */
.fancy-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 10px 22px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

/* airplane moves slightly */
.fancy-button .btn-icon {
  transition: transform 0.2s ease;
}

.fancy-button:hover .btn-icon {
  transform: translateX(4px) rotate(10deg);
}
