:root {
  --white: #FFFFFF;
  --off-white: #FAFAF7;
  --black: #0A0A0A;
  --black-soft: #1A1A1A;
  --yellow: #F5C518;
  --yellow-deep: #D9AD0C;
  --gray: #6B6B66;

  --font-display: 'Indie Flower', cursive;
  --font-body: 'Nunito Sans', sans-serif;

  --max-width: 1160px;
  --section-pad: clamp(64px, 10vw, 120px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img { max-width: 100%; display: block; }

/* Progress rail, thin yellow line across top tracking scroll */
.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--yellow);
  z-index: 1100;
  transition: width 0.1s linear;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 100px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4);
}

.btn:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(10,10,10,0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow-deep);
  transition: width 0.2s ease;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 100px;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--black-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 8px 24px 24px;
  gap: 4px;
  border-top: 1px solid rgba(10,10,10,0.08);
}

.nav-mobile a {
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(10,10,10,0.06);
}

.nav-cta-mobile {
  margin-top: 12px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  padding: 14px;
  border-radius: 100px;
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-mobile { display: flex; }
  .nav.open { background: var(--white); box-shadow: 0 1px 0 rgba(10,10,10,0.08); }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Image placeholders */
.img-placeholder {
  background: var(--black-soft);
  color: var(--white);
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
  border: 2px dashed rgba(245, 197, 24, 0.5);
}

.img-placeholder-dark {
  background: var(--black);
}

.img-placeholder-square {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

.img-placeholder-portrait {
  aspect-ratio: 3 / 4;
}

.ph-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.ph-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  max-width: 220px;
  line-height: 1.5;
}

/* Sticky mobile CTA bar */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(10,10,10,0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 14px;
  border-radius: 100px;
}

@media (max-width: 860px) {
  .sticky-cta { display: block; }
}
