/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --color-black:      #000000;
  --color-white:      #ffffff;
  --color-purple:     #6635f4;
  /* Warm accent used for product / artist category labels.
     Estimated from the WP screenshot — adjust this one value
     if you have the exact theme accent hex. */
  --color-accent:     #d1603f;
  --color-text-muted: rgba(0, 0, 0, 0.7);
  --color-border:     #e0e0e0;
  --color-footer-bg:  #666f76;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================================
   HEADER  (site-header web component)
   ============================================================ */
site-header {
  display: block;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
}

site-header header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem var(--pad-x);
}

.logo {
  display: block;
  flex-shrink: 0;
  width: 81px;
}
.logo img { width: 100%; height: auto; }

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

site-header nav a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-black);
  transition: opacity 0.15s;
}
site-header nav a:hover { opacity: 0.5; }

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   FOOTER  (site-footer web component)
   ============================================================ */
site-footer { display: block; }
site-footer footer {
  background: var(--color-footer-bg);
  color: var(--color-white);
  text-align: center;
  padding: 0.9rem var(--pad-x);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.home-intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem var(--pad-x) 0.25rem;
}

.home-tag {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--color-purple);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.home-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.7vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.home-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.home-hero img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* Two-column content areas */
.home-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.75rem var(--pad-x);
}

.cols-33-67 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 9%;
  align-items: start;
}

/* Product card (left col, first section) */
.product-tag {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 0.6rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.75; }

.btn-fill {
  background: var(--color-black);
  color: var(--color-white);
  border: 1px solid var(--color-black);
}

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

/* Studio description (right col, first section) */
.studio-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.cols-50-50 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5%;
}

.body-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-feature-settings: "liga" 1;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.body-text a { text-decoration: underline; }

/* Feature section (second home section) */
.feature-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}

.feature-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.feature-body p { margin-bottom: 0.65rem; }
.feature-body p:last-child { margin-bottom: 0; }
.feature-body strong { color: var(--color-black); }

.screenshots { display: flex; flex-direction: column; gap: 1.25rem; }
.screenshots img { width: 100%; display: block; }

/* ============================================================
   ARTIST PAGE
   ============================================================ */
.artist-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--pad-x) 5rem;
}

.artist-page .home-title {
  font-family: 'DM Serif Display', serif;
  text-transform: none;
}

.artist-intro {
  display: grid;
  grid-template-columns: 45% 1fr;
  column-gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
  margin-bottom: 4rem;
}

.artist-portrait img {
  width: 100%;
  border-radius: 3px;
}

.artist-tag {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.artist-name {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 0.92;
  margin-bottom: 1.25rem;
}

.artist-bio {
  max-width: 95%;
}
.artist-bio p { margin-bottom: 0.75rem; }
.artist-bio p:last-child { margin-bottom: 0; }

.social-connect { margin-top: 1.75rem; }

.social-connect-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  color: gray;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: var(--color-black);
  white-space: nowrap;
}
.social-links a:hover { text-decoration: underline; }
.social-links svg { flex-shrink: 0; width: 42px; height: 42px; }

/* Video sections */
.video-section {
  display: grid;
  grid-template-columns: 45% 1fr;
  column-gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
  margin-bottom: 4rem;
}
.video-section:last-child { margin-bottom: 0; }

.video-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.85rem;
}

.video-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.72;
}
.video-desc p { margin-bottom: 0.75rem; }
.video-desc p:last-child { margin-bottom: 0; }

.video-right { display: flex; flex-direction: column; }

.video-embed-wrap {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem var(--pad-x) 5rem;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 2.25rem;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  padding-top: 0.75rem;
  margin-bottom: 1rem;
}

.social-qr-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 0rem;
}

.qr-code img {
  width: 150px;
  height: 150px;
}

/* Form */
.contact-form-wrap { margin-top: 0.5rem; }

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

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.4rem;
}
.form-label .req {
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.65;
  margin-left: 0.25rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-black);
  background: var(--color-white);
  border: 1px solid #c8c8c8;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
}
.form-control:focus { border-color: var(--color-black); }

textarea.form-control {
  min-height: 180px;
  resize: vertical;
}

.hp-field { display: none !important; }

.btn-submit {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.85rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-submit:hover { opacity: 0.75; }
.btn-submit:disabled { opacity: 0.5; cursor: default; }

.form-error {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #c00;
}

/* Success state */
.contact-success { display: none; margin-top: 0.5rem; }
.contact-success.visible { display: block; }

.success-back {
  display: inline-block;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
}
.success-back:hover { text-decoration: underline; }

.success-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.success-card {
  border-top: 1px solid var(--color-border);
  max-width: 600px;
}

.success-field {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.success-field-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
  margin-bottom: 0.3rem;
}

.success-field-value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem var(--pad-x) 5rem;
}

.privacy-content {
  max-width: 760px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-feature-settings: "liga" 1;
  line-height: 1.75;
  color: var(--color-black);
}

.privacy-content p { margin-bottom: 1rem; }
.privacy-content p:last-child { margin-bottom: 0; }
.privacy-content strong { font-weight: 600; }
.privacy-content a { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .cols-33-67,
  .artist-intro,
  .video-section {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2rem;
  }

  .cols-50-50 {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .video-embed-wrap { width: 100%; }

  .artist-intro { margin-bottom: 3.5rem; }
  .video-section { margin-bottom: 3.5rem; }
  .artist-bio { max-width: 100%; }

  .home-section { padding: 2rem var(--pad-x); }
}

@media (max-width: 600px) {
  site-header nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 0.5rem 0 1rem;
  }

  site-header nav.open { display: flex; }

  site-header nav a {
    padding: 0.65rem var(--pad-x);
    width: 100%;
  }

  site-header {
    position: sticky;
  }

  .nav-toggle { display: flex; }

  .artist-name { font-size: 2.75rem; }
  .home-title { font-size: 2rem; }
  .page-title { font-size: 3rem; }
}

/* ============================================================
   LIGHTBOX  (click-to-zoom for [data-lightbox] images)
   ============================================================ */
[data-lightbox] { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.lightbox[hidden] { display: none; }
.lightbox.open    { opacity: 1; }

/* Image: bounded by viewport, never upscaled beyond its natural resolution
   (width/height are left unset so the intrinsic size acts as the upper cap). */
.lightbox-img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .lightbox-close { top: 0.5rem; right: 0.5rem; }
  .lightbox-prev  { left: 0.25rem; }
  .lightbox-next  { right: 0.25rem; }
}
