:root {
  --black: #0b0a09;
  --charcoal: #141210;
  --white: #f4ede3;
  --gray: #9a9086;
  --line: rgba(244,237,227,0.14);

  /* 70s-inspired accent palette, kept on a black ground */
  --sun-1: #f3c463;
  --sun-2: #ea7b3c;
  --sun-3: #d94f4f;
  --sun-4: #6d2f52;
  --accent: var(--sun-2);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Elegant, visible focus state for keyboard navigation */
a:focus-visible,
button:focus-visible,
.gallery-item:focus-visible {
  outline: 1px solid var(--sun-2);
  outline-offset: 4px;
  border-radius: 2px;
}

h1, h2 { font-family: 'Unbounded', sans-serif; }

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--sun-1), var(--sun-2), var(--sun-3));
  z-index: 600;
  transition: width 0.1s linear;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 5%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(11,10,9,0.85), transparent);
}

.logo {
  display: flex;
  align-items: center;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.logo-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--sun-2);
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s;
  padding-bottom: 4px;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 1px;
  background: var(--white);
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 75% 15%, rgba(234,123,60,0.10), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(109,47,82,0.14), transparent 45%),
    linear-gradient(160deg, #1a1714, #080706 65%);
  animation: drift 22s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.05); }
}

.hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 0 8%;
}

/* Visually hidden but accessible — keeps a single semantic h1 for SEO/screen readers
   now that the visible hero headline has been removed from the design */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sun emblem — 70s striped sunset, contained as a quiet graphic mark rather than a backdrop */
.sunburst {
  position: relative;
  width: clamp(190px, 24vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sun-1) 0%, var(--sun-2) 42%, var(--sun-3) 72%, var(--sun-4) 100%);
  box-shadow: 0 0 90px rgba(234,123,60,0.3);
  overflow: hidden;
}

.sunburst::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 7px,
    var(--black) 7px, var(--black) 14px
  );
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 42%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 40%, black 42%);
}

.sunburst-caption {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 68%;
  text-align: center;
  color: #1c1206;
  opacity: 0.82;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.8;
}

.hero-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  max-width: 620px;
  color: var(--gray);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  z-index: 2;
  transition: color 0.25s ease, transform 0.25s ease;
}

.scroll-hint:hover,
.scroll-hint:focus-visible {
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--sun-1), transparent);
  animation: pulse 2.4s infinite;
}

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

/* Section shared */
.section-head {
  max-width: 640px;
  margin: 0 auto 50px;
  padding: 140px 6% 0;
  text-align: center;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-number {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  color: var(--sun-2);
  letter-spacing: 0.05em;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
}

.section-title {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin: 24px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sun-1), var(--sun-2), var(--sun-3));
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 6%;
  margin-bottom: 70px;
}

.filter-btn {
  font-family: 'Jost', sans-serif;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--white);
}

.filter-btn.active {
  background: var(--sun-2);
  border-color: var(--sun-2);
  color: var(--black);
}

/* Gallery — a spaced-out path of discovery, not a dense grid */
.gallery-section { padding-bottom: 160px; }

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(56px, 10vh, 130px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 6%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.gallery-item:nth-child(3n+1) { max-width: 68%; align-self: flex-start; }
.gallery-item:nth-child(3n+2) { max-width: 46%; align-self: flex-end; }
.gallery-item:nth-child(3n) { max-width: 82%; align-self: center; }

/* Lower-resolution photos are shown smaller so they read crisp rather than soft/pixelated */
.gallery-item.gallery-item--compact { max-width: 40%; }

.gallery-item.hidden-item { display: none; }

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

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease, filter 0.5s ease;
  filter: grayscale(20%) contrast(1.02);
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: grayscale(0%);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(234,123,60,0.22), rgba(217,79,79,0.1) 60%, transparent 80%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover::after { opacity: 1; }

.follower {
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(244,237,227,0.6);
  background: rgba(11,10,9,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s ease;
  backdrop-filter: blur(2px);
  z-index: 2;
}

.gallery-item:hover .follower { transform: translate(-50%, -50%) scale(1); }

/* About */
.about-section { padding: 140px 0 130px; }

.about-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 6%;
}

.about-photo {
  position: relative;
  height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(10%) contrast(1.03);
  z-index: 0;
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,7,6,0.8), transparent 55%);
  z-index: 1;
}

.about-photo-caption {
  position: relative;
  z-index: 2;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--white);
}

.about-text .eyebrow-row { justify-content: flex-start; }

.about-quote {
  font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.45;
  margin: 14px 0 26px;
}

.about-text p {
  color: #cfc6b9;
  margin-bottom: 18px;
  font-size: 1rem;
}

.about-text a { border-bottom: 1px solid var(--sun-2); color: var(--sun-2); }

/* Contact */
.contact-section {
  text-align: center;
  padding: 60px 6% 140px;
}

.eyebrow-row-center { justify-content: center; }

.contact-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  max-width: 520px;
  margin: 16px auto 40px;
  line-height: 1.4;
  color: var(--gray);
  text-transform: none;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--black);
  background: linear-gradient(120deg, var(--sun-1), var(--sun-2));
  padding: 18px 38px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 34px rgba(234,123,60,0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(234,123,60,0.32);
}

.insta-link {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--gray);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.insta-icon { flex-shrink: 0; transition: color 0.25s ease; }

.insta-link:hover {
  color: var(--sun-2);
  border-color: var(--sun-2);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6,5,4,0.97);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 34px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  padding: 0 24px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.lightbox-nav:hover { opacity: 1; color: var(--sun-2); }
.lightbox-prev { left: 6px; }
.lightbox-next { right: 6px; }

/* Responsive */
@media (max-width: 900px) {
  .gallery-item:nth-child(3n+1) { max-width: 78%; }
  .gallery-item:nth-child(3n+2) { max-width: 60%; }
  .gallery-item:nth-child(3n) { max-width: 90%; }
  .gallery-item.gallery-item--compact { max-width: 50%; }
  .about-content { grid-template-columns: 1fr; }
  .about-photo { height: 320px; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 26px 0;
    background: rgba(11,10,9,0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav.nav-open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .gallery { gap: 44px; }
  .gallery-item:nth-child(3n+1),
  .gallery-item:nth-child(3n+2),
  .gallery-item:nth-child(3n),
  .gallery-item.gallery-item--compact { max-width: 100%; align-self: center; }
  .section-head { padding-top: 110px; }
  .about-text .eyebrow-row { justify-content: center; }
  .follower { display: none; }

  /* Hero: tighter rhythm to keep the sun centred without excess empty space */
  .hero-text { gap: 24px; padding: 0 6%; }
  .sunburst { width: clamp(150px, 46vw, 190px); }
  .hero-sub { font-size: 0.82rem; }
  .filter-btn { font-size: 0.8rem; }
}
