/* gr-landing.css — GreenRoom Agency Landing Page
   CSS custom properties map to Shopify settings_schema.json
   See comment per property for the Shopify settings key name. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
figure { display: block; }

/* ── Tokens ← Shopify "colors" + "typography" settings groups ── */
:root {
  --color-bg:       #0a0f0a;  /* colors_background */
  --color-surface:  #111811;  /* colors_surface */
  --color-surface2: #161e16;  /* colors_surface_2 */
  --color-accent:   #3d6b3d;  /* colors_accent */
  --color-text:     #e8ede8;  /* colors_foreground */
  --color-muted:    #8fa88f;  /* colors_muted */
  --color-border:   rgba(255,255,255,0.07);

  --font-heading:   'Barlow Condensed', sans-serif; /* type_header_font */
  --font-body:      'Inter', system-ui, sans-serif; /* type_body_font */

  --header-h: 64px;
  --pad:      1.25rem;
  --max-w:    1200px;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; padding: 0; }

/* ── Header ← Shopify section: header (theme.liquid) ── */
/* settings: logo (image_picker), nav (link_list), cta_label (text), cta_url (url) */
.grl-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(10,15,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.grl-wordmark {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* [img: settings.logo] */
.grl-logo {
  height: 48px;
  width: auto;
  mix-blend-mode: screen;
  -webkit-mix-blend-mode: screen;
}

.grl-header-nav {
  display: none; /* shown at 768px+ */
}

.grl-header-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--color-text);
  transition: color 0.15s;
}

.grl-header-nav a:hover { color: var(--color-text); }

.grl-header-cta { display: none; } /* shown at 768px+ */

.grl-icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
.grl-icon-btn:active { background: var(--color-surface); }

/* ── Nav Drawer (mobile) ── */
.grl-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.grl-nav-overlay--open { opacity: 1; pointer-events: all; }

.grl-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 400;
  width: min(280px, 80vw);
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--pad) 2rem;
  gap: 2rem;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
}
.grl-nav-drawer--open { transform: translateX(0); }

.grl-nav-close {
  align-self: flex-start;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -0.5rem 0 0 -0.5rem;
  -webkit-tap-highlight-color: transparent;
}

.grl-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.grl-nav-list li { border-bottom: 1px solid var(--color-border); }
.grl-nav-list a {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  -webkit-tap-highlight-color: transparent;
}

/* ── Buttons ── */
.grl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 48px;
  padding: 0 1.75rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  border-radius: 2px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.15s;
}
.grl-btn:active { opacity: 0.8; }
.grl-btn--ghost {
  background: transparent;
  border: 1px solid var(--color-border);
}

/* ── Hero ← Shopify Section: hero ──────────────────────────── */
/* settings: heading (text), subheading (richtext), image (image_picker),
             image_alt (text), cta_label (text), cta_url (url),
             eyebrow (text), show_trust_bar (checkbox) */
.grl-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem var(--pad) 4rem;
  overflow: hidden;
}

.grl-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
}

/* Subtle green glow top-right on desktop */
.grl-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(61,107,61,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* [setting: hero_eyebrow] */
.grl-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* [setting: hero_heading] */
.grl-hero-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3.5rem, 13vw, 7.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

/* [setting: hero_subheading] */
.grl-hero-sub {
  font-size: clamp(0.88rem, 2vw, 1rem);
  color: rgba(232,237,232,0.88);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.grl-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.grl-hero-trust {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  position: relative;
  z-index: 1;
}
.grl-hero-trust span + span::before { content: ' · '; }

/* Desktop: visual card floated right (hidden on mobile) */
.grl-hero-visual { display: none; }

/* ── Section commons ── */
.grl-section {
  padding: 4.5rem var(--pad);
  border-top: 1px solid var(--color-border);
}
.grl-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* [setting: section_eyebrow] */
.grl-section-label {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* [setting: section_heading] */
.grl-section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 7vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 3rem;
}

/* ── Services ← Shopify Section: services ────────────────── */
/* blocks: service (up to 6)
   block settings: title (text), description (textarea), number (text) */
.grl-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  gap: 1px;
  background: var(--color-border);
}

.grl-service-card {
  background: var(--color-surface);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.grl-service-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.6;
}

.grl-service-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.grl-service-desc {
  font-size: 0.83rem;
  color: rgba(232,237,232,0.82);
  line-height: 1.65;
}

/* [setting: fulfillment_note (textarea)] */
.grl-service-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border-left: 2px solid var(--color-accent);
  border-radius: 0 2px 2px 0;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ── Process ← Shopify Section: process ───────────────────── */
/* blocks: step (up to 6)
   block settings: title (text), description (textarea) */
.grl-process-steps {
  display: flex;
  flex-direction: column;
}

.grl-process-step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.grl-process-step:last-child { border-bottom: none; }

.grl-step-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  opacity: 0.4;
  padding-top: 2px;
}

.grl-step-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.grl-step-desc {
  font-size: 0.83rem;
  color: rgba(232,237,232,0.6);
  line-height: 1.65;
}

/* ── Artists / Roster ← Shopify Section: roster ──────────── */
/* blocks: artist
   block settings: name (text), product_count (text), image (image_picker), url (url) */
/* To add a new artist: copy the <a class="grl-artist-card"> block in index.html,
   set href, img src/alt, name, count. */
.grl-roster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.grl-artist-card {
  display: block;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.grl-artist-card--coming { cursor: default; }

.grl-artist-img {
  aspect-ratio: 3/4;
  background: var(--color-surface);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: block;
}
.grl-artist-img--empty { background: #0f1410; }

.grl-artist-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}
.grl-artist-card:not(.grl-artist-card--coming):hover .grl-artist-img img {
  transform: scale(1.04);
}

.grl-artist-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,15,10,0.88) 0%,
    rgba(10,15,10,0.1) 55%,
    transparent 100%
  );
  z-index: 1;
}

.grl-artist-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1rem 0.85rem 0.85rem;
}

.grl-artist-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.grl-artist-count {
  display: block;
  font-size: 0.68rem;
  color: var(--color-muted);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

.grl-artist-cta { padding: 0.6rem 0 0; }

.grl-artist-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  padding: 0 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: background 0.15s;
}
.grl-artist-card:not(.grl-artist-card--coming):active .grl-artist-btn {
  background: var(--color-surface2);
}
.grl-artist-btn--dim { color: var(--color-muted); }

/* ── Contact CTA ← Shopify Section: contact_cta ─────────── */
/* settings: heading (text), subheading (textarea),
             cta_label (text), contact_email (email),
             bg_color (color) */
.grl-cta {
  padding: 5rem var(--pad);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.grl-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.grl-cta-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.grl-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 9vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.grl-cta-sub {
  font-size: 0.9rem;
  color: rgba(232,237,232,0.75);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

/* ── Footer ── */
.grl-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem var(--pad) 3rem;
}

.grl-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.grl-footer-wordmark {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.grl-footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.72rem;
  color: var(--color-muted);
}
.grl-footer-legal a { color: var(--color-muted); }

/* ── Desktop 768px+ ── */
@media (min-width: 768px) {
  :root {
    --header-h: 72px;
    --pad: 2rem;
  }

  .grl-logo { height: 54px; }

  .grl-header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .grl-header-cta { display: flex; }
  .grl-menu-btn   { display: none; }

  .grl-hero {
    justify-content: center;
    padding: 6rem var(--pad) 6rem;
  }

  .grl-hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }
  .grl-hero-content .grl-hero-actions { justify-content: center; }

  .grl-hero-visual { display: none; }

  .grl-hero-visual-card {
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 3/4;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,0.65);
  }

  .grl-hero-visual-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .grl-hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,10,0.75) 0%, transparent 50%);
    z-index: 1;
  }

  .grl-hero-visual-label {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,15,10,0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.5rem 0.75rem;
    border-radius: 2px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--color-muted);
  }
  .grl-hero-visual-label strong { color: var(--color-text); font-weight: 400; }

  .grl-process-step {
    grid-template-columns: 4rem 1fr;
    gap: 0 2rem;
  }
  .grl-step-num { font-size: 2.5rem; }

  .grl-roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  #services .grl-services-grid { grid-template-columns: repeat(5, 1fr); }
  #process  .grl-services-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .grl-hero-visual { width: 30%; }
  .grl-section { padding: 6rem var(--pad); }
}

@media (min-width: 1280px) {
  :root { --pad: 3rem; }
}

/* ── Contact Form ── */
.grl-contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin-top: 2rem;
}

.grl-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .grl-form-row { grid-template-columns: 1fr 1fr; }
  .grl-services-grid { grid-template-columns: 1fr 1fr; }
}

.grl-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.grl-form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.grl-form-group input,
.grl-form-group textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.grl-form-group input::placeholder,
.grl-form-group textarea::placeholder { color: var(--color-muted); }

.grl-form-group input:focus,
.grl-form-group textarea:focus { border-color: var(--color-accent); }

.grl-form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

#cf-submit[disabled] { opacity: 0.5; cursor: not-allowed; }

.grl-form-status {
  font-size: 0.82rem;
  line-height: 1.55;
  padding: 0.75rem 1rem;
  border-radius: 2px;
}

.grl-form-status--success {
  background: rgba(61,107,61,0.12);
  border: 1px solid rgba(61,107,61,0.3);
  color: #7ab87a;
}

.grl-form-status--error {
  background: rgba(139,32,32,0.1);
  border: 1px solid rgba(139,32,32,0.3);
  color: #c26060;
}

/* ── Legal pages ── */
.grl-legal-hero {
  padding: 3.5rem var(--pad) 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.grl-legal-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.grl-legal-content {
  padding: 3rem var(--pad) 6rem;
}

.grl-legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
  transition: color 0.15s;
}
.grl-legal-back:hover { color: var(--color-text); }

.grl-legal-body { max-width: 720px; }

.grl-legal-body h2 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 2.5rem 0 0.75rem;
}
.grl-legal-body h2:first-child { margin-top: 0; }

.grl-legal-body h3 {
  font-size: 0.9rem;
  font-weight: 500;
  margin: 1.5rem 0 0.4rem;
}

.grl-legal-body p,
.grl-legal-body li {
  font-size: 0.875rem;
  color: rgba(232,237,232,0.85);
  line-height: 1.78;
}

.grl-legal-body p { margin-bottom: 0.9rem; }

.grl-legal-body ul,
.grl-legal-body ol {
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
}

.grl-legal-body li { margin-bottom: 0.3rem; }

.grl-legal-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.grl-placeholder {
  display: inline-block;
  background: rgba(255,196,0,0.12);
  border: 1px dashed rgba(255,196,0,0.4);
  border-radius: 2px;
  padding: 0 0.35rem;
  color: #ffc840;
  font-size: 0.8em;
}
