/* ============================================================================
   RevelPics wedding photo QR code sign guide.

   Loaded only by qr_sign_guide.html, alongside style.css, luxe.css and
   localization.css. Every rule is scoped to .qr-guide-page so this editorial
   page cannot reach the storefront, the wedding sales page or a guest album.
   ========================================================================== */

.qr-guide-page{
  --qg-rose:#C1475A;          /* the readable sibling of the brand rose */
  --qg-rose-soft:#F3E3E1;
  --qg-paper:#FFFDFA;
  background:var(--bg);
  color:var(--ink);
}
.qr-guide-page main{display:block;overflow-x:clip}
.qr-guide-page img{max-width:100%}
.qr-guide-page .qg-article{display:block}

/* ================================================================ header */
.qr-guide-page .topbar{max-width:1120px;margin:0 auto;padding:24px 24px 0}
.qr-guide-page .site-nav{margin-left:auto;display:flex;gap:24px;align-items:center;font-size:.875rem}
.qr-guide-page .site-nav a:not(.btn){color:var(--ink);text-decoration:none}
.qr-guide-page .site-nav a:not(.btn):hover{color:var(--qg-rose)}
.qr-guide-page .site-nav .btn{width:auto;margin:0;padding:10px 18px;min-height:44px}
.qr-guide-page a:focus-visible,
.qr-guide-page summary:focus-visible{outline:3px solid var(--qg-rose);outline-offset:4px}

/* ================================================================== hero */
.qr-guide-page .qg-hero{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(32px,5vw,68px);align-items:center;
  width:min(1120px,100%);margin:0 auto;
  padding:clamp(40px,6vw,80px) 24px clamp(32px,4vw,52px);
}
.qr-guide-page .qg-hero-copy{min-width:0}
.qr-guide-page .qg-eyebrow,
.qr-guide-page .qg-label{
  font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;
  color:var(--qg-rose);margin:0 0 14px;
}
.qr-guide-page h1{
  font:400 clamp(36px,4.6vw,56px)/1.08 var(--font-display);
  letter-spacing:-.02em;margin:0 0 22px;max-width:17ch;
}
.qr-guide-page .qg-intro{
  font-size:clamp(16px,1.25vw,18px);line-height:1.65;color:var(--dim);
  max-width:56ch;margin:0 0 26px;
}
.qr-guide-page .qg-jump{display:flex;flex-wrap:wrap;gap:8px}
.qr-guide-page .qg-jump a{
  display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;
  border:1px solid var(--line);border-radius:99px;background:var(--qg-paper);
  color:var(--ink);font-size:14px;font-weight:600;text-decoration:none;
}
.qr-guide-page .qg-jump a:hover{border-color:var(--qg-rose);color:var(--qg-rose)}
.qr-guide-page .qg-hero-photo{margin:0;min-width:0}
.qr-guide-page .qg-hero-photo img{
  display:block;width:100%;height:clamp(400px,56vw,580px);
  object-fit:cover;object-position:center 40%;
  border-radius:18px;box-shadow:var(--lux-sh-3);
}
.qr-guide-page .qg-hero-photo figcaption,
.qr-guide-page .qg-photo figcaption{
  font-size:12px;line-height:1.55;color:var(--dim);margin-top:10px;max-width:52ch;
}

/* ================================================================= bands */
.qr-guide-page .qg-band{padding:clamp(52px,7vw,86px) 24px;scroll-margin-top:20px}
.qr-guide-page .qg-band--tint{background:var(--bg-tint)}
.qr-guide-page .qg-inner{max-width:1120px;margin:0 auto;min-width:0}
.qr-guide-page .qg-split{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(32px,5vw,68px);align-items:start;
}
.qr-guide-page .qg-split--reverse .qg-photo{order:-1}
.qr-guide-page .qg-copy{min-width:0}
.qr-guide-page h2{
  font:400 clamp(32px,3.5vw,42px)/1.12 var(--font-display);
  letter-spacing:-.02em;color:var(--ink);text-transform:none;margin:0 0 18px;
}
.qr-guide-page h3{font-size:18px;line-height:1.35;margin:0 0 8px;font-weight:650}
.qr-guide-page .qg-lead{font-size:16px;line-height:1.65;color:var(--dim);margin:0 0 18px;max-width:58ch}
.qr-guide-page .qg-copy p{font-size:15px;line-height:1.65;color:var(--dim);margin:0 0 12px}
.qr-guide-page .qg-note{font-size:13px;line-height:1.65;color:var(--dim);margin:16px 0 0;max-width:70ch}
.qr-guide-page .qg-note a{color:var(--qg-rose);font-weight:600}
.qr-guide-page .qg-photo{margin:0;min-width:0}
.qr-guide-page .qg-photo img{display:block;width:100%;object-fit:cover;border-radius:16px}
.qr-guide-page .qg-photo--tall img{height:clamp(360px,44vw,560px);object-position:center 45%}
.qr-guide-page .qg-photo--wide img{height:clamp(280px,34vw,430px)}
.qr-guide-page .qg-photo--product{
  background:var(--qg-paper);border:1px solid var(--line);border-radius:16px;
  padding:18px;align-self:start;
}
.qr-guide-page .qg-photo--product img{height:clamp(300px,36vw,470px);object-fit:contain}

/* ============================================================= examples */
.qr-guide-page .qg-examples{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2vw,24px);margin-top:clamp(30px,4vw,44px);
}
.qr-guide-page .qg-example{
  background:var(--qg-paper);border:1px solid var(--line);border-top:3px solid var(--qg-rose);
  border-radius:14px;padding:clamp(18px,2vw,24px);min-width:0;
}
.qr-guide-page .qg-example-label{
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;
  color:var(--qg-rose);margin:0 0 8px;
}
.qr-guide-page .qg-example h3{font-size:18px;margin:0 0 12px}
.qr-guide-page .qg-sample{
  margin:0;padding:0;border:0;min-width:0;
  font-size:15px;line-height:1.7;color:var(--ink);
}
.qr-guide-page .qg-sample p{
  margin:0;white-space:pre-line;overflow-wrap:anywhere;
}
.qr-guide-page .qg-example-notes{margin-top:clamp(22px,3vw,32px);max-width:76ch}
.qr-guide-page .qg-example-notes p{font-size:14px;line-height:1.65;color:var(--dim);margin:0 0 12px}

/* ============================================================ placements */
.qr-guide-page .qg-spots{
  list-style:none;padding:0;margin:26px 0 0;counter-reset:spot;
}
.qr-guide-page .qg-spots li{
  counter-increment:spot;position:relative;padding:18px 0 18px 42px;
  border-top:1px solid var(--line);min-width:0;
}
.qr-guide-page .qg-spots li:last-child{border-bottom:1px solid var(--line)}
.qr-guide-page .qg-spots li::before{
  content:counter(spot,decimal-leading-zero);position:absolute;left:0;top:20px;
  font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--qg-rose);
}
.qr-guide-page .qg-spots h3{font-size:17px;margin-bottom:6px}
.qr-guide-page .qg-spots p{font-size:14.5px;line-height:1.65;color:var(--dim);margin:0}

/* ============================================================= checklist */
.qr-guide-page .qg-checklist{
  list-style:none;padding:0;margin:24px 0 0;
}
.qr-guide-page .qg-checklist li{
  position:relative;padding:0 0 14px 30px;
  font-size:15px;line-height:1.6;color:var(--dim);min-width:0;
}
.qr-guide-page .qg-checklist li::before{
  content:"";position:absolute;left:0;top:.5em;width:14px;height:8px;
  border-left:2px solid var(--qg-rose);border-bottom:2px solid var(--qg-rose);
  transform:rotate(-45deg);
}

/* ============================================================== reminders */
.qr-guide-page .qg-subhead{font-size:16px;margin:26px 0 10px;color:var(--ink)}
.qr-guide-page .qg-copy .qg-sample{
  background:var(--qg-paper);border-left:3px solid var(--qg-rose);border-radius:0 12px 12px 0;
  padding:18px 20px;margin:0 0 18px;font-size:15px;
}

/* =================================================================== FAQ */
.qr-guide-page .qg-section-head{max-width:760px;margin:0 0 30px}
.qr-guide-page .qg-section-head .qg-lead{margin-bottom:0}
.qr-guide-page .qg-faq-photo{margin:0 0 30px}
.qr-guide-page .qg-faq-photo img{display:block;width:100%;height:clamp(230px,32vw,380px);object-fit:cover;border-radius:16px}
.qr-guide-page .qg-faq-photo figcaption{font-size:12px;line-height:1.55;color:var(--dim);margin-top:10px;max-width:52ch}
.qr-guide-page .qg-faq{display:grid;grid-template-columns:1fr 1fr;gap:0 56px;align-items:start}
.qr-guide-page .qg-faq details{border-bottom:1px solid var(--line);padding:18px 0;min-width:0}
.qr-guide-page .qg-faq summary{cursor:pointer;font-size:16px;font-weight:650;line-height:1.45;min-height:26px}
.qr-guide-page .qg-faq details p{margin:12px 0 0;font-size:14px;line-height:1.65;color:var(--dim)}

/* ================================================================= final */
.qr-guide-page .qg-final{background:var(--bg-tint)}
.qr-guide-page .qg-final-inner{max-width:900px}
.qr-guide-page .qg-final-photo{margin:0}
.qr-guide-page .qg-final-photo img{display:block;width:100%;height:clamp(240px,36vw,420px);object-fit:cover;border-radius:18px}
.qr-guide-page .qg-final-copy{max-width:720px;margin:34px auto 0;text-align:center}
.qr-guide-page .qg-final-copy p{font-size:17px;line-height:1.65;color:var(--dim);margin:0 0 24px}
.qr-guide-page .qg-actions{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.qr-guide-page .qg-actions .btn{width:auto;margin:0;padding:14px 22px;min-height:48px;display:inline-flex;align-items:center;justify-content:center}

/* ================================================================ footer */
.qr-guide-page .qg-footer{max-width:1120px;margin:0 auto;padding:44px 24px 36px}
.qr-guide-page .footbrand{text-align:center}
.qr-guide-page .foottag{color:var(--dim);font-size:.9rem;margin:0 auto 18px;max-width:46ch}
.qr-guide-page .footc{color:var(--dim);font-size:var(--t-xs);margin:0 0 20px}
.qr-guide-page .footnav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;font-size:.9rem;margin-bottom:18px}
.qr-guide-page .footnav a{color:var(--ink);text-decoration:none}
.qr-guide-page .footnav a:hover{color:var(--qg-rose);text-decoration:underline}
.qr-guide-page .legal-foot a{color:var(--dim)}

/* ============================================================= responsive */
@media(max-width:960px){
  .qr-guide-page .qg-examples{grid-template-columns:1fr}
}
@media(max-width:900px){
  .qr-guide-page .qg-hero{grid-template-columns:1fr;gap:30px}
  .qr-guide-page h1{max-width:22ch}
  .qr-guide-page .qg-hero-photo img{height:clamp(340px,68vw,500px)}
  .qr-guide-page .qg-split{grid-template-columns:1fr;gap:32px}
  .qr-guide-page .qg-split--reverse .qg-photo{order:0}
  .qr-guide-page .qg-photo--tall img{height:clamp(300px,52vw,440px)}
  .qr-guide-page .qg-photo--wide img{height:clamp(240px,46vw,380px)}
  .qr-guide-page .qg-faq{grid-template-columns:1fr;gap:0}
}
@media(max-width:700px){
  .qr-guide-page .topbar{padding:20px 20px 0;flex-wrap:wrap;gap:10px}
  .qr-guide-page .site-nav{gap:14px;font-size:12px}
  .qr-guide-page .site-nav-section{display:none}
  .qr-guide-page .site-nav .btn{padding:9px 14px}
  .qr-guide-page .qg-hero{padding:34px 20px 30px}
  .qr-guide-page .qg-band{padding:48px 20px}
  .qr-guide-page .qg-jump a{padding:8px 13px;font-size:13px}
  .qr-guide-page .qg-actions .btn{flex:1 1 220px}
  .qr-guide-page .qg-footer{padding:36px 20px 28px}
}
@media(max-width:420px){
  .qr-guide-page .qg-hero-photo img{height:320px}
  .qr-guide-page .qg-photo--tall img{height:280px}
  .qr-guide-page .qg-photo--wide img{height:220px}
  .qr-guide-page .qg-photo--product img{height:320px}
  .qr-guide-page .qg-final-photo img{height:200px}
  .qr-guide-page .qg-actions .btn{flex:1 1 100%}
}
@media(prefers-reduced-motion:reduce){
  .qr-guide-page *{transition:none!important;animation:none!important}
}
