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

:root {
  --blue: #ffe895;
  --black: #000;
  --white: #FAF6F0;
  --off-white: #F5EDE2;
  --gray: #8C6E55;
  --gray-light: #E8D9C8;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* PILL NAV */
.nav-pill {
  position: fixed;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: linear-gradient(135deg, #FAF6F0 0%, #F5EDE2 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.nav-pill.is-visible {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-pill-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-pill-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 200;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

.nav-pill-sep {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-pill:hover .nav-pill-sep {
  opacity: 1;
}

.nav-pill-links {
  display: flex;
  list-style: none;
  overflow: hidden;
  max-width: 0;
  opacity: 0;
  transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.nav-pill:hover .nav-pill-links {
  max-width: 360px;
  opacity: 1;
  padding: 0 1.2rem;
}

.nav-pill-links li + li {
  margin-left: 1.4rem;
}

.nav-pill-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  display: block;
  padding: 0.55rem 0;
}

.nav-pill-links a:hover {
  color: #000;
}

/* NAV */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav-icon:hover {
  opacity: 0.7;
}

/* SPLIT HERO */
.hero-split {
  display: flex;
  height: 100vh;
  min-height: 600px;
}

.hero-painting {
  width: 50%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-painting-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-caption-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-caption-progress {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform-origin: left center;
  animation: caption-progress 12s linear forwards;
}

@keyframes caption-progress {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

.hero-painting-logo {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.hero-painting-logo-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 200;
}

.hero-content {
  width: 50%;
  flex-shrink: 0;
  background: var(--blue);
  display: flex;
  flex-direction: column;
}

nav.hero-nav {
  position: relative;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: var(--blue);
}

.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
  padding: 3rem 3.5rem 4rem;
}

@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    height: auto;
  }
  .hero-painting {
    width: 100%;
    height: 45vh;
  }
  .hero-content {
    width: 100%;
    min-height: 60vh;
  }
}

nav {
  position: relative;
  width: 100%;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--black);
  text-transform: uppercase;
  font-weight: 200;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(46, 33, 24, 0.6);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--black);
}

/* HERO (legacy — kept for reference, not used in split layout) */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}


.hero-logo {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.hero-logo span {
  color: var(--gray);
}

.logo-divider {
  width: 60px;
  height: 2px;
  background: rgba(0, 0, 0, 0.2);
  margin: 2rem 0;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 35px;
  font-weight: 200;
  color: var(--black);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 0;
  max-width: 500px;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  border-radius: 5px;
}

.btn-primary {
  background: #000000;
  color: var(--white);
  border: 1px solid #000000;
}

.btn-primary:hover {
  /*background: var(--blue);*/
  /*color: var(--black);*/
  /*border: 1px solid var(--black);*/
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.btn-outline:hover {
  border-color: var(--black);
  color: var(--black);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ABOUT */
.about {
  padding: 7rem 2rem;
  text-align: center;
  background: var(--white);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 200;
  color: var(--black);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-body {
  max-width: 620px;
  margin: 0 auto;
  color: var(--gray);
  line-height: 1.9;
  font-size: 1.05rem;
}

.gallery-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery {
  position: relative;
  width: 100%;
  height: 100%;
  flex: none;
}

.gallery__item {
  background-position: 50% 50%;
  background-size: cover;
  flex: none;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.gallery__item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.gallery--standard {
  display: grid;
  gap: 1vh;
  grid-template-columns: repeat(3, 32.5vw);
  grid-template-rows: repeat(4, 23vh);
  justify-content: center;
  align-content: center;
}

.gallery--expanded.gallery--standard {
  grid-template-columns: repeat(3, 100vw);
  grid-template-rows: repeat(4, 49.5vh);
  gap: 1vh;
}

.gallery--standard .gallery__item:nth-child(1) { grid-area: 1/1/3/2; }
.gallery--standard .gallery__item:nth-child(2) { grid-area: 1/2/2/3; }
.gallery--standard .gallery__item:nth-child(3) { grid-area: 2/2/4/3; }
.gallery--standard .gallery__item:nth-child(4) { grid-area: 1/3/2/4; }
.gallery--standard .gallery__item:nth-child(5) { grid-area: 3/1/3/2; }
.gallery--standard .gallery__item:nth-child(6) { grid-area: 2/3/4/4; }
.gallery--standard .gallery__item:nth-child(7) { grid-area: 4/1/5/2; }
.gallery--standard .gallery__item:nth-child(8) { grid-area: 4/2/5/3; }

/* DISCIPLINES */
.disciplines {
  background: var(--off-white);
  overflow: hidden;
  padding-top: 5rem;
}

.disciplines-heading {
  text-align: center;
  padding: 0 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.disciplines-track {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  padding-bottom: 6rem;
  will-change: transform;
}

.discipline-card {
  width: 360px;
  height: 396px;
  flex-shrink: 0;
  background: var(--white);
  text-align: left;
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.discipline-card:first-child {
  border-radius: 10px 0 0 10px;
}

.discipline-card:last-child {
  border-radius: 0 10px 10px 0;
}

.discipline-card-image {
  width: 100%;
  height: 200px;
  background: var(--gray-light) center/cover no-repeat;
}

.discipline-card-body {
  padding: 1.5rem 2rem 2rem;
  flex: 1;
}

.discipline-card:first-child {
  margin-left: 8vw;
}

.discipline-card:last-child {
  margin-right: 8vw;
}

.discipline-card:hover {
  background: var(--white);
}

.discipline-card:hover .discipline-card-body {
  background: #ECE3DF;
}

.discipline-card:hover .discipline-title {
  color: var(--black);
}

.discipline-card:hover .discipline-desc {
  color: rgba(46, 33, 24, 0.7);
}

.discipline-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 200;
  color: var(--black);
  margin-bottom: 0.8rem;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.discipline-desc {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.25s ease;
}

/* PHILOSOPHY */
.philosophy {
  padding: 7rem 2rem;
  background: #FFDDBE;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.philosophy .section-label {
  color: rgba(46, 33, 24, 0.5);
}

.philosophy-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  color: var(--black);
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  font-weight: 200;
}

.philosophy-sub {
  color: rgba(46, 33, 24, 0.65);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.8;
}

/* HOW IT WORKS */
.how {
  background: var(--white);
  overflow: hidden;
  padding-top: 5rem;
}

.how-heading {
  text-align: center;
  padding: 0 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.steps-track {
  display: flex;
  gap: 2px;
  padding-bottom: 6rem;
  will-change: transform;
}

.step {
  min-width: 40vw;
  flex-shrink: 0;
  padding: 3rem 4rem;
  background: var(--off-white);
  border-top: 2px solid var(--gray-light);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.step:first-child {
  margin-left: 8vw;
}

.step:last-child {
  margin-right: 8vw;
}

.step:hover {
  border-color: #666;
  background: var(--white);
}

.step-num {
  font-size: 3.5rem;
  color: #C0A995;
  line-height: 1;
  margin-bottom: 1.5rem;
  font-weight: normal;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 200;
  color: var(--black);
  margin-bottom: 0.8rem;
}

.step-desc {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: 320px;
}

/* DOWNLOAD + FOOTER PARALLAX WRAPPER */
.end-parallax {
  position: relative;
  background-image: url('../images/paintings/van_gogh_starry_night.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.end-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

/* DOWNLOAD */
.download {
  padding: 8rem 2rem;
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 1;
}

.download .section-label {
  color: var(--white);
}

.download .section-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.download-sub {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 3rem;
  font-style: italic;
}

.store-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
  border-radius: 5px;
}

.store-btn:hover {
  background: #000000;
  color: #fff;
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn-text {
  text-align: left;
}

.store-btn-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.1rem;
}

.store-btn-name {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

/* FOOTER */
footer {
  padding: 3rem 2rem;
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 1;
  border-top: none;
}

footer .nav-logo,
footer p {
  position: relative;
  z-index: 1;
}

footer .nav-logo {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #FAF6F0;
}

footer p {
  color: #FAF6F0;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* RESPONSIVE */
@media (max-width: 600px) {
  nav {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
}
