
/* ── FLOATING NAV — overrides base.css defaults for the transparent-over-hero variant ── */
nav {
  padding: 32px 56px;
  mix-blend-mode: normal;
  transition: all 0.4s;
}

nav.dark-nav {
  background: rgba(34, 22, 8, 0.88);
  backdrop-filter: blur(12px);
  padding: 20px 56px;
  border-bottom: 0.5px solid rgba(196, 155, 31, 0.15);
}

nav.light-nav {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px 56px;
  border-bottom: 0.5px solid var(--cream-dark);
}

.nav-logo img {
  height: 44px;
  transition:
    filter 0.4s,
    opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}

nav.dark-nav .nav-logo img,
nav.light-nav .nav-logo img {
  opacity: 1;
  pointer-events: auto;
}

nav.dark-nav .nav-logo img {
  filter: brightness(0) invert(1) sepia(1) saturate(0.5) brightness(1.1);
}

nav.dark-nav .nav-menu a {
  color: rgba(240, 232, 210, 0.6);
}

nav.dark-nav .nav-menu a:hover {
  color: var(--gold-lt);
}

nav.light-nav .nav-menu a {
  color: var(--brown);
  opacity: 0.6;
}

nav.light-nav .nav-menu a:hover {
  opacity: 1;
  color: var(--gold);
}

nav:not(.dark-nav):not(.light-nav) .nav-menu a {
  color: var(--taupe);
  opacity: 1;
}

nav:not(.dark-nav):not(.light-nav) .nav-menu a:hover {
  color: var(--gold);
}

/* Index hides nav-title initially; dark-nav/light-nav fade it in on scroll */
.nav-title {
  transition: filter 0.4s, opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}

nav.dark-nav .nav-title,
nav.light-nav .nav-title {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile panel open: give the transparent nav a solid header with the title
   visible, so the panel doesn't open under a blank strip (class set by nav.js) */
nav.nav--panel-open {
  background: var(--cream-off);
}
nav.nav--panel-open .nav-title {
  opacity: 1;
  pointer-events: auto;
}
nav.nav--panel-open .nav-hamburger span {
  background: var(--brown);
}

nav.dark-nav .nav-title {
  filter: brightness(0) invert(1) sepia(1) saturate(0.5) brightness(1.1);
}

/* Hamburger bars are taupe over hero; brown once nav becomes solid or panel opens */
.nav-hamburger span {
  background: var(--taupe);
}

nav.light-nav .nav-hamburger span {
  background: var(--brown);
}

.nav-hamburger.is-open span {
  background: var(--brown);
}

/* ── HERO — full viewport ── */
.hero {
  /* min-height (not height) so landscape phones don't clip the CTAs;
     svh so mobile URL bars don't push the scroll cue below the fold */
  min-height: 100vh;
  min-height: 100svh;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background:
    linear-gradient(160deg,
      #fae2c2 0%,
      #f5edd6 30%,
      #f7e9c1 60%,
      #f1ede8 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
}

.hero-bg::before {
  background: radial-gradient(ellipse 80% 70% at 30% 55%,
      rgba(224, 180, 120, 0.3) 0%,
      rgba(224, 180, 120, 0.1) 40%,
      transparent 70%);
  animation: breatheA 4s ease-in-out infinite;
}

.hero-bg::after {
  background: radial-gradient(ellipse 75% 80% at 70% 40%,
      rgba(210, 170, 100, 0.2) 0%,
      rgba(210, 170, 100, 0.08) 35%,
      transparent 65%);
  animation: breatheB 5s ease-in-out infinite;
}

@keyframes breatheA {

  0%,
  100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.12) translate(2%, 3%);
    opacity: 1;
  }
}

@keyframes breatheB {

  0%,
  100% {
    transform: scale(1.08) translate(0, 0);
    opacity: 0.2;
  }

  50% {
    transform: scale(1) translate(-3%, -2%);
    opacity: 0.9;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
}

/* The h1 exists for document structure only (the logo image is the visual
   title) — inherit body font metrics so its line box matches the plain <img>
   layout it replaced, pixel for pixel. */
.hero-content h1 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.hero-logo {
  height: 350px;
  margin-bottom: 40px;
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 20px;
  animation: fadeIn 1s ease forwards 0.4s;
  opacity: 0;
}

.hero-copy {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.8;
  color: var(--taupe);
  max-width: 520px;
  margin: 0 auto 48px;
  animation: fadeIn 1s ease forwards 0.7s;
  opacity: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeIn 1s ease forwards 1s;
  opacity: 0;
}

.btn-hero {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-hero-primary {
  background: rgba(250, 246, 238, 0.12);
  color: var(--gold);
  border: 0.5px solid var(--gold-lt);
  backdrop-filter: blur(4px);
}

.btn-hero-primary:hover {
  background: var(--cream-off);
  border-color: transparent;
}

.btn-hero-gold {
  background: var(--gold);
  color: var(--cream-off);
  border: none;
}

.btn-hero-gold:hover {
  background: var(--gold-lt);
}

/* scroll cue */
@keyframes scrollCueFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.scroll-cue--hidden {
  opacity: 0 !important;
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scrollCueFadeIn 1s ease forwards 1.5s;
  opacity: 0;
  text-decoration: none;
  cursor: pointer;
}

.scroll-cue span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}

.scroll-line {
  width: 0.5px;
  height: 36px;
  background: rgba(196, 155, 31, 0.5);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* ── PRACTICE BAND ── */
.practice {
  position: relative;
  scroll-margin-top: 84px;
  padding: 80px 56px;
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}

.practice::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../img/watermarks/watermark7.jpg") center/cover no-repeat;
  opacity: 0.25;
  pointer-events: none;
}

.practice > * {
  position: relative;
  z-index: 1;
}

.practice h2 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--brown);
  margin-bottom: 40px;
}

.practice-text {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.9;
  color: var(--taupe);
}

.practice-text p + p {
  margin-top: 18px;
}

/* ── GALLERY — large stacked ── */
.gallery {
  padding: 80px 56px;
  background: var(--cream-off);
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.gallery-heading h2 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--brown);
}

.gallery-heading a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe);
  text-decoration: none;
  border-bottom: 0.5px solid var(--muted);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.gallery-heading a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Large feature row */
.g-feature {
  display: grid;
  grid-template-columns: 5fr 3fr;
  gap: 6px;
  margin-bottom: 6px;
  overflow: hidden;
}

.g-feature .gp-main {
  height: 520px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.g-feature .gp-main .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(145deg, #c4906a, #8a5a30, #d4b888);
  transition: transform 0.6s ease;
  /* Promote to a stable GPU layer so the hover scale doesn't re-rasterize
     (kills the flicker/aliasing shimmer on large downscaled images). */
  will-change: transform;
  backface-visibility: hidden;
}

.g-feature .gp-main:hover .img {
  transform: scale(1.04);
}

.g-feature .gp-aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.g-feature .gp-aside .gi {
  flex: 1 1 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.g-feature .gp-aside .gi .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.g-feature .gp-aside .gi:hover .img {
  transform: scale(1.05);
}

/* Medium grid */
.g-mid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}

.g-mid .gi {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.g-mid .gi .img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.g-mid .gi:hover .img {
  transform: scale(1.04);
}

.art-a {
  background: linear-gradient(145deg, #c4906a, #8a5a30, #d4b888);
}

.art-b {
  background: radial-gradient(ellipse at 40% 60%, #c8b090, #6a5030);
}

.art-c {
  background: linear-gradient(200deg, #b8a888, #7a6848, #c0a870);
}

.art-d {
  background: radial-gradient(circle at 70% 30%, #d4c4a0, #9a7a50);
}

.art-e {
  background: linear-gradient(120deg, #a09070, #d4b090, #805a30);
}

.art-f {
  background: radial-gradient(ellipse at 50% 80%, #c4a870, #5a4030);
}

.gallery-more {
  margin-top: 64px;
  text-align: center;
}

.gallery-more-eyebrow {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.8;
  color: var(--taupe);
  margin: 0 0 32px;
}

.gallery-more-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery-more-ctas .btn-hero-primary {
  background: transparent;
  backdrop-filter: none;
}

.gallery-more-ctas .btn-hero-primary:hover {
  background: var(--gold);
  color: var(--cream-off);
  border-color: var(--gold);
}

.gallery a.glightbox {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  line-height: 0;
  overflow: hidden;
}

/* ── QUOTE FULL-BLEED ── */
.quote-section {
  min-height: 40vh;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 30% 50%,
      rgba(100, 70, 20, 0.6) 0%,
      transparent 60%),
    linear-gradient(135deg, #1a0e04 0%, #3a2210 40%, #221608 100%);
}

.quote-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 760px;
}

.quote-mark {
  font-family: "Libre Baskerville", serif;
  font-size: 80px;
  line-height: 0.5;
  color: rgba(196, 155, 31, 0.25);
  display: block;
  margin-bottom: 24px;
}

.quote-text {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.65;
  color: rgba(250, 246, 238, 0.88);
  margin-bottom: 24px;
}

.quote-attr {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── ARTIST ── */
.artist {
  position: relative;
  padding: 100px 56px;
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}

.artist::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../img/watermarks/watermark5.jpg") center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.artist > * {
  position: relative;
  z-index: 1;
}

.artist h2 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 40px;
}

.artist-text {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.95;
  color: var(--taupe);
}

.artist-text p + p {
  margin-top: 22px;
}

/* ── SHOP ── */
.shop {
  padding: 80px 56px;
  background: var(--cream-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.shop-left .s-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 20px;
}

.shop-left h2 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 20px;
}

.shop-left p {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.85;
  color: var(--taupe);
  margin-bottom: 32px;
}

.shop-left .s-cta {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: var(--brown);
  color: var(--cream-off);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
}

.shop-left .s-cta:hover {
  background: var(--gold);
}

.shop-right {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.shop-right-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background:
    radial-gradient(ellipse at 50% 80%,
      rgba(196, 155, 31, 0.3) 0%,
      transparent 60%),
    linear-gradient(160deg, #d4c0a0, #c0a878, #8a7050);
  transition: transform 0.6s ease;
}

.shop-right:hover .shop-right-img {
  transform: scale(1.03);
}

@media (max-width: 450px) {
  .nav-logo img {
    height: 30px;
  }
}

/* Stack CTAs on small phones — side by side the labels wrap to 2–3 lines */
@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-ctas .btn-hero,
  .gallery-more-ctas .btn-hero {
    min-width: 240px;
    text-align: center;
    padding: 14px 24px;
  }
}

@media (max-width: 768px) {
  nav,
  nav.dark-nav,
  nav.light-nav {
    padding: 18px 24px;
  }

  .hero-logo {
    height: 200px;
  }

  .practice,
  .gallery,
  .artist,
  .shop {
    padding: 60px 24px;
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .g-feature {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .g-feature .gp-main {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .g-feature .gp-aside {
    flex-direction: row;
    height: auto;
  }

  .g-feature .gp-aside .gi {
    aspect-ratio: 1 / 1;
  }

  .g-feature .gp-aside .gi .img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .g-mid {
    grid-template-columns: 1fr 1fr;
  }

  .g-mid .gi:last-child {
    grid-column: 1 / -1;
  }

  .quote-content {
    padding: 0 32px;
  }

  .shop-right {
    height: 260px;
  }
}
