/* ==========================================================================
   5-Piece Canvas Wall Art — section group D
   §23 advisor strip · §24 trade / B2B · §25 reviews + form
   §26 technical specifications · §28 FAQ primary · §29 FAQ deep

   Built on five-piece-canvas-v2.css. That file owns the tokens, the resets and
   the shared classes (.fpc-section, .fpc-shell, .fpc-kicker, .fpc-h2, .fpc-h3,
   .fpc-lede, .fpc-btn, .fpc-textlink, .fpc-visually-hidden) and the defences
   against the site's four global stylesheets. Nothing here duplicates it.

   EVERY selector below starts with .fpc-page. There are no bare element
   selectors and no global rules. Resets that must not outrank a component
   class are written as .fpc-page :where(el).

   TYPE
   The design's body copy runs 7-13px. Nothing here renders body text below
   14px except .fpc-kicker, which is letter-spaced uppercase. FAQ answers and
   spec-table rows are held at --fpc-fs-lg; they are the most
   readability-critical text on the page.

   The dark §24 uses .fpc-section--dark. Its three text colours were checked
   against their backgrounds: kicker #d0b27c on #292720 = 7.3:1,
   lede #c9bfae on #292720 = 8.2:1, point note #d2c8b6 on #312f27 = 8.1:1.
   ========================================================================== */


/* ==========================================================================
   §23 — DESIGNER ADVISOR STRIP
   A full-bleed band, so it sets its own padding rather than using .fpc-section.
   ========================================================================== */

.fpc-page .fpc-advisor {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px clamp(20px, 7.5vw, 116px);
    background: #e6dccb;
    border-block: 1px solid #d9c9b0;
}

.fpc-page .fpc-advisor__glyph {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 1px solid #c1a16d;
    color: #98713a;
    font-size: 20px;
    line-height: 1;
}

.fpc-page .fpc-advisor__copy {
    flex: 1 1 auto;
    min-width: 0;
}

.fpc-page .fpc-advisor__copy .fpc-h3 { margin: 4px 0; }

.fpc-page .fpc-advisor__text {
    color: #6d6456;
    font-size: var(--fpc-fs-md);
    line-height: 1.6;
}

.fpc-page .fpc-advisor__cta {
    flex: 0 0 auto;
    background: #25231e;
    border-color: #25231e;
    color: #fff7e7;
    white-space: nowrap;
}

.fpc-page .fpc-advisor__cta:hover,
.fpc-page .fpc-advisor__cta:focus-visible {
    background: #3a362d;
    border-color: #3a362d;
    color: #fff7e7;
}


/* ==========================================================================
   §24 — TRADE / B2B (dark)
   ========================================================================== */

.fpc-page .fpc-trade {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    gap: 45px;
    padding-top: 72px;
    padding-bottom: 72px;
}

.fpc-page .fpc-trade__copy { min-width: 0; }

.fpc-page .fpc-trade__lede { max-width: 440px; }

.fpc-page .fpc-trade__cta { margin-top: 18px; }

.fpc-page .fpc-trade__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.fpc-page .fpc-trade__point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 15px;
    border: 1px solid #4e493c;
    background: #312f27;
}

.fpc-page .fpc-trade__point svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #d2af75;
}

.fpc-page .fpc-trade__point > span {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.fpc-page .fpc-trade__point b {
    font-family: var(--fpc-serif);
    font-weight: 500;
    font-size: var(--fpc-fs-md);
    line-height: 1.3;
    color: #f8f1e5;
}

.fpc-page .fpc-trade__point small {
    color: #d2c8b6;
    font-size: var(--fpc-fs-sm);
    line-height: 1.6;
}


/* ==========================================================================
   §25 — REVIEWS + WRITE-A-REVIEW FORM
   ========================================================================== */

.fpc-page .fpc-reviews { padding-top: 76px; padding-bottom: 76px; }

.fpc-page .fpc-reviews__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.fpc-page .fpc-reviews__head-copy { min-width: 0; }

.fpc-page .fpc-reviews__lede { max-width: 520px; }

/* ---- rating summary: rendered only when real reviews exist ---- */

.fpc-page .fpc-reviews__summary {
    flex: 0 0 auto;
    display: grid;
    gap: 5px;
    text-align: right;
}

.fpc-page .fpc-reviews__summary > b {
    font-family: var(--fpc-serif);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.1;
}

.fpc-page .fpc-reviews__summary-stars {
    display: inline-block;
    margin-left: 4px;
    color: var(--fpc-gold);
    font-family: var(--fpc-sans);
    font-size: var(--fpc-fs-md);
    letter-spacing: 1px;
}

.fpc-page .fpc-reviews__summary > small {
    color: #7f7464;
    font-size: var(--fpc-fs-xs);
    line-height: 1.5;
}

/* ---- cards ---- */

.fpc-page .fpc-reviews__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
}

.fpc-page .fpc-reviews__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    background: var(--fpc-paper-2);
    border: 1px solid #e5ddd1;
}

.fpc-page .fpc-reviews__card-stars {
    color: var(--fpc-gold);
    font-size: var(--fpc-fs-md);
    letter-spacing: 1px;
    line-height: 1;
}

.fpc-page .fpc-reviews__card-quote {
    flex: 1 1 auto;
    color: #5f5649;
    font-family: var(--fpc-serif);
    font-style: italic;
    font-size: var(--fpc-fs-lg);
    line-height: 1.7;
}

.fpc-page .fpc-reviews__card-meta {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.fpc-page .fpc-reviews__card-meta b {
    font-size: var(--fpc-fs-md);
    font-weight: 600;
}

.fpc-page .fpc-reviews__card-meta small {
    color: #857a69;
    font-size: var(--fpc-fs-xs);
    line-height: 1.5;
}

/* ---- write-a-review block ---- */

.fpc-page .fpc-reviews__write {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
    gap: 28px;
    margin-top: 24px;
    padding: 24px;
    background: var(--fpc-sand);
    border: 1px solid #e0d2bd;
}

.fpc-page .fpc-reviews__write-copy { min-width: 0; }

.fpc-page .fpc-reviews__write-copy .fpc-h3 { margin: 6px 0; }

.fpc-page .fpc-reviews__write-lede {
    color: #6f6557;
    font-size: var(--fpc-fs-md);
    line-height: 1.65;
}

/* ---- the form itself ----
   Every control is styled through an explicit component class so the
   foundation's :where() resets can never outrank these rules. */

.fpc-page .fpc-revform {
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
}

.fpc-page .fpc-revform__field {
    display: grid;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.fpc-page .fpc-revform__label {
    display: block;
    padding: 0;
    color: #5f5443;
    font-family: var(--fpc-sans);
    font-size: var(--fpc-fs-md);
    font-weight: 600;
    line-height: 1.4;
}

.fpc-page .fpc-revform__input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    border: 1px solid #ddd0bd;
    border-radius: 0;
    background: var(--fpc-paper-2);
    color: #3f382e;
    font-family: var(--fpc-sans);
    font-size: var(--fpc-fs-lg);
    line-height: 1.5;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease, background .2s ease;
}

.fpc-page .fpc-revform__input::placeholder { color: #9c9183; opacity: 1; }

.fpc-page .fpc-revform__input:hover { border-color: #c9b795; }

.fpc-page .fpc-revform__textarea {
    min-height: 112px;
    resize: vertical;
}

/* ---- star rating: five real radios, no JS, no dead controls ----
   The radios are in DOM order 5 -> 1 and the row is reversed, so they read
   1 -> 5 left to right while `input:checked ~ label` can still fill every
   star at or below the chosen value. */

.fpc-page .fpc-revform__stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2px;
}

.fpc-page .fpc-revform__star {
    display: grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    color: #cdc1ae;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: color .15s ease;
}

.fpc-page .fpc-revform__star-input:checked + .fpc-revform__star,
.fpc-page .fpc-revform__star-input:checked ~ .fpc-revform__star { color: var(--fpc-gold); }

/* mobile.css strips focus outlines, so this must not sit in :where() */
.fpc-page .fpc-revform__star-input:focus-visible + .fpc-revform__star {
    outline: 3px solid #bd9657;
    outline-offset: 2px;
}

.fpc-page .fpc-revform__submit { justify-self: start; }

.fpc-page .fpc-revform__submit[disabled] { opacity: .6; cursor: wait; }

.fpc-page .fpc-revform__status:empty { display: none; }

.fpc-page .fpc-revform__status {
    padding: 11px 13px;
    background: #e8f0e2;
    border: 1px solid #cfdfc5;
    color: #42603a;
    font-size: var(--fpc-fs-md);
    line-height: 1.5;
}

.fpc-page .fpc-revform__status.is-error {
    background: #f8e7e2;
    border-color: #e2c3b9;
    color: #8a3c27;
}

.fpc-page .fpc-revform__note {
    color: #7d7263;
    font-size: var(--fpc-fs-xs);
    line-height: 1.55;
}


/* ==========================================================================
   §26 — TECHNICAL SPECIFICATIONS
   ========================================================================== */

.fpc-page .fpc-tech {
    display: grid;
    grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
    gap: 40px;
    padding-top: 72px;
    padding-bottom: 72px;
    background: #f4eee4;
}

.fpc-page .fpc-tech__copy { min-width: 0; }

.fpc-page .fpc-tech__lede { max-width: 380px; }

.fpc-page .fpc-tech__table {
    margin: 0;
    padding: 0;
    min-width: 0;
    border-top: 1px solid #d9cdbb;
}

.fpc-page .fpc-tech__row {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #d9cdbb;
}

.fpc-page .fpc-tech__label,
.fpc-page .fpc-tech__value {
    margin: 0;
    padding: 0;
    min-width: 0;
    font-size: var(--fpc-fs-lg);
    line-height: 1.55;
}

.fpc-page .fpc-tech__label { color: #54462f; font-weight: 600; }
.fpc-page .fpc-tech__value { color: #6f6454; }


/* ==========================================================================
   §28 + §29 — FAQ
   One component. .fpc-faq--deep is §29: tinted band, top hairline, no lede
   and no contact link.
   ========================================================================== */

.fpc-page .fpc-faq {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
    gap: clamp(35px, 7vw, 100px);
    padding-top: 82px;
    padding-bottom: 82px;
    background: #fbfaf7;
}

.fpc-page .fpc-faq--deep {
    grid-template-columns: minmax(0, .65fr) minmax(0, 1fr);
    gap: 45px;
    padding-top: 70px;
    padding-bottom: 70px;
    background: #f6f2ea;
    border-top: 1px solid #e3dacd;
}

.fpc-page .fpc-faq__copy { min-width: 0; }

.fpc-page .fpc-faq__lede { max-width: 320px; }

.fpc-page .fpc-faq__contact { margin-top: 10px; }

.fpc-page .fpc-faq__list {
    min-width: 0;
    border-top: 1px solid #e6ded1;
}

.fpc-page .fpc-faq--deep .fpc-faq__list { border-top-color: #e2d8c9; }

.fpc-page .fpc-faq__item { border-bottom: 1px solid #e6ded1; }

.fpc-page .fpc-faq--deep .fpc-faq__item { border-bottom-color: #e2d8c9; }

.fpc-page .fpc-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 54px;
    padding: 15px 0;
    list-style: none;
    cursor: pointer;
    font-family: var(--fpc-serif);
    font-weight: 500;
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.35;
}

.fpc-page .fpc-faq__q::-webkit-details-marker { display: none; }
.fpc-page .fpc-faq__q::marker { content: ''; }

.fpc-page .fpc-faq__q > span { min-width: 0; }

.fpc-page .fpc-faq__sign {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 1px solid #e4d7c1;
    background: transparent;
    color: #9d7740;
    font-family: var(--fpc-sans);
    font-size: var(--fpc-fs-lg);
    font-weight: 400;
    line-height: 1;
    transition: background .2s ease;
}

/* The design declares this for §28 only; mirrored to §29 so both blocks
   behave the same. The glyph itself stays "+" in both states, as designed. */
.fpc-page .fpc-faq__item[open] .fpc-faq__sign { background: #e9ddc7; }

.fpc-page .fpc-faq__a {
    margin: -2px 28px 18px 0;
    color: #6e6557;
    font-size: var(--fpc-fs-lg);
    line-height: 1.8;
}


/* ==========================================================================
   RESPONSIVE
   Every grid collapses before it can overflow; the spec table and the FAQ are
   checked down to 320px.
   ========================================================================== */

@media (max-width: 1100px) {
    .fpc-page .fpc-reviews__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .fpc-page .fpc-trade,
    .fpc-page .fpc-tech {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .fpc-page .fpc-faq,
    .fpc-page .fpc-faq--deep {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .fpc-page .fpc-trade__lede,
    .fpc-page .fpc-tech__lede,
    .fpc-page .fpc-faq__lede,
    .fpc-page .fpc-reviews__lede { max-width: 100%; }

    .fpc-page .fpc-reviews__write { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 767px) {
    /* §23 stacks: the 48px glyph would otherwise squeeze the copy. */
    .fpc-page .fpc-advisor {
        flex-wrap: wrap;
        gap: 14px;
        padding: 26px 20px;
    }
    .fpc-page .fpc-advisor__copy { flex-basis: 100%; }
    .fpc-page .fpc-advisor__cta { width: 100%; white-space: normal; }

    .fpc-page .fpc-trade { padding-top: 48px; padding-bottom: 48px; }
    .fpc-page .fpc-trade__points { grid-template-columns: minmax(0, 1fr); }

    .fpc-page .fpc-reviews { padding-top: 48px; padding-bottom: 48px; }
    .fpc-page .fpc-reviews__head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .fpc-page .fpc-reviews__summary { text-align: left; }
    .fpc-page .fpc-reviews__cards { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
    .fpc-page .fpc-reviews__write { padding: 20px; }
    .fpc-page .fpc-revform__submit { justify-self: stretch; }

    /* §26 stacks to label row + value row so it cannot overflow at 320px. */
    .fpc-page .fpc-tech { padding-top: 48px; padding-bottom: 48px; }
    .fpc-page .fpc-tech__row {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        padding: 14px 0;
    }
    .fpc-page .fpc-tech__label { font-size: var(--fpc-fs-md); }

    .fpc-page .fpc-faq,
    .fpc-page .fpc-faq--deep { padding-top: 48px; padding-bottom: 48px; }
    .fpc-page .fpc-faq__q { gap: 12px; font-size: var(--fpc-fs-lg); }
    .fpc-page .fpc-faq__a { margin-right: 0; }
}

@media (max-width: 400px) {
    .fpc-page .fpc-advisor { padding-left: 15px; padding-right: 15px; }
    .fpc-page .fpc-reviews__write { padding: 16px; }
    .fpc-page .fpc-revform__stars { gap: 0; }
    .fpc-page .fpc-revform__star { min-width: 44px; font-size: 24px; }
    .fpc-page .fpc-faq__q { min-height: 48px; }
}

/* The foundation already neutralises motion globally; these two are declared
   again so this file stands on its own if it is ever loaded without it. */
@media (prefers-reduced-motion: reduce) {
    .fpc-page .fpc-revform__input,
    .fpc-page .fpc-revform__star,
    .fpc-page .fpc-faq__sign,
    .fpc-page .fpc-advisor__cta { transition-duration: .01ms; }
}
