
:root {
  --bg-main: #2f251d;
  --bg-alt: #3a2d23;
  --bg-hero: #372920;
  --border-soft: #5c4634;
  --gold: #d9b06c;
  --gold-soft: #e4c489;
  --text-main: #f7ead8;
  --text-muted: #c7b6a3;
  --max-width: 1100px;
  --premium-max-width: 1200px;
  --premium-spacing: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 0 0, #4b3828 0, #2a211a 38%, #201811 100%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

/* Premium Serif Display Font for Headers */
h1, h2, h3, h4, .hero-premium-title, .section-premium-title, .design-tool-title, .why-title, .final-cta-title {
  font-family: "Georgia", "Times New Roman", "Palatino", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

/* NAV */

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(33, 25, 19, 0.96);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
}

/* Minimalist navigation style (like Mohlin Studio) */
.topnav-minimal {
  justify-content: flex-end;
  padding: 24px 40px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-brand-right {
  margin-left: auto;
  order: 3;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-language-minimal {
  display: flex;
  align-items: center;
}

.nav-brand-text {
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 300;
  color: var(--text-main);
}

.brand {
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-main);
}

.nav-right {
  display: flex;
  gap: 26px;
}

.nav-utils {
  display: flex;
  align-items: center;
  gap: 0;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1),
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.mobile-menu-toggle.active span:nth-child(2),
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3),
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}

.nav-link {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* SOCIAL LINKS */

.nav-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--border-soft);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* LANGUAGE SWITCHER */

.nav-language {
  display: flex;
  align-items: center;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--border-soft);
}

.nav-utils .nav-language {
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  margin-right: 24px;
  padding-right: 24px;
  border-right: 1px solid var(--border-soft);
}

.language-switcher {
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.language-switcher:hover {
  border-color: var(--gold-soft);
  color: var(--text-main);
}

.language-switcher:focus {
  outline: none;
  border-color: var(--gold);
}

@media (max-width: 720px) {
  /* Show hamburger menu button */
  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* Keep topnav horizontal on mobile */
  .topnav {
    position: relative;
    padding: 16px 20px;
  }

  .topnav-minimal {
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
  }

  .nav-left {
    flex: 1;
  }

  .nav-brand-right {
    order: 1;
    margin-left: 0;
    gap: 16px;
  }

  .nav-brand-text {
    font-size: 12px;
  }

  .nav-language-minimal {
    display: flex;
  }

  .language-switcher {
    font-size: 11px;
    padding: 5px 8px;
  }

  /* Hide menu by default, show when toggled */
  .nav-right {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(33, 25, 19, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    gap: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
  }

  .nav-right.mobile-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-link {
    font-size: 18px;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    display: block;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    touch-action: manipulation;
    pointer-events: auto;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link:hover,
  .nav-link:active {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gold);
  }

  .nav-link::after {
    display: none;
  }

  .nav-utils {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }

  .nav-right.mobile-open ~ .nav-utils,
  .nav-right.mobile-open + .nav-utils {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-utils .nav-language {
    margin: 0;
    padding: 0;
    border: none;
  }

  .nav-utils .nav-social {
    margin: 0;
    padding: 0;
    border: none;
    gap: 20px;
  }

  /* Overlay when menu is open */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* HERO */

.hero {
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.02), transparent 55%),
    radial-gradient(circle at 50% 120%, #241a14 0, transparent 60%),
    var(--bg-hero);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 38px auto 32px;
  padding: 0 40px 40px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: var(--gold-soft);
  margin: 0 0 10px;
}

/* PREMIUM HERO SECTION */

.hero-premium {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--premium-spacing) 40px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.02), transparent 50%),
    var(--bg-main);
  text-align: center;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-premium-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-premium-kicker {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 32px;
  font-weight: 300;
  opacity: 0.9;
}

.hero-premium-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.2;
  margin: 0 0 32px;
  color: var(--text-main);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.hero-premium-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--gold);
  color: #2f241b;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-premium:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 176, 108, 0.3);
}

.btn-premium-large {
  padding: 18px 40px;
  font-size: 15px;
}

/* PREMIUM SECTIONS */

.section-premium {
  padding: var(--premium-spacing) 40px;
  max-width: var(--premium-max-width);
  margin: 0 auto;
}

.section-premium-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-premium-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.3;
  margin: 0 0 48px;
  text-align: center;
  color: var(--text-main);
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* INTRO SECTION */

.section-intro {
  background: var(--bg-alt);
}

.intro-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
}

.intro-text-large {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 24px;
  font-weight: 300;
}

.intro-text-minimal {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 32px 0 0;
  font-style: italic;
  opacity: 0.8;
}

/* DESIGN TOOLS SECTION */

.section-design-tools {
  background: var(--bg-main);
}

.design-tool-card {
  margin-bottom: 80px;
  padding: 60px;
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.design-tool-content {
  text-align: center;
}

.design-tool-title {
  font-size: 36px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.design-tool-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 24px;
  font-style: italic;
}

.design-tool-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.design-tool-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 24px 0 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.design-tool-note strong {
  color: var(--text-main);
  font-weight: 600;
}

.link-premium {
  color: var(--gold-soft);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.link-premium:hover {
  color: var(--gold);
}

.pattern-lab-carousel-wrapper {
  margin: 48px 0;
}

/* STUDIO COLLECTION SECTION */

.section-studio-intro {
  background: var(--bg-alt);
  text-align: center;
}

.studio-intro-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 300;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.studio-intro-highlights {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.studio-intro-highlight {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
  font-weight: 400;
}

.section-studio-collection {
  background: var(--bg-alt);
  text-align: center;
}

.studio-intro {
  font-size: 20px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 32px;
  font-weight: 300;
}

.studio-content {
  max-width: 750px;
  margin: 0 auto 48px;
}

.studio-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 300;
}

.studio-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 48px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.highlight-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight-item h4 {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* WHY CHOOSE SECTION */

.section-why {
  background: var(--bg-main);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.why-card {
  padding: 40px 32px;
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.why-number {
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  margin: 0 0 16px;
  font-family: "Georgia", serif;
  opacity: 0.6;
}

.why-title {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 16px;
  color: var(--text-main);
  font-weight: 400;
}

.why-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  font-weight: 300;
}

/* FINAL CTA SECTION */

.section-final-cta {
  background: var(--bg-alt);
  text-align: center;
  padding: var(--premium-spacing) 40px;
}

.final-cta-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.3;
  margin: 0 0 24px;
  color: var(--text-main);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.final-cta-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 48px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

.hero h1 {
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.hero-text {
  max-width: 620px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.hero-text.secondary {
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2f241b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.btn.primary:hover {
  filter: brightness(1.05);
}

/* SECTIONS */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 40px 34px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-header p {
  margin: 0;
  max-width: 620px;
  font-size: 14px;
  color: var(--text-muted);
}

/* CELESTIAL MAP STUDIO FEATURE */

.section-celestial {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.03), transparent 60%),
              var(--bg-alt);
}

.celestial-feature {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.celestial-content h2 {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  color: var(--gold);
}

.celestial-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-style: italic;
}

.celestial-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.celestial-note strong {
  color: var(--text-main);
  font-weight: 600;
}

.celestial-link {
  color: var(--gold-soft);
  text-decoration: underline;
  transition: color 150ms ease-out;
}

.celestial-link:hover {
  color: var(--gold);
}

/* AGLOWEAV PATTERN LAB FEATURE */

.section-pattern-lab {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.03), transparent 60%),
              var(--bg-alt);
}

.pattern-lab-feature {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.pattern-lab-content h2 {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  color: var(--gold);
}

.pattern-lab-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 32px;
  font-style: italic;
}

.pattern-lab-carousel {
  position: relative;
  max-width: 100%;
  margin: 0 auto 32px;
  overflow: hidden;
}

.pattern-carousel-container {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.pattern-carousel-track {
  display: flex;
  gap: 20px;
  animation: scrollRightToLeft 40s linear infinite;
  width: fit-content;
}

.pattern-carousel-track:hover {
  animation-play-state: paused;
}

.pattern-lab-img {
  width: 250px;
  height: 375px;
  object-fit: cover;
  background: #120c08;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-soft);
  opacity: 0.6;
  transition: opacity 1.5s ease-in-out;
}

.pattern-lab-img.active {
  opacity: 1;
}

@keyframes scrollRightToLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

/* Removed buttons and dots - using continuous scroll with fade */

.pattern-lab-cta {
  margin-top: 24px;
}

@media (max-width: 720px) {
  .pattern-lab-carousel {
    max-width: 100%;
  }
  
  .pattern-lab-img {
    height: 350px;
  }
  
  .pattern-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  
  .pattern-carousel-prev {
    left: 8px;
  }
  
  .pattern-carousel-next {
    right: 8px;
  }

  /* Premium sections responsive */
  .section-premium {
    padding: 60px 24px;
  }

  .hero-premium {
    min-height: 70vh;
    padding: 80px 24px;
  }

  .design-tool-card {
    padding: 40px 24px;
    margin-bottom: 48px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .studio-highlights {
    grid-template-columns: 1fr;
  }

  .studio-intro-highlights {
    align-items: flex-start;
  }
}

/* USP */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.usp-item h3 {
  font-size: 15px;
  margin: 0 0 8px;
}

.usp-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.usp-cta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 720px;
}

/* TOOL ROWS – FIXED LAYOUT */

.tool-rows {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.tool-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.tool-left {
  flex: 1 1 auto;
}

.tool-title {
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.2em;
  margin-bottom: 6px;
}

.tool-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tool-gallery {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}

.poster-card {
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  cursor: zoom-in;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
}

.poster-card img {
  width: 230px;
  height: 345px;
  object-fit: cover;
  border-radius: 12px;
}

.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.tool-cta-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* STATIC PAGES */

.main-static .section.static {
  border-top: 1px solid var(--border-soft);
}

.main-static h1 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0;
}

.mohlin-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0 40px;
  padding: 24px 0;
}

.mohlin-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.mohlin-logo:hover {
  opacity: 1;
}

@media (max-width: 720px) {
  .mohlin-logo-container {
    margin: 24px 0 32px;
    padding: 20px 0;
  }
  
  .mohlin-logo {
    max-width: 240px;
  }
}

.main-static h2 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.main-static h3 {
  font-size: 16px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.about-ending {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  font-style: italic;
}

/* CONTACT PAGE */

.contact-info {
  margin: 32px 0;
}

.contact-item {
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.contact-item h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--gold);
}

.contact-item p {
  margin: 0 0 8px;
}

.contact-note {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.8;
}

.main-static p,
.main-static li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.main-static ul {
  margin: 12px 0;
  padding-left: 24px;
}

.main-static li {
  margin-bottom: 8px;
}

.main-static p strong {
  color: var(--text-main);
  font-weight: 600;
}

.main-static .text-link {
  color: var(--gold-soft);
  text-decoration: underline;
  transition: color 150ms ease-out;
}

.main-static .text-link:hover {
  color: var(--gold);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 22px 40px 30px;
  background: #231b14;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-inner a {
  text-decoration: none;
  color: var(--gold-soft);
}

.footer-inner .dot {
  font-size: 16px;
}

/* FULLSCREEN GALLERY VIEWER */

.gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-viewer.visible {
  display: flex;
}

.gv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 2, 0.86);
}

.gv-shell {
  z-index: 70;
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  padding: 18px 22px 16px;
  background: radial-gradient(circle at 0 0, #3d2d21 0, #21160f 55%, #1a120c 100%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gv-close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

.gv-main {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.gv-stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #120c08;
  height: min(70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gv-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.gv-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gv-slide.active {
  opacity: 1;
  z-index: 2;
}

.gv-slide img {
  max-width: 75%;
  max-height: 75%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.gv-arrow {
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold-soft);
  font-size: 32px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease-out;
  z-index: 10;
  position: relative;
}

.gv-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.gv-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.gv-caption span {
  font-size: 13px;
  color: var(--text-muted);
}

.gv-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.gv-zoom-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #3a2c21, #241910);
  color: var(--gold-soft);
  cursor: pointer;
}

#gv-zoom-label {
  min-width: 40px;
  text-align: center;
}

.gv-thumbnails {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  padding: 8px 0;
  overflow-x: auto;
}

.gv-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 300ms ease-out, transform 300ms ease-out, border-color 300ms ease-out;
  border: 2px solid transparent;
}

.gv-thumbnail:hover {
  opacity: 0.9;
  transform: scale(1.08);
}

.gv-thumbnail.active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.05);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .tool-row {
    flex-direction: column;
  }
  .tool-cta-wrap {
    justify-content: flex-start;
  }
  .usp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .topnav {
    padding-inline: 20px;
    position: relative;
    z-index: 1000;
  }
  .hero-inner {
    padding-inline: 20px;
  }
  .section {
    padding-inline: 20px;
  }
  .nav-right {
    gap: 14px;
  }
  .gv-shell {
    z-index: 70;
    margin: 20px auto;
  }
  .gv-thumbnail {
    width: 60px;
    height: 60px;
  }
  .gv-slide img {
    max-width: 95%;
    max-height: 95%;
  }
}

@media (max-width: 540px) {
}


.brand-logo {
  height: 120px;
  width: auto;
  display: block;
}

@media (max-width: 540px) {
  .brand-logo {
    height: 90px;
  }
}


/* V7 gallery layout reset */
.tool-gallery {
  display: flex;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

/* Click to show more button */
.show-more-btn {
  margin-top: 12px;
  padding: 8px 14px;
  background: #ffffff15;
  color: white;
  border: 1px solid #ffffff40;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: 0.3s;
}
.show-more-btn:hover {
  background: #ffffff25;
}

/* Gallery viewer image - allow zoom and proper centering */
#gv-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  width: auto;
  height: auto;
}


.show-more-label {
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* STORE GALLERY */

.section-store-gallery {
  margin-top: 20px;
}

.store-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.store-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 60px 20px;
}

.store-placeholder-content {
  text-align: center;
  max-width: 500px;
}

.store-placeholder-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.8;
}

.store-placeholder-content h2 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0 0 16px;
}

.store-placeholder-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* STORE ARTWORK */

.store-artwork {
  margin-bottom: 80px;
  padding: 60px;
  background: var(--bg-alt);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-artwork:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.store-artwork-content {
  max-width: 800px;
  margin: 0 auto;
}

.store-artwork-image {
  margin: 32px 0;
  text-align: center;
}

.store-artwork-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .store-artwork-image {
    margin: 24px 0;
  }
}

.store-artwork-title {
  font-size: 32px;
  line-height: 1.3;
  margin: 0 0 24px;
  color: var(--gold);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
}

.store-artwork-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 20px;
  font-weight: 300;
}

.store-artwork-details {
  margin: 32px 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.store-artwork-detail-item {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 300;
}

.store-artwork-detail-item:last-child {
  margin-bottom: 0;
}

.store-artwork-detail-item strong {
  color: var(--text-main);
  font-weight: 600;
}

.store-artwork-btn {
  display: block;
  text-align: center;
  margin: 32px auto 0;
  max-width: 400px;
}

@media (max-width: 720px) {
  .store-artwork {
    padding: 40px 24px;
    margin-bottom: 48px;
  }

  .store-artwork-title {
    font-size: 24px;
  }

  .store-artwork-description {
    font-size: 16px;
  }

  .store-artwork-details {
    padding: 20px;
  }
}

.store-art-card {
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.store-art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.store-art-image {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #1a120c;
}

.store-art-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease-out;
}

.store-art-card:hover .store-art-image img {
  transform: scale(1.05);
}

.store-art-info {
  padding: 20px;
}

.store-art-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  color: var(--text-main);
}

.store-art-price {
  font-size: 18px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* ART POPUP */

.art-popup {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.art-popup.visible {
  display: block;
}

.ap-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 2, 0.92);
  backdrop-filter: blur(8px);
}

.ap-shell {
  z-index: 70;
  position: relative;
  max-width: 1400px;
  margin: 30px auto;
  padding: 24px;
  background: radial-gradient(circle at 0 0, #3d2d21 0, #21160f 55%, #1a120c 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.ap-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  font-size: 28px;
  cursor: pointer;
  transition: background 150ms ease-out;
  z-index: 10;
}

.ap-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ap-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.ap-images {
  position: relative;
}

.ap-stage {
  position: relative;
  width: 100%;
  height: 600px;
  background: #120c08;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.ap-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.ap-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-slide.active {
  opacity: 1;
  z-index: 2;
}

.ap-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.ap-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: var(--gold-soft);
  font-size: 32px;
  cursor: pointer;
  transition: background 150ms ease-out;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.ap-prev {
  left: 12px;
}

.ap-next {
  right: 12px;
}

.ap-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 0;
}

.ap-thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 300ms ease-out, transform 300ms ease-out, border-color 300ms ease-out;
  border: 2px solid transparent;
}

.ap-thumbnail:hover {
  opacity: 0.9;
  transform: scale(1.08);
}

.ap-thumbnail.active {
  opacity: 1;
  border-color: var(--gold);
  transform: scale(1.05);
}

.ap-info {
  padding: 0 8px;
}

.ap-title {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  color: var(--text-main);
}

.ap-description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.ap-details {
  margin-bottom: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

.ap-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.ap-detail-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.ap-detail-value {
  color: var(--text-main);
  font-weight: 500;
}

.ap-cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.ap-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ap-loading {
  text-align: center;
  color: var(--gold-soft);
  font-size: 14px;
  margin-top: 8px;
}

.ap-loading.hidden {
  display: none;
}

/* RECEIPT PAGE */

.receipt-loading,
.receipt-success,
.receipt-error {
  max-width: 700px;
  margin: 0 auto;
}

.receipt-loading {
  text-align: center;
  padding: 40px 20px;
}

.receipt-loading h1 {
  color: var(--text-main);
  margin-bottom: 16px;
}

.receipt-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.receipt-header h1 {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  color: var(--gold);
}

.receipt-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.receipt-section {
  margin-bottom: 32px;
}

.receipt-section h2 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 16px;
  color: var(--text-main);
}

.receipt-info {
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--border-soft);
}

.receipt-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.receipt-info-item:last-child {
  border-bottom: none;
}

.receipt-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.receipt-value {
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
}

.receipt-status-paid {
  color: var(--gold);
}

.receipt-status-pending {
  color: var(--text-muted);
}

.receipt-section p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.receipt-section a {
  color: var(--gold-soft);
  text-decoration: underline;
}

.receipt-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.receipt-actions .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

.receipt-error {
  text-align: center;
  padding: 40px 20px;
}

.receipt-error h1 {
  color: var(--text-main);
  margin-bottom: 20px;
}

.receipt-error p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.receipt-error ul {
  text-align: left;
  max-width: 500px;
  margin: 20px auto;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.receipt-error li {
  margin-bottom: 8px;
}

.receipt-error a {
  color: var(--gold-soft);
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

/* COOKIE CONSENT POPUP */

.cookie-consent-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px;
  background: rgba(33, 25, 19, 0.98);
  border-top: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.cookie-consent-popup.visible {
  transform: translateY(0);
}

.cookie-consent-popup.hidden {
  display: none;
}

.cookie-consent-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 250px;
}

.cookie-consent-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
}

.cookie-consent-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn-accept,
.cookie-btn-decline {
  padding: 10px 20px;
  font-size: 12px;
  white-space: nowrap;
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.cookie-learn-more {
  font-size: 12px;
  color: var(--gold-soft);
  text-decoration: underline;
  white-space: nowrap;
  transition: color 150ms ease-out;
}

.cookie-learn-more:hover {
  color: var(--gold);
}

@media (max-width: 720px) {
  .cookie-consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-consent-buttons {
    justify-content: flex-start;
    width: 100%;
  }

  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    min-width: 100px;
  }
}

/* RESPONSIVE STORE */

@media (max-width: 1000px) {
  .ap-main {
    grid-template-columns: 1fr;
  }
  
  .ap-stage {
    height: 500px;
  }
  
  .ap-slide img {
    max-width: 95%;
    max-height: 95%;
  }
}

@media (max-width: 720px) {
  .store-gallery {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
  
  .ap-shell {
    margin: 10px;
    padding: 16px;
    max-height: calc(100vh - 20px);
  }
  
  .ap-stage {
    height: 400px;
  }
  
  .ap-title {
    font-size: 20px;
  }
  
  .ap-slide img {
    max-width: 90%;
    max-height: 90%;
  }
  
  .ap-thumbnail {
    width: 60px;
    height: 60px;
  }
}
