:root {
  --black: #19130e;
  --dark-brown: #302012;
  --gold: #c69a43;
  --gold-light: #e9bb62;
  --parchment: #e9d3a0;
  --cream: #fff5dd;
  --white: #fffaf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  font-family: Georgia, "Times New Roman", serif;
  background: var(--parchment);
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 3px;
  line-height: 1.7;
  text-transform: uppercase;
}

.divider {
  margin: 24px 0;
  color: var(--gold-light);
  letter-spacing: 12px;
  font-size: 18px;
}

.divider.dark {
  color: var(--dark-brown);
}

/* PASSWORD SCREEN */

.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;

  background:
    radial-gradient(
      ellipse at 50% 35%,
      #a46c24 0%,
      #714018 45%,
      #26170f 100%
    );
}

.login-card {
  width: 100%;
  max-width: 560px;
  padding: 45px 35px;

  text-align: center;
  color: var(--cream);

  border: 2px solid var(--gold-light);

  background:
    linear-gradient(
      145deg,
      rgba(35, 23, 14, 0.96),
      rgba(16, 12, 10, 0.98)
    );

  box-shadow:
    0 0 0 7px #19130e,
    0 15px 60px rgba(0, 0, 0, 0.5);
}

.login-card .eyebrow {
  color: var(--gold-light);
}

.aurora-logo {
  position: relative;
  height: 170px;
  margin: 25px auto;
}

.star-symbol {
  font-size: 170px;
  line-height: 150px;
  color: var(--gold);
}

.girl-silhouette {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 35px;
  color: var(--black);
  z-index: 2;
}

.logo-name {
  position: absolute;
  top: 73px;
  left: 0;
  right: 0;
  color: white;
  font-size: 39px;
  letter-spacing: 8px;
  text-shadow: 0 2px 4px black;
}

.login-card h1 {
  margin: 20px 0;
  font-size: clamp(29px, 6vw, 43px);
  line-height: 1.1;
}

.login-card p {
  font-size: 16px;
  line-height: 1.7;
}

#login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

#password {
  width: 100%;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--gold);
  background: var(--cream);
  color: var(--black);
  font-size: 18px;
}

#password:focus {
  outline: 3px solid var(--gold-light);
}

#login-form button,
.primary-button,
.download-button {
  display: inline-block;
  padding: 17px 25px;

  background: var(--black);
  color: var(--gold-light);

  border: 1px solid var(--gold);

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-align: center;
  text-decoration: none;

  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}

#login-form button:hover,
.primary-button:hover,
.download-button:hover {
  background: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
}

.error {
  color: #ffb9a8;
  font-size: 14px !important;
  min-height: 20px;
}

/* HERO */

.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 90px 20px;
  text-align: center;
  color: var(--cream);

  background:
    radial-gradient(
      ellipse at 50% 25%,
      #b17b29 0%,
      #795020 30%,
      #352012 65%,
      #17110d 100%
    );
}

.hero-content {
  max-width: 1000px;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.hero-star {
  font-size: 110px;
  line-height: 1;
  color: var(--black);
  margin: 25px auto;
  text-shadow: 0 2px 5px #0006;
}

.hero h1 {
  margin: 25px 0;
  font-size: clamp(36px, 7vw, 85px);
  line-height: 0.98;
  letter-spacing: -1px;
  text-shadow: 0 4px 8px #0008;
}

.hero h2 {
  margin: 15px 0;
  color: var(--gold-light);
  font-size: clamp(28px, 4vw, 45px);
  font-weight: normal;
  font-style: italic;
}

.hero-description {
  font-size: 19px;
  line-height: 1.7;
  margin: 20px 0;
}

.hero .primary-button {
  margin-top: 20px;
}

/* GALLERY */

.gallery-section {
  max-width: 1500px;
  margin: auto;
  padding: 75px 25px;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading h2 {
  margin: 20px 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
}

.section-heading p {
  font-size: 19px;
  line-height: 1.6;
}

.photo-count {
  text-align: center;
  margin-bottom: 25px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;

  aspect-ratio: 4 / 3;

  border: 6px solid var(--cream);
  background: var(--dark-brown);

  box-shadow: 0 4px 12px #0004;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.25s ease;
}

.photo-card:hover img {
  transform: scale(1.06);
}

.photo-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 15px;

  background: rgba(0, 0, 0, 0.85);
  color: var(--gold-light);

  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 2px;

  opacity: 0;
  transition: opacity 0.2s;
}

.photo-card:hover .photo-overlay,
.photo-card:focus-visible .photo-overlay {
  opacity: 1;
}

.empty-gallery {
  padding: 60px 25px;
  text-align: center;
  border: 2px solid var(--gold);
}

/* ORIGINAL DOWNLOADS */

.download-section {
  margin: 65px auto 10px;
  max-width: 800px;
  padding: 45px 30px;

  text-align: center;

  background: #d5b980;
  border: 2px solid var(--dark-brown);
}

.download-section h2 {
  font-size: clamp(28px, 4vw, 45px);
  margin: 20px 0;
}

.download-section p {
  font-size: 18px;
  line-height: 1.6;
}

.download-section .primary-button {
  margin: 15px 0 25px;
}

.download-note {
  font-size: 13px !important;
  font-style: italic;
}

/* PROCLAMATION */

.proclamation {
  padding: 75px 25px;
  text-align: center;

  color: var(--black);
  background: #caa56c;

  border-top: 4px solid var(--black);
  border-bottom: 4px solid var(--black);
}

.proclamation h2 {
  margin: 25px 0;
  font-size: clamp(30px, 4vw, 48px);
}

.proclamation p {
  max-width: 650px;
  margin: 15px auto;
  font-size: 19px;
  line-height: 1.7;
}

.proclamation-quote {
  margin-top: 30px !important;
  font-size: 24px !important;
  font-style: italic;
  font-weight: bold;
}

/* FOOTER */

footer {
  padding: 40px 20px;
  text-align: center;

  background: var(--black);
  color: var(--gold-light);

  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
}

footer p {
  margin: 8px 0;
}

.footer-highlight {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
}

/* LIGHTBOX */

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

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

  background: rgba(0, 0, 0, 0.97);
}

#lightbox-image {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 15px;
  right: 25px;

  background: none;
  border: 0;
  color: white;

  font-size: 45px;
  z-index: 2;
}

.nav-button {
  position: absolute;
  top: 45%;
  z-index: 2;

  background: #171411aa;
  color: white;
  border: 0;

  font-size: 55px;
  padding: 5px 17px;
}

.previous {
  left: 10px;
}

.next {
  right: 10px;
}

.lightbox-actions {
  position: absolute;
  bottom: 20px;

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

  color: white;
  font-family: Arial, sans-serif;
}

.download-button {
  padding: 12px 20px;
}

/* MOBILE */

@media (max-width: 600px) {
  .login-card {
    padding: 30px 20px;
  }

  .hero {
    padding: 70px 15px;
  }

  .hero-star {
    font-size: 80px;
  }

  .hero-description {
    font-size: 17px;
  }

  .gallery-section {
    padding: 50px 12px;
  }

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

  .photo-card {
    border-width: 3px;
  }

  .photo-overlay {
    display: none;
  }

  #lightbox-image {
    max-width: 100vw;
    max-height: 75vh;
  }

  .lightbox-actions {
    flex-direction: column;
    gap: 10px;
  }

  .nav-button {
    font-size: 40px;
    padding: 5px 10px;
  }
}