/*
 * studio-landing.css
 * Shared styles for all ReliCheck studio landing pages.
 * Each page uses _landing_head.php (sets --accent per studio) + this file.
 */

/* Full-bleed: each section controls its own geometry */
.lp-page { max-width: none !important; padding: 0 !important; }

/* ── Apple-style centered content shell ─────────────────────
   Apply to inner content wrappers inside full-bleed sections.
   Section backgrounds stay edge-to-edge; content is centered.
   ────────────────────────────────────────────────────────── */
.studio-landing-shell {
  width: min(82vw, 1500px);
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .studio-landing-shell {
    width: auto;
    margin: 0;
    padding-left: 48px;
    padding-right: 48px;
  }
}
@media (max-width: 768px) {
  .studio-landing-shell { padding-left: 28px; padding-right: 28px; }
}
@media (max-width: 480px) {
  .studio-landing-shell { padding-left: 18px; padding-right: 18px; }
}

/* ── Scroll-reveal ──────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .12s; }
.rv-d2 { transition-delay: .24s; }
.rv-d3 { transition-delay: .36s; }

/* ── HERO ───────────────────────────────────────────────────── */
.sl-hero {
  min-height: 90vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 80px;
  padding-left:  max(48px, calc(50% - 750px));
  padding-right: max(48px, calc(50% - 750px));
  background:
    radial-gradient(ellipse at 50% -10%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 60%),
    #ffffff;
}
@media (max-width: 768px) { .sl-hero { padding-left: 28px; padding-right: 28px; } }
@media (max-width: 480px) { .sl-hero { padding-left: 18px; padding-right: 18px; } }
.sl-logo {
  width: 120px; height: 120px; object-fit: contain;
  border-radius: 26px; margin-bottom: 56px;
}
.sl-h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  font-weight: 900; letter-spacing: -.05em; line-height: 1.03;
  color: #1d1d1f; margin: 0 auto 28px; max-width: 18ch;
}
.sl-h1 .thin { font-weight: 200; color: #6e6e73; }
.sl-body {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 300; color: #6e6e73;
  line-height: 1.65; max-width: 52ch; margin: 0 auto 48px;
}
.sl-actions {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.sl-btn-a {
  background: var(--accent); color: #fff;
  font-size: 18px; font-weight: 700; padding: 16px 36px;
  border-radius: 999px; text-decoration: none;
  transition: opacity .15s, transform .15s;
  display: inline-block;
}
.sl-btn-a:hover { opacity: .86; transform: translateY(-1px); }
.sl-btn-b {
  font-size: 17px; font-weight: 600; color: var(--accent);
  text-decoration: none; transition: opacity .15s;
}
.sl-btn-b:hover { opacity: .7; }
.sl-scroll {
  margin-top: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #86868b;
}
.sl-scroll::after {
  content: ''; width: 1px; height: 36px;
  background: #86868b; opacity: .3;
}

/* ── ALTERNATING FEATURE SECTIONS ───────────────────────────── */
.sl-feat-sect {
  width: min(82vw, 1500px);
  margin: 0 auto;
  padding-top: 96px;
  padding-bottom: 96px;
  padding-left: 0;
  padding-right: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.sl-feat-sect.flip { direction: rtl; }
.sl-feat-sect.flip > * { direction: ltr; }
.sl-feat-sect.flip .sl-visual { direction: ltr; }
.sl-feat-tag { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.sl-feat-h { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: #1d1d1f; margin-bottom: 20px; }
.sl-feat-h .light { font-weight: 200; }
.sl-feat-body { font-size: 20px; color: #6e6e73; line-height: 1.65; max-width: 44ch; }
.sl-visual {
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, white) 0%, color-mix(in srgb, var(--accent) 4%, #eaedff) 100%);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  padding: 28px; box-shadow: 0 4px 28px rgba(0,0,0,.08);
}
/* Shell collapses to padded full-width below 1200px */
@media (max-width: 1200px) {
  .sl-feat-sect, .sl-feat-sect.flip {
    width: auto; margin: 0;
    padding-left: 48px; padding-right: 48px;
  }
}
/* Stack to single column on tablet */
@media (max-width: 768px) {
  .sl-feat-sect, .sl-feat-sect.flip {
    grid-template-columns: 1fr; direction: ltr; gap: 40px;
    padding-left: 24px; padding-right: 24px;
  }
}
@media (max-width: 480px) {
  .sl-feat-sect, .sl-feat-sect.flip { padding-left: 16px; padding-right: 16px; }
}

/* ── VISUAL MOCKUP UTILITIES (shared across all studio pages) ── */
/* Stack of score rows */
.sv-rows { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.sv-row { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.07); display: flex; flex-direction: column; gap: 6px; }
.sv-row-top { display: flex; align-items: center; justify-content: space-between; }
.sv-row-label { font-size: 12.5px; font-weight: 700; color: #1d1d1f; }
.sv-row-score { font-size: 14px; font-weight: 800; color: var(--accent); }
.sv-bar { height: 6px; background: rgba(0,0,0,.07); border-radius: 999px; overflow: hidden; }
.sv-bar-fill { height: 100%; border-radius: 999px; background: var(--accent); }
/* Big score hero */
.sv-score-hero { text-align: center; }
.sv-score-num { font-size: 80px; font-weight: 900; letter-spacing: -.04em; color: var(--accent); line-height: 1; }
.sv-score-max { font-size: 22px; font-weight: 300; color: #86868b; }
.sv-score-band { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, white); padding: 5px 14px; border-radius: 999px; }
.sv-score-note { font-size: 12px; color: #86868b; margin-top: 8px; }
/* Checklist */
.sv-list { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.sv-item { background: #fff; border-radius: 11px; padding: 12px 16px; font-size: 13px; font-weight: 600; color: #1d1d1f; display: flex; align-items: center; gap: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.sv-dot { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; font-weight: 900; }
.sv-dot.ok  { background: var(--accent); color: #fff; }
.sv-dot.mid { background: #f59e0b; color: #fff; }
.sv-dot.off { background: #e5e7eb; color: #9ca3af; }
/* Mini data table */
.sv-table { width: 100%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.sv-table table { width: 100%; border-collapse: collapse; }
.sv-table thead td { background: color-mix(in srgb, var(--accent) 8%, white); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); padding: 9px 12px; }
.sv-table tbody td { font-size: 12px; font-weight: 600; color: #1d1d1f; padding: 9px 12px; border-top: 1px solid rgba(0,0,0,.05); }
.sv-table tbody td.dim { color: #86868b; font-weight: 400; }
.sv-flag { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.sv-flag.ok   { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); }
.sv-flag.warn { background: #fef3c7; color: #92400e; }
.sv-flag.crit { background: #fee2e2; color: #c2492f; }
/* Comparison bars (self vs others) */
.sv-compare { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.sv-cmp-row { display: flex; flex-direction: column; gap: 4px; }
.sv-cmp-label { font-size: 11.5px; font-weight: 700; color: #1d1d1f; display: flex; justify-content: space-between; }
.sv-cmp-label span { font-weight: 400; color: #86868b; }
.sv-cmp-bars { display: flex; flex-direction: column; gap: 3px; }
.sv-cmp-bar { height: 7px; border-radius: 999px; }
.sv-cmp-bar.self   { background: color-mix(in srgb, var(--accent) 35%, white); }
.sv-cmp-bar.others { background: var(--accent); }
.sv-cmp-legend { display: flex; gap: 14px; margin-top: 8px; font-size: 11px; font-weight: 600; color: #86868b; }
.sv-cmp-legend span { display: flex; align-items: center; gap: 5px; }
.sv-cmp-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
/* Result/finding card */
.sv-result { width: 100%; background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 2px 12px rgba(0,0,0,.07); display: flex; flex-direction: column; gap: 10px; }
.sv-result-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.sv-result-stat { font-size: 32px; font-weight: 900; color: #1d1d1f; letter-spacing: -.03em; line-height: 1; }
.sv-result-sub { font-size: 12px; color: #6e6e73; }
.sv-result-note { background: color-mix(in srgb, var(--accent) 7%, white); border-left: 3px solid var(--accent); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; color: #1d1d1f; }

/* ── DARK CTA ───────────────────────────────────────────────── */
.sl-cta {
  background: #1d1d1f; text-align: center;
  padding-top: 120px; padding-bottom: 120px;
  padding-left:  max(48px, calc(50% - 640px));
  padding-right: max(48px, calc(50% - 640px));
}
@media (max-width: 768px) { .sl-cta { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 480px) { .sl-cta { padding-left: 16px; padding-right: 16px; } }
.sl-cta-h {
  font-size: clamp(34px, 5vw, 58px); font-weight: 900;
  letter-spacing: -.04em; line-height: 1.06;
  color: #fff; margin: 0 0 44px;
}
.sl-cta-h em { font-style: normal; color: var(--accent); }
.sl-cta-btn {
  background: var(--accent); color: #fff;
  font-size: 19px; font-weight: 700; padding: 18px 40px;
  border-radius: 999px; text-decoration: none;
  transition: opacity .15s, transform .15s; display: inline-block;
}
.sl-cta-btn:hover { opacity: .88; transform: translateY(-1px); }
.sl-cta-ghost {
  display: block; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.38);
  text-decoration: none; transition: color .15s;
}
.sl-cta-ghost:hover { color: rgba(255,255,255,.7); }

/* ── RECENT PROJECTS ────────────────────────────────────────── */
.sl-recent {
  padding-top: 72px; padding-bottom: 90px;
  padding-left:  max(48px, calc(50% - 640px));
  padding-right: max(48px, calc(50% - 640px));
  background: #fff; border-top: 1px solid rgba(0,0,0,.06);
}
@media (max-width: 768px) { .sl-recent { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 480px) { .sl-recent { padding-left: 16px; padding-right: 16px; } }
.sl-recent-inner { max-width: 1280px; margin: 0 auto; }
.sl-recent-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 22px;
}
.sl-recent-h { font-size: 20px; font-weight: 800; color: #1d1d1f; }
.sl-recent-all { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; }
.sl-recent-all:hover { opacity: .75; }
.sl-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sl-proj-card {
  background: #F6F7F9; border: 1px solid rgba(0,0,0,.07);
  border-radius: 14px; padding: 18px 20px;
  text-decoration: none; display: flex; flex-direction: column; gap: 4px;
  transition: transform .16s, box-shadow .16s;
}
.sl-proj-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.sl-proj-label { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.sl-proj-title { font-size: 15px; font-weight: 700; color: #1d1d1f; line-height: 1.35; }
.sl-proj-meta  { font-size: 12px; color: #86868b; margin-top: 3px; }
.sl-proj-empty, .sl-proj-loading { font-size: 14px; color: #86868b; }
@media (max-width: 680px) { .sl-proj-grid { grid-template-columns: 1fr; } }
