/* Homepage layout and shared presentation rules. */

.fsh {
    --ink: #273344;
    --blue: #182B43;
    --paper: #FCF9F1;
    --cream: #F8EED8;
    --button-hover: #102137;
    color: var(--ink);
    background: var(--paper);
}
.fsh .fsh-shell { box-sizing: border-box; width: min(1140px, calc(100% - 32px)); margin-inline: auto; }
.fsh .fsh-hero { padding-top: clamp(16px, 4vw, 42px); }
.fsh .fsh-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #D9C7A2;
    background: #F1E4C5;
}
.fsh .fsh-intro { align-self: center; padding: clamp(18px, 3.8vw, 40px); min-width: 0; }
.fsh #home.fsh-hero h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.3125rem, 1.13rem + .65vw, 1.625rem);
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: normal;
    color: var(--blue);
    margin: 0 0 14px;
}
.fsh .fsh-hero h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 10px;
}
.fsh .fsh-intro p { margin: 0 0 12px; color: var(--ink); line-height: 1.6; }
.fsh .fsh-intro em { display: block; font-style: normal; font-weight: 700; margin-top: 5px; }
.fsh .fsh-hero-image { display: block; width: 100%; height: 100%; min-height: 0; max-height: 460px; object-fit: cover; }
.fsh .fsh-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.fsh .fsh-button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 8px 16px; border: 1px solid transparent;
    border-radius: 7px; background: var(--blue); color: #fff;
    font-weight: 700; text-align: center; text-decoration: none;
}
.fsh .fsh-button:hover { background: var(--button-hover); color: #fff; }
.fsh .fsh-outline { color: var(--blue); background: transparent; border-color: var(--blue); }
.fsh a:focus-visible, .fsh button:focus-visible { outline: 3px solid #7B4C12; outline-offset: 3px; }
.fsh .fsh-services { padding: 26px 0 clamp(32px, 6vw, 64px); }
.fsh .fsh-services h2 { font-size: clamp(1.4rem, 2.7vw, 2rem); color: var(--ink); }
.fsh .fsh-services > p { margin-bottom: 20px; }
.fsh .fsh-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fsh .fsh-card {
    --accent: #7B4C12; --tint: #FAF0DD;
    display: flex; flex-direction: column; overflow: hidden;
    border: 1px solid #E1D4BA; border-bottom: 4px solid var(--accent); border-radius: 12px; background: var(--tint);
}
.fsh .fsh-card:nth-child(2) { --accent: #182B43; --tint: #F7EFD9; }
.fsh .fsh-card:nth-child(3) { --accent: #6E512B; --tint: #F8F3E8; }
.fsh .fsh-card img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.fsh .fsh-card-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 16px; }
.fsh .fsh-card-copy h3 { font-size: 1.25rem; color: var(--ink); margin: 0 0 8px; }
.fsh .fsh-card-copy p { margin-bottom: 16px; }
.fsh .fsh-card-copy .fsh-button { margin-top: auto; }
.fsh .fsh-restoration h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.fsh .fsh-order { padding-block: clamp(30px, 6vw, 70px); }

.fsh :is(.fsh-reviews, .fsh-contact) { padding-top: clamp(24px, 3vw, 38px); }
.fsh .fsh-reviews { background: #F1E4C5; }
.fsh .fsh-contact .contact-box { padding: clamp(14px, 3vw, 28px); background: var(--paper); border-radius: 12px; }
@media (max-width: 767px) {
    .fsh .fsh-hero-panel { grid-template-columns: minmax(0, 1fr); }
    .fsh .fsh-hero-image { aspect-ratio: 16 / 9; height: auto; max-height: 310px; }

}
.fsh .fsh-memories {
    padding: clamp(36px, 6vw, 74px) 0 clamp(18px, 2.5vw, 32px);
    background: linear-gradient(150deg, #FCF9F1, #F1E4C5);
}
.fsh .fsh-memories-intro { max-width: 72ch; margin: 0 auto 26px; text-align: center; }
.fsh .fsh-memories-intro h2 { color: var(--ink); font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 0 0 10px; }
.fsh .fsh-memories-intro p, .fsh .fsh-benefit p { color: #273344; line-height: 1.6; margin: 0; }
.fsh .fsh-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fsh .fsh-benefit {
    --card-accent: #182B43;
    --card-tint: #F1E4C5;
    min-width: 0;
    background: #fff;
    border: 1px solid #E1D4BA;
    border-top: 4px solid var(--card-accent);
    border-radius: 14px;
    box-shadow: 0 5px 16px #182B430D;
}
.fsh .fsh-benefit:nth-child(3n + 2) { --card-accent: #182B43; --card-tint: #F5EAD3; }
.fsh .fsh-benefit:nth-child(3n + 3) { --card-accent: #7B4C12; --card-tint: #F8EED8; }
.fsh .fsh-benefit-copy { padding: clamp(16px, 2.2vw, 25px); }
.fsh .fsh-benefit-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: var(--card-tint);
    color: var(--card-accent);
    font-size: 1.2rem;
}
.fsh .fsh-benefit h3 { color: var(--ink); font-size: 1.1rem; line-height: 1.3; margin: 0 0 8px; }
.fsh .fsh-benefit-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
    background: #FAF0DD;
}
.fsh .fsh-benefit-photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: clamp(12px, 2vw, 22px);
}
.fsh .fsh-benefit-photos img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .fsh .fsh-benefit { transition: transform .19s ease, box-shadow .19s ease; }
    .fsh .fsh-benefit-icon { transition: transform .19s ease; }
    .fsh .fsh-benefit:hover { transform: translateY(-3px); box-shadow: 0 9px 20px #182B4321; }
    .fsh .fsh-benefit:hover .fsh-benefit-icon { transform: rotate(-7deg); }
}
@media (max-width: 900px) {
    .fsh .fsh-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .fsh .fsh-benefits, .fsh .fsh-benefit-feature { grid-template-columns: minmax(0, 1fr); }
    .fsh .fsh-benefit-photos { padding-top: 0; }
}
.fsh .fsh-card:nth-child(4) { --accent: #7B4C12; --tint: #F1E4C5; }
.fsh .fsh-order { background: #F7EFD9; }
.fsh .fsh-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 29%);
    gap: clamp(16px, 3vw, 32px);
    align-items: start;
}
.fsh .fsh-order-main, .fsh .fsh-order-reviews {
    min-width: 0; box-sizing: border-box; background: #fff;
    border: 1px solid #E1D4BA; border-radius: 16px;
}
.fsh .fsh-order-main { padding: clamp(16px, 3vw, 28px); }
.fsh .fsh-order-main h2 { color: var(--ink); font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 12px; }
.fsh .fsh-order-main p { line-height: 1.6; }
.fsh .fsh-order-photos {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px; margin: 18px 0;
}
.fsh .fsh-order-photos a {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--blue); color: #fff; text-align: center; border-radius: 9px;
}
.fsh .fsh-order-photos img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.fsh .fsh-order-photos span {
    position: relative; flex: 1; display: grid; place-items: center;
    background: var(--blue); padding: 7px 3px; line-height: 1.25; font-weight: 700; font-size: .86rem;
}
.fsh .fsh-order-photos a:is(:hover, :focus-visible) span { background: #102137; text-decoration: underline; }
.fsh .fsh-order-steps { display: grid; gap: 8px; }
.fsh .fsh-order-steps > div { padding: 12px; border-radius: 9px; background: #F8F3E8; }
.fsh .fsh-order-steps > div:nth-child(2) { background: #F1E4C5; }
.fsh .fsh-order-steps > div:nth-child(3) { background: #F7EFD9; }
.fsh .fsh-order-steps h3, .fsh .fsh-order-reviews h3 { color: var(--ink); font-size: 1.06rem; margin: 0 0 6px; }
.fsh .fsh-order-steps i, .fsh .fsh-order-reviews h3 i { color: #7B4C12; margin-right: 5px; }
.fsh .fsh-order-steps p:last-child { margin-bottom: 0; }
.fsh .fsh-order-reviews { padding: 14px 0; text-align: center; }
.fsh .fsh-order-reviews > a { display: inline-block; margin-top: 8px; text-decoration: underline; }
.fsh .fsh-review-embed {
    display: grid;
    justify-items: center;
    width: min(240px, 100%);
    margin-inline: auto;
}
.fsh .fsh-review-embed iframe { display: block; max-width: 100%; margin-inline: auto; border: 0; }
@media (prefers-reduced-motion: no-preference) {
    .fsh .fsh-order-photos img { transition: transform .26s ease; }
    .fsh .fsh-order-photos a:is(:hover, :focus-visible) img { transform: scale(1.09); }
}
@media (max-width: 850px) {
    .fsh .fsh-order-layout { grid-template-columns: minmax(0, 1fr); }
    .fsh .fsh-order-reviews { width: min(100%, 350px); justify-self: center; }
}
@media (max-width: 550px) {
    .fsh .fsh-card-grid { grid-template-columns: minmax(0, 1fr); }
}
:is(.fsh, .fs-restore-page) .fsh-compare {
    width: min(100%, 320px);
    margin-inline: auto;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 15px;
    background: #182B43;
    color: #fff;
    box-shadow: 0 10px 24px #182B4325;
}
:is(.fsh, .fs-restore-page) .fsh-compare-stage {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 9px;
    background: #102137;
    aspect-ratio: var(--photo-ratio);
    max-width: var(--photo-max-width);
    margin-inline: auto;
}
:is(.fsh, .fs-restore-page) .fsh-compare-layer { position: absolute; inset: 0; }
:is(.fsh, .fs-restore-page) .fsh-compare-layer::before {
    /* Common 584 × 912 crop at (8, 10) in the restored 600 × 960 photo. */
    content: "";
    position: absolute;
    left: -1.36986%;
    top: -1.09649%;
    width: 102.73973%;
    height: 105.26316%;
    background: var(--photo-source) center / 100% 100% no-repeat;
    transform-origin: 0 0;
}
:is(.fsh, .fs-restore-page) .fsh-compare-before::before {
    /* Align the original to the restored photo's shoreline and foreground. */
    transform: translate(-.88276%, -2.79805%) matrix(1.00231, .002695, .007731, .999519, 0, 0);
}
:is(.fsh, .fs-restore-page) .fsh-compare-after {
    clip-path: inset(0 50% 0 0);
}
:is(.fsh, .fs-restore-page) .fsh-compare-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 0 5px #273344;
}
:is(.fsh, .fs-restore-page) .fsh-compare-marker::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #102137;
    background: #fff;
    font-weight: 700;
}
:is(.fsh, .fs-restore-page) .fsh-compare-controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 2px 0;
    font-size: .86rem;
    font-weight: 700;
}
:is(.fsh, .fs-restore-page) .fsh-compare-controls input {
    width: 100%; min-width: 0; height: 36px; margin: 0; cursor: ew-resize; accent-color: #EDC277;
}
:is(.fsh, .fs-restore-page) .fsh-compare-play {
    width: 100%;
    margin-top: 4px;
    padding: 7px;
    min-height: 44px;
    border: 1px solid #D9C7A2;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
:is(.fsh, .fs-restore-page) .fsh-compare-play:hover { background: var(--button-hover); }
:is(.fsh, .fs-restore-page) .fsh-compare :is(input, button):focus-visible { outline: 3px solid #EDC277; outline-offset: 2px; }
:is(.fsh, .fs-restore-page) .fsh-compare [hidden], :is(.fsh, .fs-restore-page) .fsh-compare-host > [hidden] { display: none !important; }
.fsh .fsh-restoration { background: linear-gradient(135deg, #F8EED8, #FCF9F1); }
.fsh #fsh-restoration-title { margin: 0 0 18px; }
.fsh .fsh-restoration-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.fsh .fsh-restoration-info { text-align: left; }
.fsh .fsh-restoration-info p { line-height: 1.6; margin: 0 0 14px; }
.fsh .fsh-restoration-offer { padding: 16px; background: #FCF9F1; border: 1px solid #D9C7A2; border-radius: 12px; }
.fsh .fsh-restoration-offer h3 { font-size: 1.08rem; color: #7B4C12; }
.fsh .fsh-restoration-offer dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.fsh .fsh-restoration-offer dd { margin: 0; font-size: 1.35rem; font-weight: 700; }
:is(.fsh, .fs-restore-page) .fsh-compare-originals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 440px; margin-inline: auto; }
.fsh .fsh-restoration-example { min-width: 0; margin: 0; text-align: center; }
:is(.fsh, .fs-restore-page) .fsh-compare-originals img { display: block; width: 100%; height: auto; border-radius: 10px; }
.fsh .fsh-restoration-example figcaption { margin-top: 8px; font-weight: 700; }
:is(.fsh, .fs-restore-page) .fsh-compare-stage { cursor: ew-resize; touch-action: pan-y; user-select: none; }
@media (max-width: 900px) {
    .fsh .fsh-restoration-layout { grid-template-columns: minmax(0, 1fr); }
}
.fsh :is(.button-group, .fsh-contact) .btn { background: var(--blue); border-color: transparent; color: #fff; }
.fsh :is(.button-group, .fsh-contact) .btn:hover { background: var(--button-hover); color: #fff; }
.fsh :is(.fsh-order-main, .fsh-contact, .fsh-restoration) p a { color: var(--blue); text-decoration: underline; }
/* The shared navigation and footer inherit these colours on the test homepage. */
body:has(.fsh) {
    --fsh-chrome-navy: #182B43;
    --fsh-chrome-deep: #102137;
    --fsh-chrome-cream: #FCF9F1;
    --fsh-chrome-honey: #F1E4C5;
    --fsh-chrome-accent: #7B4C12;
    --fsh-chrome-line: #D9C7A2;
}
body:has(.fsh) #header,
body:has(.fsh) #header .navbar { background: var(--fsh-chrome-navy); }
body:has(.fsh) #header .navbar { box-shadow: inset 0 -2px var(--fsh-chrome-line); }
body:has(.fsh) #header .film-scan-brand > a {
    background: var(--fsh-chrome-cream);
    border-radius: 8px;
    overflow: hidden;
    isolation: isolate;
}
body:has(.fsh) #header .film-scan-brand img { mix-blend-mode: multiply; }
body:has(.fsh) #header .navbar .nav-link,
body:has(.fsh) #header .header-phone { color: var(--fsh-chrome-cream); }
body:has(.fsh) #header .navbar .nav-link:is(:hover, :focus-visible) { color: var(--fsh-chrome-honey); }
body:has(.fsh) #header .navbar .dropdown-menu .nav-link { color: var(--fsh-chrome-navy); }
body:has(.fsh) #header a:focus-visible { outline: 2px solid var(--fsh-chrome-line); outline-offset: 2px; }
body:has(.fsh) #header .dropdown-menu,
body:has(.fsh) #menu .menu .dropdown-menu {
    background: var(--fsh-chrome-cream);
    border-color: var(--fsh-chrome-line);
}
body:has(.fsh) #header .dropdown-menu .nav-item:hover > .nav-link,
body:has(.fsh) #header .dropdown-menu .nav-link:focus,
body:has(.fsh) #menu .menu .nav-link:is(:hover, :focus-visible) {
    /* The shared desktop dropdown hover rule uses important. */
    background-color: var(--fsh-chrome-honey) !important;
    color: var(--fsh-chrome-navy) !important;
}
body:has(.fsh) #menu .modal-content { background: var(--fsh-chrome-cream); }
body:has(.fsh) #menu .modal-header { background: var(--fsh-chrome-navy); color: var(--fsh-chrome-cream); }
body:has(.fsh) #menu .modal-header .icon-close { color: var(--fsh-chrome-honey); }
body:has(.fsh) #menu .menu .nav-link { color: var(--fsh-chrome-navy); }
body:has(.fsh) .fsh + .cta-area.bg-overlay::after { background: var(--fsh-chrome-deep); }
body:has(.fsh) .fs-footer {
    background: var(--fsh-chrome-navy);
    color: var(--fsh-chrome-cream);
    box-shadow: inset 0 3px var(--fsh-chrome-line);
}
body:has(.fsh) .fs-footer h4 { color: var(--fsh-chrome-honey); }
body:has(.fsh) .fs-footer p,
body:has(.fsh) .fs-footer a,
body:has(.fsh) .fs-footer .fs-footer-bottom a { color: var(--fsh-chrome-cream); }
body:has(.fsh) .fs-footer a:is(:hover, :focus-visible) { color: var(--fsh-chrome-honey); text-decoration: underline; }
body:has(.fsh) .fs-footer .fs-footer-octopus { border-top-color: #6D685D; }
body:has(.fsh) .fs-footer .fs-footer-bottom { background: var(--fsh-chrome-deep); }

.fsh .fs-home-christmas {
    max-width: 1140px;
    margin: 25px auto;
    padding: 22px 26px;
    background: #FCF9F1;
    border: 1px solid #D9C7A2;
    border-left: 5px solid #7B4C12;
    border-radius: 14px;
    color: #273344;
}

.fsh .fs-home-christmas h2 {
    color: #7B4C12;
    font-size: 23px;
    margin: 0 0 10px;
}

.fsh .fs-home-christmas p {
    line-height: 1.6;
    margin: 0 0 12px;
}

.fsh .fs-home-christmas a {
    color: #7B4C12;
    font-weight: 700;
}

@media (max-width: 600px) {
    .fsh .fs-home-christmas {
        margin: 18px 12px;
        padding: 19px;
    }
}

.fsh .fs-home-christmas .fs-christmas-button {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 24px;
    background: var(--blue);
    color: #ffffff;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.fsh .fs-home-christmas .fs-christmas-button:hover {
    background: var(--button-hover);
    color: #ffffff;
    text-decoration: none;
}

/* Keep the email link inside its contact card at narrow widths. */
@media (max-width: 991px) {
    .fsh .fsh-contact .contact-info:has(a[href^="mailto:"]) { padding-inline: 16px !important; }
    .fsh .fsh-contact a[href^="mailto:"] h3 {
        font-size: clamp(1rem, 4.3vw, 1.3rem);
        line-height: 1.3;
        overflow-wrap: anywhere;
    }
}

/* Scanning-page presentation rules. */

/* Opt-in colour theme for pages using the shared scanning service layout. */
.fs-scanning-page.fs-deep-vintage {
    --fs-scan-ink: #182B43;
    --fs-scan-text: #273344;
    --fs-scan-paper: #FCF9F1;
    --fs-scan-honey: #F1E4C5;
    --fs-scan-cream: #F8EED8;
    --fs-scan-accent: #7B4C12;
    --fs-scan-line: #D9C7A2;
    background: var(--fs-scan-paper);
    color: var(--fs-scan-text);
}
.fs-scanning-page.fs-deep-vintage :is(h1, h2, h3, p, label, small) { color: var(--fs-scan-text); }
.fs-scanning-page.fs-deep-vintage :is(h1, h2, h3, a, .fs-award-link) { color: var(--fs-scan-ink); }
.fs-scanning-page.fs-deep-vintage .fs-kicker { color: var(--fs-scan-accent); }
.fs-scanning-page.fs-deep-vintage :is(.fs-hero-grid, .fs-price-table thead th) {
    background: var(--fs-scan-honey);
    border-color: var(--fs-scan-line);
}
.fs-scanning-page.fs-deep-vintage :is(.fs-panel, .fs-award, .fs-info, .fs-trust-grid .fs-panel) {
    background: var(--fs-scan-cream);
    border-color: var(--fs-scan-line);
}
.fs-scanning-page.fs-deep-vintage :is(.fs-tags span, .fs-section, .fs-feature-card, .fs-service-card, .fs-quote, .fs-price-table, .fs-spec-table) {
    background: var(--fs-scan-paper);
    border-color: var(--fs-scan-line);
}
.fs-scanning-page.fs-deep-vintage .fs-info {
    background: var(--fs-scan-cream);
    border-left-color: var(--fs-scan-accent);
}
.fs-scanning-page.fs-deep-vintage :is(.fs-price-table, .fs-spec-table) :is(th, td) {
    border-color: var(--fs-scan-line);
}
.fs-scanning-page.fs-deep-vintage :is(.fs-price-table td.fs-price, .sale-heading) { color: var(--fs-scan-accent); }
.fs-scanning-page.fs-deep-vintage .fs-quote input { border-color: var(--fs-scan-line) !important; }
.fs-scanning-page.fs-deep-vintage .fs-quote .btn {
    background: var(--fs-scan-ink);
    border-color: var(--fs-scan-ink);
    color: #fff;
}
.fs-scanning-page.fs-deep-vintage .fs-quote .btn:hover { background: #102137; }
.fs-scanning-page.fs-deep-vintage :is(.fs-feature-icon, .fs-extra-icon) {
    background: var(--fs-scan-honey);
    color: var(--fs-scan-accent);
}
.fs-scanning-page.fs-deep-vintage .fs-trust-list li::before { color: var(--fs-scan-accent); }
.fs-scanning-page.fs-deep-vintage :is(.fs-feature-card, .fs-service-card):is(:hover, :focus-visible) {
    background: var(--fs-scan-cream);
    border-color: var(--fs-scan-accent);
}
.fs-scanning-page.fs-deep-vintage :is(a, input, button):focus-visible {
    outline: 3px solid var(--fs-scan-accent);
    outline-offset: 3px;
}

/* Slide page accents distinguish the information cards. */
.fs-slide-page.fs-deep-vintage { background: #F8FAFC; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage :is(.fs-section, .fs-feature-card, .fs-service-card) {
    background: #fff;
    border-color: #DDE4ED;
}
.fs-slide-page.fs-deep-vintage :is(.fs-feature-card, .fs-service-card):is(:hover, :focus-visible) {
    background: #EEF4FA;
    border-color: #7993AD;
}
.fs-slide-page.fs-deep-vintage .fs-section.fs-slide-included { border-left: 4px solid #345879; }
.fs-slide-page.fs-deep-vintage .fs-section.fs-slide-specs {
    background: var(--fs-scan-ink);
    border-color: var(--fs-scan-ink);
}
.fs-slide-page.fs-deep-vintage .fs-slide-specs h2 { color: #fff; }
.fs-slide-page.fs-deep-vintage .fs-slide-specs .fs-spec-table { background: #fff; }
.fs-slide-page.fs-deep-vintage .fs-slide-specs .fs-spec-table tr:nth-child(even) { background: #EEF4FA; }
.fs-slide-page.fs-deep-vintage .fs-slide-specs .fs-spec-table :is(th, td) { border-color: #D6E0EC; }
.fs-slide-page.fs-deep-vintage .fs-slide-specs .fs-spec-table th { color: var(--fs-scan-ink); }
.fs-slide-page.fs-deep-vintage .fs-section.fs-slide-cleaning { background: #EAF6F1; border-color: #A8CABD; }
.fs-slide-page.fs-deep-vintage .fs-slide-cleaning h2,
.fs-slide-page.fs-deep-vintage .fs-slide-cleaning .fs-steps li::marker { color: #17584D; }
.fs-slide-page.fs-deep-vintage .fs-slide-cleaning .fs-steps li::marker { font-weight: 700; }
.fs-slide-page.fs-deep-vintage .fs-info.fs-slide-types {
    background: #F1EEFA;
    border-color: #D8CEE8;
    border-left-color: #6B548A;
}
.fs-slide-page.fs-deep-vintage .fs-slide-types h2 { color: #503967; }
.fs-slide-page.fs-deep-vintage .fs-section.fs-slide-order { background: #EEF4FA; border-color: #CFDFEF; }
.fs-slide-page.fs-deep-vintage .fs-section.fs-slide-super { background: #FFF5E7; border-color: #E3CA9F; }
.fs-slide-page.fs-deep-vintage .fs-slide-super p a { text-decoration: underline; }
.fs-slide-page.fs-deep-vintage .fs-features .fs-feature-icon { background: #E4F2EA; color: #215C4E; }
.fs-slide-page.fs-deep-vintage .fs-features .fs-extra-icon { background: #F1EEFA; color: #503967; }

.fs-slide-page.fs-deep-vintage,
.fs-restore-page.fs-deep-vintage,
.fs-login-page.fs-deep-vintage,
.fsh.fsh-deep-vintage { --vintage-hero: linear-gradient(130deg, #14283C, #294760 70%, #4D5363); }

/* Deep Vintage Mood on the slide preview, including shared navigation and footer. */
body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) {
    --fs-header-navy: #193249;
    --fs-header-cream: #FBF7F1;
    --fs-header-honey: #EBD6CB;
    --fs-header-line: #C38F79;
}

body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) .fs-footer {
    background: #193249;
    color: #FBF7F1;
    box-shadow: inset 0 3px #C38F79;
}
body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) .fs-footer h4,
body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) .fs-footer a:is(:hover, :focus-visible) { color: #EBD6CB; }
body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) .fs-footer :is(p, a),
body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) .fs-footer .fs-footer-bottom a { color: #FBF7F1; }
body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) .fs-footer .fs-footer-bottom { background: #111F2D; }
body:has(.fs-slide-page.fs-deep-vintage, .fs-restore-page.fs-deep-vintage, .fs-login-page.fs-deep-vintage) .fs-footer .fs-footer-octopus { border-top-color: #78696B; }

.fs-slide-page.fs-scanning-page.fs-deep-vintage {
    --fs-scan-ink: #193249;
    --fs-scan-text: #2D3541;
    --fs-scan-paper: #FBF7F1;
    --fs-scan-honey: #EBD6CB;
    --fs-scan-cream: #F1E5DB;
    --fs-scan-accent: #9A432F;
    --fs-scan-line: #DCC9BD;
    background: var(--fs-scan-paper);
}
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-quote .btn { background: var(--fs-scan-accent); }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-quote .btn:hover { background: #783221; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage :is(.fs-feature-card, .fs-service-card, .fs-section) { border-color: var(--fs-scan-line); }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-included { border-left-color: #395C7A; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-specs { border-color: var(--fs-scan-ink); }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-specs .fs-spec-table tr:nth-child(even) { background: #F5ECE5; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-cleaning { background: #EBD6CB; border-color: #D0A895; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-info.fs-slide-types { background: #EAE3F0; border-color: #D5C4DD; border-left-color: #735879; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-types h2 { color: #503852; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-order { background: #E4EDF5; border-color: #C4D6E5; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-super { background: #F7E4D8; border-color: #DEBBA8; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-slide-specs .fs-spec-table :is(th, td) { border-color: var(--fs-scan-line); }
.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-features .fs-extra-icon { background: #E4EDF5; color: #395C7A; }
.fs-slide-page.fs-scanning-page.fs-deep-vintage :is(.fs-feature-card, .fs-service-card):is(:hover, :focus-visible) {
    background: #F5ECE5;
    border-color: #B7826B;
}

/* Emphasise only the discounted column in the slide offer table. */
.fs-slide-page.fs-deep-vintage .fs-slide-offer-table td.fs-price {
    color: #A21C32;
    background: #FCE8EB;
    font-weight: 800;
}

.fs-slide-page.fs-scanning-page.fs-deep-vintage .fs-hero-grid {
    background: var(--vintage-hero);
    border-color: #39566C;
    color: #FBF7F1;
}
.fs-slide-page.fs-deep-vintage :is(.fs-hero-heading h1, .fs-hero-copy p) { color: #FBF7F1; }
.fs-slide-page.fs-deep-vintage .fs-hero-heading .fs-kicker { color: #F0BCA5; }
.fs-slide-page.fs-deep-vintage .fs-hero-grid .fs-tags span { color: #193249; background: #F1E5DB; }
.fs-slide-page.fs-deep-vintage .fs-hero-grid .fs-award { color: #193249; }
.fs-slide-page.fs-deep-vintage .fs-features .fs-feature-icon { background: #F2DDD2; color: #813925; }

/* Deep Vintage Mood preview. The opt-in class keeps this palette on the test homepage. */
.fsh.fsh-deep-vintage {
    --ink: #2D3541;
    --blue: #9A432F;
    --paper: #FBF7F1;
    --cream: #F7E4D8;
    --button-hover: #783221;
    --vintage-navy: #193249;
    --vintage-line: #DCC9BD;
}
body:has(.fsh.fsh-deep-vintage) {
    --fsh-chrome-navy: #193249;
    --fsh-chrome-deep: #111F2D;
    --fsh-chrome-cream: #FBF7F1;
    --fsh-chrome-honey: #EBD6CB;
    --fsh-chrome-line: #C38F79;
    background: #FBF7F1;
}
body:has(.fsh.fsh-deep-vintage) .fs-footer .fs-footer-octopus { border-top-color: #78696B; }

.fsh-deep-vintage .fsh-hero-panel { background: var(--vintage-hero); border-color: var(--vintage-line); }
.fsh-deep-vintage #home.fsh-hero h1 { color: #FBF7F1; }
.fsh-deep-vintage :is(a, button):focus-visible { outline-color: var(--blue); }
.fsh-deep-vintage .fsh-award-panel { background: #F4EBDD; border: 1px solid #D4C3A7; }
.fsh-deep-vintage .fsh-award-link { color: var(--blue); text-decoration: underline; }
.fsh-deep-vintage .fs-home-christmas { background: #F7EFE5; border-color: #D9C5B5; border-left-color: #86503A; color: var(--ink); }
.fsh-deep-vintage .fs-home-christmas h2 { color: #704330; }

.fsh-deep-vintage .fsh-card { --accent: #395C7A; --tint: #E4EDF5; border-color: var(--vintage-line); border-bottom-color: var(--accent); }
.fsh-deep-vintage .fsh-card:nth-child(2) { --accent: #9A432F; --tint: #EBD6CB; }
.fsh-deep-vintage .fsh-card:nth-child(3) { --accent: #735879; --tint: #EAE3F0; }
.fsh-deep-vintage .fsh-card:nth-child(4) { --accent: #86503A; --tint: #F7E4D8; }

.fsh-deep-vintage .fsh-restoration { background: #F1E5DB; }
.fsh-deep-vintage .fsh-restoration-offer { background: #F1C6AC; border-color: #B96F51; }
.fsh-deep-vintage .fsh-restoration-offer h3 { color: #704330; }
:is(.fsh-deep-vintage, .fs-restore-page.fs-deep-vintage) :is(.fsh-compare, .fsh-compare-stage) { background: var(--vintage-navy); }
.fsh-deep-vintage .fsh-compare-controls input { accent-color: #F0BCA5; }
.fsh-deep-vintage .fsh-compare-play { border-color: #C38F79; }
.fsh-deep-vintage .fsh-compare :is(input, button):focus-visible { outline-color: #F0BCA5; }

.fsh-deep-vintage .fsh-order { background: #F5ECE5; }
.fsh-deep-vintage :is(.fsh-order-main, .fsh-order-reviews) { border-color: var(--vintage-line); }
.fsh-deep-vintage .fsh-order-steps > div { background: #E4EDF5; }
.fsh-deep-vintage .fsh-order-steps > div:nth-child(2) { background: #F7E4D8; }
.fsh-deep-vintage .fsh-order-steps > div:nth-child(3) { background: #EBD6CB; }
.fsh-deep-vintage :is(.fsh-order-steps, .fsh-order-reviews h3) i { color: var(--blue); }

.fsh-deep-vintage .fsh-memories { background: linear-gradient(160deg, #FBF7F1, #F5ECE5); }
.fsh-deep-vintage .fsh-benefit {
    --card-accent: #395C7A;
    --card-tint: #E4EDF5;
    border-color: var(--vintage-line);
    border-top-color: var(--card-accent);
}
.fsh-deep-vintage .fsh-benefit:nth-child(3n + 2) { --card-accent: #9A432F; --card-tint: #EBD6CB; }
.fsh-deep-vintage .fsh-benefit:nth-child(3n + 3) { --card-accent: #86503A; --card-tint: #F7E4D8; }
.fsh-deep-vintage .fsh-benefit-feature { background: #F1E5DB; }
.fsh-deep-vintage .fsh-reviews { background: #E4EDF5; }
.fsh-deep-vintage .fsh-contact .contact-box { background: #F1E5DB; }
.fsh-deep-vintage .fsh-intro :is(h2, p) { color: #FBF7F1; }
.fsh-deep-vintage .fsh-intro h2 { font-size: clamp(1.0625rem, .98rem + .4vw, 1.3125rem); }
.fsh-deep-vintage .fsh-hero .fsh-outline { color: #FBF7F1; border-color: #F0BCA5; }
.fsh-deep-vintage .fsh-hero .fsh-outline:hover { color: #14283C; background: #EBD6CB; }
.fsh-deep-vintage .fsh-hero a:focus-visible { outline-color: #F0BCA5; }

.fsh-deep-vintage .fsh-restoration-speed {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #193249;
    color: #FBF7F1;
}
.fsh-deep-vintage .fsh-restoration-speed p { margin: 0; color: inherit; }
.fsh-deep-vintage .fsh-restoration-speed strong { display: block; color: #F0BCA5; font-size: clamp(1.3rem, 2.7vw, 1.6rem); line-height: 1.2; margin-bottom: 4px; }
.fsh-deep-vintage .fsh-restoration-speed i { color: #F0BCA5; font-size: 1.2rem; }
.fsh-deep-vintage .fsh-restoration-offer { padding: clamp(16px, 3vw, 26px); text-align: center; }
.fsh-deep-vintage .fsh-restoration-offer h3 {
    color: #193249;
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
    line-height: 1.2;
    margin: 0 0 16px;
}
.fsh-deep-vintage .fsh-restoration-offer dl { margin: 0 0 16px; }
.fsh-deep-vintage .fsh-restoration-offer dl > div {
    min-width: 0;
    padding: 10px 6px;
    border-radius: 8px;
    background: #FBF7F1;
}
.fsh-deep-vintage .fsh-restoration-offer dt { line-height: 1.3; }
.fsh-deep-vintage .fsh-restoration-offer dd { color: #A21C32; font-size: clamp(1.55rem, 3.5vw, 2rem); }
.fsh-deep-vintage .fsh-restoration-offer dd s {
    display: block;
    color: #62534B;
    font-size: 1rem;
    font-weight: 500;
}

/* Deep Vintage restoration preview. */
.fs-restore-page.fs-deep-vintage { --vintage-navy: #193249; --blue: #9A432F; --button-hover: #783221; }
.fs-restore-page .fs-restore-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
    text-align: left;
}
.fs-restore-page .fs-restore-hero-copy p { margin-bottom: 20px; }
.fs-restore-page .fs-restore-hero .fsh-restoration-example { min-width: 0; margin: 0; text-align: center; }
.fs-restore-page .fs-restore-hero figcaption { margin-top: 8px; color: #FBF7F1; }
.fs-restore-page .fs-restore-speed {
    padding: 12px 16px;
    border-radius: 10px;
    background: #193249;
    color: #FBF7F1;
}
.fs-restore-page .fs-restore-speed strong { display: block; color: #F0BCA5; font-size: 1.25rem; }
.fs-restore-page .fs-restore-send {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}
.fs-restore-page .fs-restore-gallery .fs-restore-example { margin: 0; padding: 12px; }
.fs-restore-page .fs-restore-gallery { display: grid; gap: 20px; margin: 18px 0; }
.fs-restore-page .fs-restore-gallery .fs-restore-pair { gap: clamp(10px, 2vw, 20px); align-items: center; }
.fs-restore-page .fs-restore-gallery .fs-restore-pair img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
}
@media (max-width: 550px) {
    .fs-restore-page .fs-restore-gallery .fs-restore-pair { grid-template-columns: minmax(0, 1fr); }
}
.fs-restore-page .fs-restore-gallery .fs-restore-feature { background: transparent; border: 0; padding: 0; margin: 0; }
.fs-restore-page .fs-restore-more summary { color: #783221; cursor: pointer; font-weight: 700; }
.fs-restore-page .fs-restore-more summary:focus-visible { outline: 3px solid #9A432F; outline-offset: 3px; }
.fs-restore-page .fs-restore-send > div { padding: 14px; border-radius: 10px; background: #F5ECE5; overflow-wrap: anywhere; }
.fs-restore-page .fs-restore-send h3 { color: #193249; font-size: 1.15rem; }
.fs-restore-page .fs-restore-send p { margin-bottom: 0; }
@media (max-width: 760px) {
    .fs-restore-page .fs-restore-hero { grid-template-columns: minmax(0, 1fr); }
    .fs-restore-page .fs-restore-send { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
    .fs-restore-page .fs-restore-send { grid-template-columns: minmax(0, 1fr); }
}

/* Restored photo strip, with manual scrolling on phones and when motion is reduced. */
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip {
    margin: 0 0 22px;
    padding: clamp(12px, 2vw, 20px);
    border-radius: 16px;
    background: #193249;
    color: #FBF7F1;
}
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-heading {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 8px 16px; margin-bottom: 12px;
}
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-heading h2 { margin: 0; color: inherit; font-size: 1.25rem; }
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-toggle {
    border: 1px solid #F0BCA5; border-radius: 7px; background: transparent;
    color: inherit; font-weight: 700; padding: 7px 12px; cursor: pointer;
}
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-toggle[hidden] { display: none; }
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip :is(button, .fs-restore-strip-window):focus-visible {
    outline: 2px solid #F0BCA5; outline-offset: 3px;
}
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-window { overflow-x: auto; }
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-track { display: flex; width: max-content; }
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-set {
    display: flex; gap: 10px; flex: none; margin: 0; padding: 0 10px 0 0; list-style: none;
}
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-set[aria-hidden="true"] { display: none; }
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-set li { flex: none; width: clamp(165px, 23vw, 240px); }
:is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip-set img {
    display: block; width: 100%; aspect-ratio: 4 / 3;
    object-fit: contain; background: #102137; border-radius: 8px;
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
    :is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip.is-animated .fs-restore-strip-window { overflow: hidden; }
    :is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip.is-animated .fs-restore-strip-set[aria-hidden="true"] { display: flex; }
    :is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip.is-animated .fs-restore-strip-track {
        animation: fs-restore-strip-loop 36s linear infinite;
    }
    :is(.fs-restore-page, .fs-scan-examples) .fs-restore-strip.is-paused .fs-restore-strip-track { animation-play-state: paused; }
}
@keyframes fs-restore-strip-loop { to { transform: translateX(-50%); } }
.fs-scan-examples .fs-restore-strip-set img { aspect-ratio: 3 / 2; }

/* Wider panels for the Deep Vintage test homepage. */
.fsh.fsh-deep-vintage {
    --fsh-page-gutter: clamp(16px, 2.35vw, 42px);
}
.fsh.fsh-deep-vintage .fsh-shell {
    width: min(1640px, calc(100% - 2 * var(--fsh-page-gutter)));
    max-width: none;
}
.fsh.fsh-deep-vintage .fs-home-christmas { max-width: none; }
@media (min-width: 851px) {
    .fsh.fsh-deep-vintage .fsh-order-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, min(29%, 365px));
    }
}

/* Account sign-in in the Deep Vintage palette. */
.fs-login-page.fs-deep-vintage {
    background: #FBF7F1;
    color: #2D3541;
    padding-block: clamp(16px, 4vw, 38px) 40px;
}
.fs-login-page .fs-login-hero {
    box-sizing: border-box;
    width: min(1640px, calc(100% - clamp(32px, 4.7vw, 84px)));
    margin: 0 auto 24px;
    padding: clamp(22px, 4vw, 44px) 16px;
    border-radius: 16px;
    text-align: center;
    background: var(--vintage-hero);
    color: #FBF7F1;
}
.fs-login-page .fs-login-hero h1 { color: inherit; font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0 0 10px; }
.fs-login-page .fs-login-hero p { color: inherit; margin: 0; }
.fs-login-page .login-form { border: 1px solid #DCC9BD; border-radius: 14px; background: #fff; }
.fs-login-page .login-form .card-body { padding: clamp(18px, 4vw, 30px); }
.fs-login-page .login-form h2 { color: #193249; font-size: 1.3rem; }
.fs-login-page .login-form p { color: #2D3541; }
.fs-login-page .login-form a { color: #783221; text-decoration: underline; }
.fs-login-page .login-form .btn { background: #9A432F; color: #fff; }
.fs-login-page .login-form .btn:hover { background: #783221; }
.fs-login-page .login-form :is(a, input, button):focus-visible { outline: 3px solid #9A432F; outline-offset: 2px; }
