/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.6;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

em { font-style: italic; }
strong { font-weight: 700; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}

.site-nav a:hover {
  opacity: 0.5;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px 0;
  transition: all 0.3s;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    z-index: 101;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: right 0.3s ease;
  }

  .site-nav.open {
    right: 0;
  }

  .site-nav a {
    font-size: 1.4rem;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ===== MAIN CONTENT ===== */
main {
  margin-top: 60px;
}

/* ===== WAVY MARQUEE ===== */
.marquee-container {
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0;
}

.marquee-container svg {
  width: 100%;
  display: block;
}

/* ===== LAYERED SECTIONS (marquee + content overlapping via CSS grid) ===== */
.layered-section {
  display: grid;
  grid-template: 1fr / 1fr;
  min-height: 90vh;
  overflow: hidden;
}

.layered-section--dark {
  background: #000;
  color: #fff;
}

.layered-section--dark a { color: #fff; }

.layered-section__marquee,
.layered-section__content {
  grid-area: 1 / 1;
}

.layered-section__marquee {
  z-index: 1;
  align-self: center;
  pointer-events: none;
}

.layered-section__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
}

.layered-section__img {
  max-width: min(500px, 60vw);
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.layered-section__img:hover {
  opacity: 0.9;
}

/* When marquee should appear IN FRONT of content */
.layered-section--marquee-front .layered-section__marquee {
  z-index: 3;
}

/* ===== HERO (standalone hero sections used on homepage) ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vw 2rem;
  background: #fff;
}

.hero__title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  font-size: clamp(4rem, 15vw, 16rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-align: center;
  white-space: nowrap;
}

.hero__subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

/* ===== FULL-BLEED HERO IMAGE ===== */
.hero-image {
  width: 100%;
  line-height: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== HOMEPAGE SECTIONS ===== */
.section {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section--dark {
  background: #000;
  color: #fff;
}

.section--dark a {
  color: #fff;
}

.section__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Full-bleed images on homepage -- edge to edge, zero margin */
.section__image {
  width: 100%;
  display: block;
}

.section__image img {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s;
}

.section__image img:hover {
  opacity: 0.85;
}

.section__text {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 600px;
}

.section__text p {
  max-width: none;
}

.section__link {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.8rem 2.5rem;
  border: 1px solid currentColor;
  margin-top: 1rem;
  transition: all 0.2s;
}

.section__link:hover {
  background: #000;
  color: #fff;
}

.section--dark .section__link:hover {
  background: #fff;
  color: #000;
}

/* ===== GALLERY PAGE HERO HEADERS ===== */
/* Full-viewport black hero with centered white text */
.gallery-header {
  background: #000;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.gallery-header h1 {
  letter-spacing: 0.05em;
}

.gallery-header h4 {
  color: #fff;
}

.gallery-header p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* ===== GALLERY -- 2-COLUMN GRID (PPE, Interoception) ===== */
.gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item__caption {
  text-align: left;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  padding-bottom: 0.5rem;
}

/* Two-column gallery variant (explicit class) */
.gallery--two-col {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
  padding: 4rem 2rem;
}

.gallery--two-col .gallery-item {
  align-items: flex-start;
  gap: 0.75rem;
}

.gallery--two-col .gallery-item img {
  width: 100%;
}

.gallery--two-col .gallery-item__caption {
  text-align: left;
}

/* ===== GALLERY GRID -- 3-COLUMN ON BLACK (Soft Sculpture) ===== */
.gallery--grid {
  max-width: 100%;
  background: #000;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gallery--grid .gallery-item {
  gap: 0;
}

.gallery--grid .gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ===== SOFT SCULPTURE TEXT ===== */
.prose {
  max-width: 650px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.prose h2 {
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.prose h2 + h2 {
  margin-bottom: 2rem;
}

.prose p {
  margin-bottom: 1.2rem;
  max-width: none;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
}

.prose--piece-info {
  padding-top: 0;
  padding-bottom: 0;
}

.prose--piece-info p {
  font-size: 0.9rem;
  color: #555;
  font-style: italic;
}

/* ===== ABOUT PAGE ===== */
.about {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Left-aligned artist statement */
.about__statement {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
  max-width: 65ch;
  text-align: left;
}

/* Nearly full-width portrait */
.about__portrait {
  width: 100%;
  max-width: 100%;
}

/* ===== CONTACT FORM -- 2-COLUMN LAYOUT ===== */
/* "GET IN TOUCH" heading on the left, form fields on the right */
.contact-form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
  padding: 0;
  margin: 0;
}

.contact-form h3 {
  text-align: left;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.05em;
  padding-top: 0.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  background: transparent;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.2s;
}

.form-submit:hover {
  background: #fff;
  color: #000;
}

/* ===== VIDEO BLOCK ===== */
.video-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.video-container video {
  width: 100%;
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid #000;
  text-align: center;
}

/* Subscribe section */
.footer-subscribe {
  padding: 3rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.footer-subscribe__text {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  margin-bottom: 1.5rem;
  max-width: none;
}

.footer-subscribe__form {
  display: flex;
  gap: 0;
}

.footer-subscribe__form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid #000;
  border-right: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  background: transparent;
}

.footer-subscribe__btn {
  padding: 0.8rem 1.5rem;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.footer-subscribe__btn:hover {
  background: #fff;
  color: #000;
}

/* Footer social links */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
}

.footer-social a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 0.5;
}

/* Footer nav links */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #eee;
}

.footer-nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 0.5;
}

/* Giant "ERIS TERRA" footer brand bar -- black bg */
.footer-brand {
  background: #000;
  color: #fff;
  padding: 4vw 2rem;
  overflow: hidden;
}

.footer-brand__title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(4rem, 15vw, 16rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  white-space: nowrap;
  display: block;
  text-align: center;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 1rem 2rem;
  background: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.2rem;
  }

  #marquee-hello {
    min-height: calc(80vh - 60px);
  }

  .hero {
    padding: 4vw 1.2rem;
  }

  .hero__title {
    white-space: normal;
    font-size: clamp(3.5rem, 14vw, 8rem);
  }

  .section__text {
    padding: 2rem 1.2rem;
  }

  .gallery-header {
    min-height: 80vh;
    padding: 2rem 1.2rem;
  }

  .gallery-header h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .gallery {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.5rem;
  }

  .gallery--two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.2rem;
  }

  .gallery--grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }

  .prose {
    padding: 2rem 1.2rem;
  }

  .about {
    padding: 3rem 1.2rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-form h3 {
    text-align: left;
  }

  .site-footer {
    text-align: center;
  }

  .footer-subscribe {
    padding: 2rem 1.2rem;
  }

  .footer-subscribe__form {
    flex-direction: column;
  }

  .footer-subscribe__form input {
    border-right: 1px solid #000;
    border-bottom: none;
  }

  .footer-social {
    padding: 1.2rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .gallery--grid {
    grid-template-columns: 1fr;
  }
}
