/* ============================================================================
   /services/photo-scanning2 - redesigned photo scanning page on the clean
   foundation (sc-tokens + sc-components + sc-grid + sc-menu). Built to the
   designer's layout; every rule is scoped to .ps2 so nothing leaks into the
   shared header / footer.
   ========================================================================== */

.ps2 {
    --ps2-ink: var(--sc-navy, #052f56);
    --ps2-red: var(--sc-red, #c61c40);
    --ps2-pale: var(--sc-pale-blue, #f0fafc);
    --ps2-cream: var(--sc-cream, #efebe3);
    --ps2-warm: #f3efe8;          /* hero canvas: a touch lighter than cream */
    --ps2-text: #2b3640;
    --ps2-muted: #5a6670;
    --ps2-rule: rgba(5, 47, 86, .55);
    --ps2-radius: 22px;
    --ps2-shadow: 0 18px 48px rgba(5, 47, 86, .10);
    margin: 0;                    /* the foundation does not reset the UA body margin */
    background: #fff;
    color: var(--ps2-text);
    font-family: var(--sc-font, 'Circular Std', system-ui, sans-serif);
    -webkit-font-smoothing: antialiased;
}
/* The clean foundation has no global box-sizing reset; without this the
   padded .ps2-wrap is viewport + 48px wide and the page scrolls sideways. */
.ps2 *, .ps2 *::before, .ps2 *::after { box-sizing: border-box; }

.ps2-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Footer: match the inner-page footer exactly (1370px, 12px gutter); it
   carries no top margin here because the review band sits flush above it. */
.ps2 .sc-footer { margin-top: 0; }
.ps2 .sc-footer .container {
    width: 100%; max-width: 1370px;
    margin-left: auto; margin-right: auto;
    padding-left: 12px; padding-right: 12px;
}

/* ------------------------------- type ---------------------------------- */
.ps2-h2 {
    font-family: var(--sc-font-heading, 'Lora', serif);
    font-weight: 500;
    font-size: clamp(32px, 3.4vw, 46px);
    line-height: 1.15;
    color: var(--ps2-ink);
    margin: 0 0 18px;
}
.ps2-h2-center { text-align: center; }
.ps2-lead { font-size: 18px; line-height: 1.6; color: var(--ps2-text); margin: 0 0 26px; max-width: 560px; }

/* ------------------------------ buttons -------------------------------- */
.ps2-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 34px;
    border-radius: 6px;                  /* same geometry as the header "Start Here" */
    font-size: 18px; font-weight: var(--sc-weight-semi, 600);   /* primary CTA: 18/600 per the typography plan */
    text-decoration: none; line-height: 1;
    border: 2px solid transparent; cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.ps2-btn-primary { background: var(--ps2-red); color: #fff; box-shadow: 0 10px 24px rgba(198, 28, 64, .28); }
.ps2-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(198, 28, 64, .36); }
.ps2-btn-navy { background: var(--ps2-ink); color: #fff; }
.ps2-btn-navy:hover { background: #0a4573; }
/* Global a:hover / a:focus is light blue; pin the text colour in every state. */
.ps2-btn-primary:hover, .ps2-btn-primary:focus, .ps2-btn-primary:active,
.ps2-btn-navy:hover, .ps2-btn-navy:focus, .ps2-btn-navy:active { color: #fff; }
.ps2-btn-block { display: flex; width: 100%; }

/* -------------------------------- hero --------------------------------- */
/* Section colour is sampled from the plain left side of the designer's band
   (#f0ebe5) so the photo's feathered edge dissolves into it. */
/* The designer's 3:1 banner is the background (cream #f0ebe5 sampled from
   it, so any uncovered edge matches); the title sits on its plain left side. */
.ps2-hero {
    --ps2-hero-bg: #f0eae7;   /* the banners' own canvas colour, so no seam where the image starts */
    background: var(--ps2-hero-bg) var(--ps2-hero-desk) center / cover no-repeat;
    min-height: 480px;
}
.ps2-hero-inner { display: flex; align-items: center; min-height: 480px; }
.ps2-hero-title {
    font-family: var(--sc-font-heading, 'Lora', serif);
    font-weight: 500;
    font-size: clamp(38px, 3.8vw, 56px);   /* ~54px at 1440, as drawn */
    line-height: 1.18;
    color: var(--ps2-ink);
    margin: 0 0 18px;
}
/* Aligned with the other sections' left edge, as on the board. The banner's
   artwork sits at 53-86% of its width, centred with cover, so capping the copy
   at 48% of the content width keeps it clear at every desktop width. */
.ps2-hero-copy { max-width: min(640px, 48%); }
/* A page whose artwork reaches further left can narrow just the paragraph (the title sits above the artwork). */
.ps2-hero-lead { max-width: var(--ps2-lead-w, none); }
.ps2-hero-lead { font-size: 18px; line-height: 1.55; color: var(--ps2-text); margin: 0 0 26px; }
.ps2-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.ps2-btn-ghost { background: #fff; color: var(--ps2-ink); box-shadow: 0 6px 18px rgba(5, 47, 86, .10); }
.ps2-btn-ghost:hover, .ps2-btn-ghost:focus, .ps2-btn-ghost:active { color: var(--ps2-ink); background: #f6f9fc; }
.ps2-btn-ghost svg { margin-right: 8px; vertical-align: -3px; }
.ps2-hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-size: var(--sc-small); color: var(--ps2-ink); }
.ps2-hero-stars { display: block; fill: #f2a71b; }
.ps2-hero-proof .ps2-band-dot { background: var(--ps2-ink); opacity: .6; }

/* ------------------------------- stat band ----------------------------- */
.ps2-band { background: var(--ps2-ink); color: #fff; }
.ps2-band-text {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 18px;
    margin: 0; padding: 22px 0;
    font-size: 18px;
}
.ps2-band-dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .8; }

/* ------------------------------- sections ------------------------------ */
.ps2-section { padding: 88px 0; }
.ps2-how, .ps2-hand, .ps2-faq, .ps2-formats, .ps2-safety { background: var(--ps2-pale); }

.ps2-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.ps2-split--copy-first { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
/* Accordion sections: the copy column changes height as rows open, so the
   image is pinned to the top instead of recentring on every toggle. */
.ps2-get .ps2-split, .ps2-how .ps2-split, .ps2-formats .ps2-split { align-items: start; }
.ps2-photo { display: block; width: 100%; height: auto; border-radius: var(--ps2-radius); }

/* ruled lists (What You Get, How it works steps) */
.ps2-rules { list-style: none; margin: 0 0 34px; padding: 0; max-width: 540px; }
.ps2-rules li { padding: 14px 0; border-bottom: 1px solid var(--ps2-rule); font-size: var(--sc-body); color: var(--ps2-ink); }
.ps2-rules li:last-child { border-bottom: 0; }
.ps2-rules strong { font-weight: var(--sc-weight-semi, 600); }
/* Accordion variant (What You Get): each rule opens like a FAQ row. */
.ps2-rules--acc { max-width: 560px; }
.ps2-rule { border-bottom: 1px solid var(--ps2-rule); }
.ps2-rule:last-child { border-bottom: 0; }
.ps2-rule summary {
    cursor: pointer; list-style: none; position: relative;
    padding: 14px 36px 14px 0; font-size: var(--sc-body); color: var(--ps2-ink);
}
.ps2-rule summary::-webkit-details-marker { display: none; }
.ps2-rule summary::after {
    content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
    border-right: 1.5px solid var(--ps2-ink); border-bottom: 1.5px solid var(--ps2-ink);
    transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.ps2-rule[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ps2-rule summary:hover { color: var(--sc-light-blue, #1ab8e9); }
.ps2-rule p { margin: 0 0 18px; font-size: var(--sc-body); line-height: 1.6; color: var(--ps2-text); }
.ps2-rule-list { margin: 0 0 18px; padding-left: 20px; font-size: var(--sc-body); line-height: 1.6; color: var(--ps2-text); }
.ps2-rules .ps2-rule-list li { margin: 2px 0; padding: 0; border-bottom: 0; color: var(--ps2-text); }   /* not the row divider styles above */

/* ------------------------------ how it works --------------------------- */
.ps2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ps2-step { margin: 0; text-align: center; }
.ps2-step figcaption { font-weight: var(--sc-weight-semi, 600); font-size: var(--sc-body); color: var(--ps2-ink); margin-bottom: 12px; }
.ps2-step img { display: block; width: 100%; height: auto; aspect-ratio: 918 / 1569; object-fit: cover; border-radius: var(--ps2-radius); }

/* ------------------------------ what we fix ---------------------------- */
.ps2-ba { display: block; width: 100%; height: auto; }
/* Slides: the before/after composite is stacked (portrait), drawn narrower and
   centred in its column, as on the board. */
.ps2-fix--portrait .ps2-ba { max-width: 340px; margin: 0 auto; border-radius: 0; }
.ps2-fixes { list-style: none; margin: 0 0 26px; padding: 0; }
.ps2-fixes li { display: flex; align-items: center; gap: 16px; font-size: var(--sc-body); color: var(--ps2-text); margin-bottom: 14px; }
.ps2-fixes img { flex: 0 0 auto; width: 26px; height: 26px; object-fit: contain; }
.ps2-note { font-size: var(--sc-body); margin: 0; }
.ps2-note a { color: var(--ps2-text); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------- safety protocols (tape pages) ------------------ */
/* Same bones as What We Fix: photo left, icon bullets right; the icons are
   the designer's navy line art, a touch larger than the fix icons. */
.ps2-safety .ps2-split { align-items: start; }
.ps2-nowrap { white-space: nowrap; }
.ps2-safety-list img { width: 30px; height: 30px; }
.ps2-safety .ps2-note { max-width: 520px; }

/* ------------------------------ pricing plans -------------------------- */
.ps2-section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.ps2-section-head .ps2-lead { margin: 0 auto; }
.ps2-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; max-width: 980px; margin: 0 auto; }
.ps2-plan {
    background: #fff; border-radius: 24px; overflow: hidden;
    box-shadow: var(--ps2-shadow); display: flex; flex-direction: column;
}
.ps2-plan-title {
    margin: 0; padding: 18px 20px; text-align: center;
    background: var(--ps2-ink); color: #fff;
    font-family: var(--sc-font-heading, 'Lora', serif); font-weight: 500; font-size: var(--sc-h2);
}
.ps2-plan-media { background: #f6f7f8; text-align: center; padding: 34px 28px 26px; border-bottom: 1px solid #e6e9ec; }
.ps2-plan-media img { display: block; width: auto; max-width: 100%; height: 140px; object-fit: contain; margin: 0 auto 26px; }
.ps2-plan-media p { margin: 0; font-size: var(--sc-body); }
.ps2-plan-fit { background: #f6f7f8; padding: 22px 30px; display: flex; flex-direction: column; gap: 6px; font-size: var(--sc-body); border-bottom: 1px solid #e6e9ec; }
.ps2-plan-fit strong { font-weight: var(--sc-weight-semi, 600); color: var(--ps2-text); }
.ps2-plan-list { list-style: none; margin: 0; padding: 26px 30px 22px; flex: 1 1 auto; }
.ps2-plan-list li { position: relative; padding-left: 34px; margin-bottom: 14px; font-size: var(--sc-body); line-height: 1.45; }
.ps2-plan-list li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: #c9cfd5;
    -webkit-mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ccircle cx='12' cy='12' r='12' fill='black'/%3e%3cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") center/20px no-repeat;
    mask: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3ccircle cx='12' cy='12' r='12' fill='black'/%3e%3cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e") center/20px no-repeat;
}
.ps2-plan .ps2-btn-block { margin: 6px 30px 30px; width: auto; }

/* --------------------------------- FAQ --------------------------------- */
.ps2-faq-list { max-width: 1020px; margin: 0 auto; }
.ps2-faq-item { border-bottom: 1px solid var(--ps2-rule); }
.ps2-faq-item:last-child { border-bottom: 0; }
.ps2-faq-item summary {
    cursor: pointer; list-style: none;
    font-family: var(--sc-font-heading, 'Lora', serif); font-weight: 400; font-size: 21px;
    color: var(--ps2-ink); padding: 22px 44px 22px 0; position: relative;
}
.ps2-faq-item summary::-webkit-details-marker { display: none; }
.ps2-faq-item summary::after {
    content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
    border-right: 1.5px solid var(--ps2-ink); border-bottom: 1.5px solid var(--ps2-ink);
    transform: translateY(-70%) rotate(45deg); transition: transform .15s;
}
.ps2-faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ps2-faq-item summary:hover { color: var(--sc-light-blue, #1ab8e9); }
.ps2-faq-answer { padding: 0 0 24px; font-size: var(--sc-body); line-height: 1.65; color: var(--ps2-text); max-width: 900px; }
.ps2-faq-answer p { margin: 0 0 12px; }
.ps2-faq-answer ul, .ps2-faq-answer ol { margin: 0 0 12px; padding-left: 22px; }

/* ------------------------------ responsive ----------------------------- */
@media (max-width: 1100px) {
}
@media (max-width: 980px) {
    .ps2-section { padding: 64px 0; }
    /* Stacked: title on the plain colour, then the band photo below it at
       full width, feathered along its top edge instead of its left. */
    /* Portrait banner: the objects fill its lower two-thirds; the title sits
       in the plain space above them. */
    /* The banner is pinned to the bottom; the copy sits above the object zone
       (the lower 43.4% of the 1000 x 1667 image, i.e. 72.4% of its drawn width,
       plus 28px of clearance) and the section grows with the copy. */
    /* Portrait banner at most 560px wide: full width on phones, centred on tablets. */
    .ps2-hero { --ps2-mob-w: min(100vw, 560px); background: var(--ps2-hero-bg) var(--ps2-hero-mob) center bottom / var(--ps2-mob-w) auto no-repeat; min-height: 0; }
    .ps2-hero .ps2-hero-inner { min-height: 0; align-items: flex-start; padding: 44px 18px calc(var(--ps2-mob-w) * .73 + 28px); justify-content: center; }   /* .ps2-hero-inner is also a .ps2-wrap, whose phone padding reset would otherwise win */
    .ps2-hero-copy { padding-left: 0; text-align: center; max-width: 560px; }
    .ps2-hero-title br { display: none; }
    .ps2-hero-lead { font-size: var(--sc-body); }
    .ps2-hero-ctas { justify-content: center; }
    .ps2-hero-proof { justify-content: center; }
    .ps2-split, .ps2-split--copy-first { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .ps2-split--copy-first .ps2-copy { order: 0; }
    /* Stacked order on phones (designer, 2026-10-14): heading, image, then the
       rest of the copy. The copy wrapper dissolves so its children sit in the
       grid beside the image; explicit margins replace the grid gap. */
    .ps2-get .ps2-split, .ps2-fix .ps2-split, .ps2-hand .ps2-split, .ps2-formats .ps2-split, .ps2-safety .ps2-split { gap: 0; }
    .ps2-get .ps2-copy, .ps2-fix .ps2-copy, .ps2-hand .ps2-copy, .ps2-formats .ps2-copy, .ps2-safety .ps2-copy { display: contents; }
    .ps2-get .ps2-copy > .ps2-h2, .ps2-fix .ps2-copy > .ps2-h2, .ps2-hand .ps2-copy > .ps2-h2, .ps2-formats .ps2-copy > .ps2-h2, .ps2-safety .ps2-copy > .ps2-h2 { order: 0; margin-bottom: 22px; text-align: left; }
    .ps2-get .ps2-split > img, .ps2-fix .ps2-split > img, .ps2-hand .ps2-split > img, .ps2-formats .ps2-split > img, .ps2-safety .ps2-split > img { order: 1; margin-bottom: 26px; }
    .ps2-get .ps2-copy > :not(.ps2-h2), .ps2-fix .ps2-copy > :not(.ps2-h2), .ps2-hand .ps2-copy > :not(.ps2-h2), .ps2-formats .ps2-copy > :not(.ps2-h2), .ps2-safety .ps2-copy > :not(.ps2-h2) { order: 2; }
    /* Section headings as large as the hero title on phones ("the header sizes are intended to be large"). */
    .ps2-get .ps2-h2, .ps2-fix .ps2-h2, .ps2-hand .ps2-h2, .ps2-formats .ps2-h2, .ps2-safety .ps2-h2 { font-size: clamp(38px, 3.8vw, 56px); line-height: 1.18; }
    .ps2-plans { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 620px) {
    .ps2-wrap { padding: 0 18px; }
    .ps2-section { padding: 52px 0; }
    .ps2-band-text { font-size: var(--sc-body); gap: 10px 14px; }
    .ps2-h2 br { display: none; }
    .ps2-steps { grid-template-columns: 1fr; gap: 18px; }
    .ps2-step img { aspect-ratio: 1569 / 919; }
    .ps2-step figcaption { font-size: var(--sc-small); margin-bottom: 8px; }
    .ps2-step img, .ps2-photo { border-radius: 14px; }
    .ps2-fixes li { font-size: var(--sc-body); gap: 12px; }
    .ps2-rules li { font-size: var(--sc-body); }
    .ps2-btn { width: 100%; }
    .ps2-hero-ctas .ps2-btn { width: 100%; }
    .ps2-center .ps2-btn { width: auto; }
}


/* We Digitize Other Formats Too: the other categories as linked icons (board, 2026-10-21). */
.ps2-others { background: #efebe2; }
.ps2-others .ps2-section-head { margin-bottom: 36px; }
.ps2-others-list { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 96px; max-width: 900px; }
.ps2-others-list a { display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--ps2-ink); text-decoration: none; font-family: var(--sc-font-heading, 'Lora', serif); font-size: 24px; }
.ps2-others-list img { width: 120px; height: 120px; object-fit: contain; transition: transform .18s ease; }
.ps2-others-list a:hover img, .ps2-others-list a:focus-visible img { transform: translateY(-4px); }
.ps2-others-list a:hover span { color: var(--sc-light-blue, #1ab8e9); }
@media (max-width: 767px) {
    .ps2-others-list { gap: 20px 28px; }
    .ps2-others-list img { width: 88px; height: 88px; }
    .ps2-others-list a { font-size: 20px; }
}
