:root {
    --ink: #111;
    --paper: #f7f6f1;
    --white: #fff;
    --muted: #686761;
    --line: #d9d7cf;
    --yellow: #ffef5a;
    --red: #e5362c;
    --blue: #b9dfff;
    --green: #cce8ce;
    --control-border: #77756d;
    --max: 1180px;
    --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.48;
    -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, h4 { margin-top: 0; }

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

::selection { background: var(--yellow); color: var(--ink); }

.wrap {
    width: min(calc(100% - 32px), var(--max));
    margin-inline: auto;
}

.narrow-wrap { max-width: 790px; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    transform: translateY(-150%);
    background: var(--ink);
    color: var(--white);
    padding: 10px 14px;
    font-weight: 850;
    text-decoration: none;
}

.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247, 246, 241, .96);
    border-bottom: 1px solid var(--line);
}

.nav {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand, .footer-brand {
    color: var(--ink);
    font-weight: 950;
    font-size: 1.55rem;
    letter-spacing: -.06em;
    text-decoration: none;
    line-height: 1;
}

.brand .dot { color: var(--red); }

.navlinks {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: .92rem;
    font-weight: 825;
}

.navlinks a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.navlinks a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 3px; }

.nav-cta {
    background: var(--ink);
    color: var(--white);
    padding: 11px 16px;
    border-radius: var(--radius);
}

.basket-link { min-width: 76px; display: inline-flex; align-items: center; gap: 7px; }
.orders-link { white-space: nowrap; }

.basket-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: var(--yellow);
    font-size: .72rem;
    line-height: 1;
}

.basket-count[hidden] { display: none; }

.development-toast {
    position: fixed;
    top: 88px;
    right: 22px;
    z-index: 90;
    width: min(350px, calc(100vw - 32px));
    display: flex;
    align-items: start;
    gap: 11px;
    padding: 14px 16px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    color: var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    pointer-events: none;
    animation: development-toast-in .28s ease-out both;
}

.development-toast > span:last-child { display: grid; gap: 1px; }
.development-toast strong { font-size: .93rem; line-height: 1.25; }
.development-toast span span { font-size: .84rem; }
.development-toast-mark { color: var(--red); font-size: .8rem; line-height: 1.6; }

@keyframes development-toast-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

.section, .page-hero, .hero {
    border-bottom: 1px solid var(--line);
}

.section { padding: 82px 0; }

.hero { padding: 72px 0 62px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.hero-kicker, .kicker {
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.hero-kicker { margin-bottom: 18px; }
.kicker { color: var(--muted); margin-bottom: 14px; }

h1 {
    font-size: clamp(3.4rem, 7.2vw, 7.4rem);
    line-height: .88;
    letter-spacing: -.075em;
    margin-bottom: 28px;
}

h2 {
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: .93;
    letter-spacing: -.065em;
    max-width: 890px;
    margin-bottom: 22px;
}

h3 { line-height: 1.1; letter-spacing: -.025em; }
h1:focus { outline: none; }

.price-line {
    display: inline-block;
    border-bottom: 8px solid var(--yellow);
    line-height: .8;
}

.hero-copy {
    max-width: 650px;
    font-size: clamp(1.12rem, 2vw, 1.4rem);
    margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-note { color: var(--muted); font-size: .86rem; margin-bottom: 0; }

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-weight: 950;
    line-height: 1.1;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--yellow); }
.btn-secondary:hover:not(:disabled) { background: var(--white); }
.btn:active:not(:disabled) { transform: none; box-shadow: none; }
.btn-danger { color: #a72018; border-color: #a72018; }
.btn-small { min-height: 44px; padding: 0 13px; font-size: .85rem; }
.btn:disabled { opacity: .58; cursor: wait; }

.text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-weight: 900;
    text-underline-offset: 4px;
}

.lead { max-width: 730px; font-size: 1.14rem; color: #34332f; margin-bottom: 40px; }

.hero-stage {
    width: 100%;
    max-width: 560px;
    min-height: 510px;
    justify-self: end;
}

.card-artwork {
    width: 100%;
    height: auto;
    aspect-ratio: 105 / 148;
    display: block;
    overflow: hidden;
    border: 1px solid #cbc7ba;
    background: var(--white);
}

.card-artwork-inside {
    aspect-ratio: 214 / 154;
    border: 0;
    background: transparent;
}

.hero-showcase {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    background: #e9e6dc;
    border: 2px solid var(--ink);
    box-shadow: 10px 10px 0 var(--ink);
}

.hero-card-stack {
    position: absolute;
    inset: 24px 14px 84px;
}

.hero-stack-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(54%, 270px);
    box-shadow: 10px 13px 0 rgba(17, 17, 17, .12);
    transform-origin: 50% 72%;
}

.hero-stack-card-left {
    z-index: 1;
    transform: translate(-76%, -49%) rotate(-9deg);
}

.hero-stack-card-right {
    z-index: 2;
    transform: translate(-24%, -49%) rotate(9deg);
}

.hero-stack-card-front {
    z-index: 3;
    transform: translate(-50%, -50%) rotate(-1deg);
    box-shadow: 13px 16px 0 rgba(17, 17, 17, .17);
}

.hero-price-rail {
    position: absolute;
    inset: auto 0 0;
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    background: var(--yellow);
    border-top: 2px solid var(--ink);
    color: var(--ink);
}

.hero-price-rail strong {
    display: grid;
    place-items: center;
    padding: 8px 22px 6px;
    border-right: 2px solid var(--ink);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.hero-price-rail span {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1.25;
    text-transform: uppercase;
}

.usp-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { padding: 20px; border-right: 1px solid var(--line); }
.usp:last-child { border-right: 0; }
.usp b { display: block; margin-bottom: 4px; }
.usp span { color: var(--muted); font-size: .87rem; }

.section-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: end;
    margin-bottom: 40px;
}

.section-heading-row .lead { margin-bottom: 0; }

.design-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.product {
    min-width: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    transition: transform .14s ease, box-shadow .14s ease;
}

.product-art { transition: transform .18s ease; }
.product:focus-visible { outline: 4px solid var(--red); outline-offset: 3px; }
.product:active { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, .06); }

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    padding: 13px 2px 2px;
    font-size: .88rem;
    font-weight: 850;
}

.product-meta > span:first-child { min-width: 0; }
.product-meta strong, .product-meta small { display: block; }
.product-meta small { margin-top: 2px; color: var(--muted); font-size: .74rem; font-weight: 650; }
.product-meta > span:last-child { white-space: nowrap; }

.comparison-intro, .quality-grid, .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.comparison-intro { align-items: end; margin-bottom: 38px; }
.comparison-intro .lead { margin-bottom: 0; }

.plain-comparison { background: var(--white); }
.comparison-box { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 18px; }

.comparison-side {
    border: 2px solid var(--ink);
    padding: 30px;
    background: var(--white);
    display: flex;
    flex-direction: column;
}

.comparison-side.ours { background: var(--yellow); }
.comparison-label { margin-bottom: 24px; color: var(--muted); font-size: .76rem; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.comparison-price { margin-bottom: 18px; font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 950; letter-spacing: -.07em; line-height: .9; }
.comparison-side h3 { margin-bottom: 18px; font-size: 1.2rem; }
.comparison-vs { display: grid; place-items: center; color: var(--muted); font-size: .75rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }

.tick-list { list-style: none; margin: 0 0 26px; padding: 0; }
.tick-list li { padding: 9px 0; border-bottom: 1px solid rgba(17, 17, 17, .15); }
.tick-list li:last-child { border-bottom: 0; }
.comparison-footnote { margin-top: 18px; color: var(--muted); font-size: .8rem; }
.comparison-footnote a { font-weight: 850; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.step {
    min-height: 190px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
}

.step-num { margin-bottom: 34px; color: var(--muted); font-size: .76rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.step h3 { margin-bottom: 8px; font-size: 1.4rem; }
.step p { margin-bottom: 0; color: #4e4d49; }

.about { background: var(--ink); color: var(--white); }
.about .kicker { color: #aaa; }
.about p { max-width: 670px; color: #d1d1d1; font-size: 1.08rem; }
.simple-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #3a3a3a; }
.simple-list li { padding: 16px 0; border-bottom: 1px solid #3a3a3a; font-weight: 850; }
.simple-list li::before { content: "—"; margin-right: 14px; color: var(--yellow); }

.quality-grid { align-items: center; }
.quality-card { padding: 28px; background: var(--white); border: 1px solid var(--line); box-shadow: 10px 10px 0 #ded9ca; }
.quality-row { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quality-row:last-child { border-bottom: 0; }
.quality-row span:first-child { font-weight: 850; }
.quality-row span:last-child { color: var(--muted); text-align: right; }

.faq { max-width: 840px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font-size: 1.1rem; font-weight: 900; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 740px; padding: 0 4px 20px; color: #444; }

.cta { padding: 92px 0; background: var(--yellow); text-align: center; }
.cta h2 { margin-inline: auto; }
.cta p { margin-bottom: 28px; font-size: 1.14rem; }

.site-footer { padding: 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 30px; }
.footer-brand { display: inline-block; margin-bottom: 8px; }
.footer-copy { max-width: 340px; color: var(--muted); font-size: .88rem; }
.footer-company { max-width: 390px; margin: 18px 0 0; color: var(--muted); font-size: .78rem; font-style: normal; line-height: 1.6; }
.footer-company strong { color: var(--ink); }
.footer-company a { color: inherit; overflow-wrap: anywhere; }
.footer-col b { display: block; margin-bottom: 11px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { min-height: 44px; display: flex; align-items: center; color: #444; font-size: .9rem; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

.page-hero { padding: 76px 0 64px; }
.page-hero.compact h1 { max-width: 960px; font-size: clamp(3.25rem, 7vw, 6.5rem); }
.page-hero .lead { margin-bottom: 0; }
.catalogue-section { padding-top: 34px; }
.catalogue-note { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.catalogue-note span { color: var(--muted); }
.catalogue-note > div span { display: block; margin-top: 4px; font-size: .9rem; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.delivery-estimate-note { display: grid; gap: 3px; margin: 16px 0; padding: 13px 15px; border-left: 4px solid var(--yellow); background: var(--white); font-size: .9rem; line-height: 1.45; }
.delivery-estimate-note span { color: #45443f; }
.hero-delivery-estimate { max-width: 520px; margin-top: 18px; background: transparent; }
.catalogue-delivery-estimate { margin: -12px 0 28px; }
.thank-you-delivery-estimate { margin: 24px auto; text-align: left; }
.catalogue-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-hero { background: var(--white); }
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 46px; margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.045em; }
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 720px; }
.prose ul,
.prose ol { max-width: 720px; padding-left: 1.4rem; }
.prose li + li { margin-top: .65rem; }
.legal-updated { margin-top: 18px; color: var(--muted); font-size: .86rem; }
.legal-table-wrap { max-width: 100%; margin: 20px 0 30px; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.legal-table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .92rem; line-height: 1.5; }
.legal-table th,
.legal-table td { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { background: #eeece4; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th:last-child,
.legal-table td:last-child { border-right: 0; }
.legal-table code { white-space: normal; overflow-wrap: anywhere; }
.legal-callout { max-width: 760px; margin: 28px 0; padding: 18px 20px; border-left: 5px solid var(--yellow); background: var(--white); }
.legal-callout p:last-child { margin-bottom: 0; }
.legal-callout-strong { border-left-color: var(--red); background: #fff4f2; }
.business-address { max-width: 720px; margin: 22px 0; padding: 20px; border: 1px solid var(--line); background: var(--white); font-style: normal; line-height: 1.65; }
.contact-email { max-width: 100%; font-size: clamp(1.6rem, 5vw, 3.2rem); font-weight: 950; letter-spacing: -.045em; overflow-wrap: anywhere; }
.info-back { margin-top: 54px; }

/* Personaliser */
.editor-page { border-bottom: 1px solid var(--line); }
.editor-topbar { padding: 24px 0; border-bottom: 1px solid var(--line); }
.editor-topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.editor-topbar .text-link { flex: 0 0 auto; white-space: nowrap; }
.editor-topbar p { margin: 0; color: var(--muted); }
.editor-topbar strong { color: var(--ink); }
.editor-topbar-summary { max-width: 520px; display: grid; justify-items: end; text-align: right; }
.editor-delivery-estimate { margin: 8px 0 0; padding: 8px 11px; text-align: left; }

.editor-grid {
    display: grid;
    grid-template-columns: minmax(340px, 1fr) minmax(390px, 530px);
    min-height: 720px;
}

.preview-pane { padding: 44px max(24px, 5vw); background: #eeece4; border-right: 1px solid var(--line); }
.preview-sticky { position: sticky; top: 102px; max-width: 680px; margin-inline: auto; }
.preview-tabs { display: flex; justify-content: center; gap: 7px; margin-bottom: 22px; }
.tab-button { min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); background: transparent; font-weight: 850; transition: background .14s ease, color .14s ease, transform .14s ease; }
.tab-button.active { background: var(--ink); color: var(--white); }
.tab-button:active { transform: translateY(1px); }
.preview-frame { display: grid; place-items: center; }
.editor-preview-card { width: min(100%, 390px); margin-inline: auto; box-shadow: 16px 18px 0 rgba(17, 17, 17, .12); }
.editor-preview-card.card-artwork-inside { width: min(100%, 680px); box-shadow: none; }
.preview-fit-summary { max-width: 520px; margin: 24px auto 0; font-size: .86rem; font-weight: 850; text-align: center; }
.preview-fit-summary.fit-pending { color: var(--muted); }
.preview-fit-summary.fit-ok { color: #315f35; }
.preview-fit-summary.fit-warning { color: #922018; }

.editor-panel { padding: 42px clamp(22px, 4vw, 54px) 48px; background: var(--paper); }
.editor-panel h1 { margin-bottom: 10px; font-size: clamp(2.7rem, 5vw, 4.6rem); }
.editor-notice { margin: 18px 0; padding: 14px 15px; border-left: 5px solid var(--ink); background: var(--white); font-size: .92rem; font-weight: 750; line-height: 1.5; }
.editor-notice-error { border-left-color: #a72018; background: #fff4f2; }
.draft-save-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 44px; margin: 15px 0 2px; color: var(--muted); font-size: .83rem; font-weight: 750; }
.draft-save-mark { width: 23px; height: 23px; display: inline-grid; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #315f35; font-size: .72rem; }
.draft-save-mark[data-state="disabled"] { color: var(--muted); }
.draft-save-mark[data-state="error"] { color: #a72018; }
.draft-save-copy { flex: 1 1 230px; line-height: 1.45; }
.draft-save-toggle { min-height: 44px; margin-left: auto; padding: 6px 2px; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 850; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.draft-save-toggle:disabled { color: var(--muted); cursor: not-allowed; text-decoration: none; }
#draft-save-status[data-state="saving"] { color: var(--muted); }
#draft-save-status[data-state="saved"] { color: #315f35; }
#draft-save-status[data-state="disabled"] { color: var(--muted); }
#draft-save-status[data-state="error"] { color: #a72018; }
.editor-fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.control-section { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.control-heading { display: flex; gap: 12px; align-items: baseline; margin-bottom: 22px; }
.control-heading span { color: var(--muted); font-size: .76rem; font-weight: 950; letter-spacing: .08em; }
.control-heading h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label, .field-label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: .88rem; font-weight: 850; }
.field-help, .character-count { color: var(--muted); font-size: .84rem; font-weight: 650; }
.input, .field input:not([type="range"]):not([type="radio"]), .field textarea, .field select {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid var(--control-border);
    border-radius: 2px;
    background: var(--white);
    color: var(--ink);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 0; }
.field input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--ink); cursor: pointer; }
.range-row { display: grid; grid-template-columns: 1fr 50px; gap: 12px; align-items: center; }
.range-value { padding: 7px; background: var(--white); border: 1px solid var(--line); font-size: .83rem; font-weight: 850; text-align: center; }
.fit-check { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; gap: 9px; align-items: center; margin-top: -4px; padding: 10px 11px; border: 1px solid var(--line); background: var(--white); font-size: .82rem; font-weight: 750; line-height: 1.35; }
.fit-check-mark { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .75rem; font-weight: 950; }
.fit-check.fit-pending { color: var(--muted); }
.fit-check.fit-ok { border-color: #8ca78d; background: #edf8ee; color: #315f35; }
.fit-check.fit-warning { border-color: #cf8e89; background: #fff4f2; color: #922018; }
.fit-fix-button { min-height: 38px; padding: 0 10px; border: 1px solid currentColor; background: var(--white); color: inherit; font: inherit; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fit-fix-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.validation-message, .validation-summary-errors { color: #a72018; font-size: .83rem; font-weight: 750; }
.validation-summary-errors { margin-bottom: 20px; padding: 14px 14px 8px; border: 1px solid #a72018; background: #fff4f2; }
.validation-summary-errors ul { margin: 6px 0; padding-left: 20px; }
.validation-summary-errors:focus { outline: 3px solid var(--red); outline-offset: 3px; }
.valid.modified:not([type=checkbox]) { border-color: #49804d; }
.invalid { border-color: #a72018 !important; }

.editor-actions { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.editor-actions .btn { width: 100%; }
.status-message { margin-top: 14px; padding: 12px; border: 1px solid #8ca78d; background: #edf8ee; font-weight: 750; }
.status-message-error { border-color: #cf8e89; background: #fff4f2; color: #922018; }
.saved-recipient-picker { margin-bottom: 26px; padding: 18px; border: 2px solid var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--yellow); }
.saved-recipient-picker h3, .recipient-entry-heading h3 { margin-bottom: 7px; font-size: 1.15rem; letter-spacing: -.02em; }
.saved-recipient-picker-heading { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.saved-recipient-picker-heading p { margin: 0; color: #45443f; font-size: .94rem; }
.saved-recipient-picker-heading .btn { flex: 0 0 auto; }
.saved-recipient-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.saved-recipient-option {
    width: 100%;
    min-height: 92px;
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 2px solid var(--control-border);
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .14s ease, background .14s ease, transform .14s ease;
}
.saved-recipient-option:hover { border-color: var(--ink); }
.saved-recipient-option:focus-visible { border-color: var(--ink); outline: 4px solid var(--yellow); outline-offset: 2px; }
.saved-recipient-option.selected { border-color: var(--ink); background: #edf8ee; }
.saved-recipient-name { font-size: 1.08rem; font-weight: 950; }
.saved-recipient-latest { width: fit-content; padding: 2px 7px; border: 1px solid #49804d; background: #edf8ee; color: #315f35; font-size: .7rem; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.saved-recipient-latest.saved-recipient-older { border-color: #aaa79e; background: #ecebe6; color: #57564f; }
.saved-recipient-address { font-size: .94rem; line-height: 1.45; overflow-wrap: anywhere; }
.saved-recipient-used { color: var(--muted); font-size: .78rem; font-weight: 750; }
.saved-recipient-action { margin-top: 3px; font-size: .86rem; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.recipient-entry-heading { margin: 28px 0 20px; }
.saved-recipient-confirmation { margin: 8px 0 0; color: #315f35; font-size: .92rem; font-weight: 800; }
.editor-fit-probes { position: fixed; top: 0; left: -10000px; visibility: hidden; pointer-events: none; }
.editor-fit-probe-front { width: 390px; }
.editor-fit-probe-inside { width: 680px; }
.mobile-preview-trigger { display: none; }
.mobile-preview-dialog { width: min(720px, calc(100% - 24px)); max-width: 720px; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 2px solid var(--ink); background: #eeece4; color: var(--ink); box-shadow: 9px 9px 0 rgba(17, 17, 17, .3); }
.mobile-preview-dialog::backdrop { background: rgba(17, 17, 17, .72); }
.mobile-preview-sheet { padding: 18px; }
.mobile-preview-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.mobile-preview-header h2 { margin: 0; font-size: 1.8rem; }
.mobile-preview-close { width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.mobile-preview-close:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; }
.mobile-preview-frame { min-height: 280px; display: grid; place-items: center; }
.mobile-preview-card { width: min(46vw, 290px); max-height: 56dvh; }
.mobile-preview-card.card-artwork-inside { width: min(100%, 650px); }

/* Basket and checkout */
.basket-section { min-height: 560px; }
.basket-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 38px; align-items: start; }
.basket-list { display: grid; gap: 16px; }
.basket-list-toolbar, .basket-bottom-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.basket-list-toolbar { padding: 14px 16px; border: 1px solid var(--line); background: var(--white); }
.basket-list-toolbar div { display: grid; gap: 2px; }
.basket-list-toolbar span { color: var(--muted); font-size: .84rem; }
.basket-item { min-width: 0; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.basket-item-header { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.basket-item-header .kicker { margin-bottom: 7px; }
.basket-item h2 { margin-bottom: 5px; font-size: 1.45rem; letter-spacing: -.035em; }
.basket-item-price { font-weight: 950; white-space: nowrap; }
.basket-item-meta { color: var(--muted); font-size: .85rem; }
.basket-proof-previews { display: grid; grid-template-columns: minmax(110px, 160px) minmax(230px, 1fr); gap: 22px; align-items: center; padding: 20px; background: #eeece4; }
.basket-proof-previews figure { min-width: 0; margin: 0; }
.basket-proof-front .card-artwork { width: min(100%, 150px); margin-inline: auto; box-shadow: 7px 8px 0 rgba(17, 17, 17, .1); }
.basket-proof-inside .card-artwork { width: 100%; }
.basket-proof-previews figcaption { margin-top: 9px; color: var(--muted); font-size: .7rem; font-weight: 950; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.basket-proof-information { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(210px, .85fr); gap: 14px; margin-top: 14px; }
.basket-proof-information > section { min-width: 0; padding: 17px; border: 1px solid var(--line); background: var(--paper); }
.basket-proof-information h3 { margin-bottom: 13px; font-size: 1rem; }
.basket-proof-wording dl { margin: 0; }
.basket-proof-wording dl > div { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.basket-proof-wording dl > div:first-child { padding-top: 0; }
.basket-proof-wording dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.basket-proof-wording dt { color: var(--muted); font-size: .75rem; font-weight: 900; }
.basket-proof-wording dd { min-width: 0; margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.basket-envelope-proof address { display: grid; gap: 3px; padding: 15px; border: 1px dashed #a5a198; background: var(--white); font-size: .91rem; font-style: normal; overflow-wrap: anywhere; }
.basket-envelope-proof address strong { margin-bottom: 4px; }
.basket-proof-warnings { margin-top: 14px; padding: 13px 15px; border-left: 5px solid #b36b00; background: #fff3d6; font-size: .88rem; }
.basket-proof-warnings ul { margin: 6px 0 0; padding-left: 20px; }
.basket-address-reuse { margin-top: 14px; padding: 0 15px; border: 1px solid var(--line); background: var(--paper); }
.basket-address-reuse summary { min-height: 46px; display: flex; align-items: center; font-size: .86rem; font-weight: 900; cursor: pointer; }
.basket-address-reuse summary::marker { color: var(--muted); }
.basket-address-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; padding: 0 0 15px; }
.basket-address-option { min-width: 0; display: grid; gap: 3px; padding: 11px 12px; border: 1px solid var(--control-border); background: var(--white); color: var(--ink); text-align: left; }
.basket-address-option:hover { border-color: var(--ink); background: #fffef3; }
.basket-address-option span { color: var(--muted); font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; }
.basket-item-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.basket-item > .basket-item-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.basket-item-actions .btn:disabled { cursor: not-allowed; }
.basket-bottom-actions { align-items: flex-start; padding: 8px 0; }
.link-button { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 2px; border: 0; background: none; color: var(--ink); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.link-button.danger { color: #a72018; }
.basket-undo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 13px 15px; border: 2px solid var(--ink); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.basket-undo > span { flex: 1 1 auto; }
.basket-undo-dismiss { width: 44px; height: 44px; flex: 0 0 auto; border: 0; background: transparent; color: var(--ink); font-size: 1.55rem; line-height: 1; }
.basket-action-message { margin-bottom: 16px; padding: 13px 15px; border-left: 5px solid #49804d; background: #edf8ee; font-weight: 800; }
.basket-action-error { margin-bottom: 16px; padding-bottom: 14px; }

.summary-card { position: sticky; top: 96px; padding: 24px; background: var(--white); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.summary-card h2 { font-size: 1.7rem; letter-spacing: -.04em; }
.summary-line { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-total { margin-top: 8px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 1.25rem; font-weight: 950; }
.basket-delivery-estimate { margin: 16px 0 0; background: var(--paper); }
.summary-card .btn { width: 100%; margin-top: 20px; }
.checkout-email-field { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.checkout-email-field .field-help { margin-top: 7px; }
.checkout-terms { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 18px 0 0; color: #444; font-size: .84rem; line-height: 1.5; }
.checkout-terms input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.checkout-terms label { font-weight: 750; cursor: pointer; }
.checkout-terms a { font-weight: 800; }
.checkout-closed-message { display: grid; gap: 4px; margin: 22px 0 18px; padding: 14px; border-left: 5px solid var(--red); background: #fff4f2; }
.checkout-closed-message span { color: #4e4d49; font-size: .88rem; }
.order-terms-note { margin: 14px 0 22px; color: var(--muted); font-size: .86rem; }
.empty-state { max-width: 720px; padding: 48px; border: 2px solid var(--ink); background: var(--white); box-shadow: 10px 10px 0 var(--yellow); }
.empty-state h2 { font-size: 2.6rem; }
.empty-state p { margin-bottom: 26px; color: var(--muted); font-size: 1.05rem; }
.loading-state { min-height: 260px; display: grid; place-items: center; color: var(--muted); font-weight: 800; }

.success-mark { width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 28px; border: 3px solid var(--ink); border-radius: 50%; background: var(--green); font-size: 2rem; font-weight: 950; }
.order-reference { max-width: 100%; display: inline-block; margin: 10px 0 26px; padding: 9px 12px; background: var(--white); border: 1px solid var(--line); font-family: ui-monospace, monospace; overflow-wrap: anywhere; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Customer order access */
.customer-orders-section { min-height: 58vh; }
.page-hero .lead strong { overflow-wrap: anywhere; }
.customer-access-card { padding: clamp(24px, 5vw, 42px); background: var(--white); border: 2px solid var(--ink); box-shadow: 9px 9px 0 var(--yellow); }
.customer-access-form { max-width: 520px; }
.customer-access-form .btn { width: 100%; }
.customer-access-message { display: grid; gap: 3px; margin-bottom: 24px; padding: 15px; border-left: 5px solid var(--ink); background: var(--paper); }
.customer-access-message.success-message { border-left-color: #49804d; background: #edf8ee; }
.customer-access-message.error-message { border-left-color: #a72018; background: #fff4f2; }
.customer-access-help { margin: 18px 0 0; color: var(--muted); font-size: .84rem; }
.customer-orders-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; color: var(--muted); font-size: .86rem; font-weight: 800; }
.customer-order-list { display: grid; gap: 14px; }
.customer-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 22px; background: var(--white); border: 1px solid var(--line); }
.customer-order-row h2 { margin-bottom: 8px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1rem, 2.4vw, 1.3rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.customer-order-row h2 a { text-underline-offset: 4px; }
.customer-order-row p { margin: 0; color: var(--muted); }
.customer-order-totals { min-width: 110px; display: grid; align-content: start; justify-items: end; gap: 3px; text-align: right; }
.customer-order-totals span { color: var(--muted); }
.customer-order-totals .text-link { margin-top: 10px; }
.customer-saved-addresses { display: grid; gap: 20px; margin-top: 42px; padding-top: 36px; border-top: 2px solid var(--ink); }
.customer-saved-addresses > div:first-child p { max-width: 680px; margin: 0; color: var(--muted); }
.customer-saved-address-list { display: grid; gap: 10px; }
.customer-saved-address { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 19px; background: var(--white); border: 1px solid var(--line); }
.customer-saved-address p { margin: 5px 0 3px; color: #45443f; overflow-wrap: anywhere; }
.customer-saved-address small { color: var(--muted); }
.saved-address-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.saved-address-cue { padding: 3px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.saved-address-cue.current { border-color: #49804d; background: #edf8ee; color: #315f35; }
.customer-order-detail-hero h1 { margin-bottom: 18px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.65rem, 5vw, 2.6rem); line-height: 1.05; overflow-wrap: anywhere; }
.customer-order-detail-section { padding-top: 38px; }
.customer-order-progress { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 22px; padding: 0; list-style: none; background: var(--white); border: 1px solid var(--line); }
.customer-order-progress li { min-width: 0; display: grid; gap: 4px; padding: 16px; border-right: 1px solid var(--line); color: var(--muted); }
.customer-order-progress li:last-child { border-right: 0; }
.customer-order-progress li::before { content: "○"; font-weight: 950; }
.customer-order-progress li.complete { color: var(--ink); background: #edf8ee; }
.customer-order-progress li.complete::before { content: "✓"; color: #315f35; }
.customer-order-progress span { font-size: .78rem; overflow-wrap: anywhere; }
.customer-order-detail-summary { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; padding: 15px 18px; background: var(--white); border: 1px solid var(--line); }
.customer-order-card-list { display: grid; gap: 24px; }
.customer-order-card { padding: 22px; background: var(--white); border: 2px solid var(--ink); box-shadow: 7px 7px 0 #ded9ca; }
.customer-order-card > header { display: flex; justify-content: space-between; align-items: start; gap: 18px; margin-bottom: 18px; }
.customer-order-card > header h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.customer-order-card-previews { display: grid; grid-template-columns: minmax(140px, 210px) minmax(280px, 1fr); gap: 22px; align-items: center; padding: 20px; background: #eeece4; }
.customer-order-card-previews figure { min-width: 0; margin: 0; }
.customer-order-card-previews .card-artwork-front { width: min(100%, 190px); margin-inline: auto; }
.customer-order-card-previews figcaption { margin-top: 8px; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.customer-order-card-copy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 14px; margin-top: 14px; }
.customer-order-card-copy > section { min-width: 0; padding: 17px; background: var(--paper); border: 1px solid var(--line); }
.customer-order-card-copy h3 { margin-bottom: 13px; font-size: 1rem; }
.make-again-help { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }

/* Private fulfilment */
.orders-section { min-height: 62vh; }
.orders-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) 180px auto auto; gap: 12px; align-items: end; margin-bottom: 26px; padding: 20px; background: var(--white); border: 1px solid var(--line); }
.orders-toolbar label { display: grid; gap: 7px; font-size: .82rem; font-weight: 900; }
.orders-toolbar input, .orders-toolbar select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--control-border); background: var(--white); color: var(--ink); }
.orders-toolbar input:focus, .orders-toolbar select:focus { border-color: var(--ink); outline: 3px solid var(--yellow); outline-offset: 0; }
.orders-result-count { margin-bottom: 12px; color: var(--muted); font-size: .84rem; font-weight: 800; }
.private-order-list { display: grid; gap: 12px; }
.private-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 20px; background: var(--white); border: 1px solid var(--line); }
.private-order-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 11px; color: var(--muted); font-size: .83rem; font-weight: 800; }
.private-order-row h2 { margin-bottom: 7px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.05rem, 2.4vw, 1.45rem); letter-spacing: -.035em; overflow-wrap: anywhere; }
.private-order-row h2 a { text-underline-offset: 4px; }
.private-order-row p { margin-bottom: 8px; color: #45443f; }
.private-order-row code, .order-facts code { color: var(--muted); font-size: .76rem; overflow-wrap: anywhere; }
.private-order-totals { min-width: 150px; display: grid; align-content: start; justify-items: end; gap: 4px; text-align: right; }
.private-order-totals strong { font-size: 1.05rem; }
.private-order-totals span { color: var(--muted); }
.private-order-totals .text-link { margin-top: 14px; }
.order-status { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); font-size: .7rem; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.order-status-paid { background: var(--green); }
.order-status-received { background: var(--yellow); }
.order-status-printed { background: #d8eaff; }
.order-status-posted { background: var(--green); }
.order-status-pending { background: var(--yellow); }
.order-status-payment-failed { background: #ffd7d2; }
.order-status-expired { background: #e3e2dd; }
.orders-empty { padding: 42px; background: var(--white); border: 1px solid var(--line); }
.orders-empty h2 { margin-bottom: 10px; font-size: 2.2rem; }
.orders-empty p { margin-bottom: 0; color: var(--muted); }
.page-hero.compact.order-detail-hero h1 { margin-bottom: 18px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(1.65rem, 5vw, 2.6rem); line-height: 1.05; letter-spacing: -.04em; overflow-wrap: anywhere; }
.order-back-link { margin-bottom: 28px; }
.order-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.order-detail-actions form { display: contents; }
.fulfilment-update-message { max-width: 620px; }
.order-detail-section { padding-top: 38px; }
.order-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0 0 30px; background: var(--white); border: 1px solid var(--line); }
.order-facts > div { min-width: 0; padding: 17px; border-right: 1px solid var(--line); }
.order-facts > div:last-child { border-right: 0; }
.order-facts dt { margin-bottom: 5px; color: var(--muted); font-size: .72rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.order-facts dd { margin: 0; font-weight: 850; overflow-wrap: anywhere; }
.fulfilment-list { display: grid; gap: 28px; }
.fulfilment-card { padding: 24px; background: var(--white); border: 2px solid var(--ink); box-shadow: 8px 8px 0 #ded9ca; }
.fulfilment-card > header { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fulfilment-card > header .kicker { margin-bottom: 7px; }
.fulfilment-card > header h2 { margin-bottom: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.fulfilment-postage { flex: 0 0 auto; font-size: .78rem; font-weight: 900; }
.fulfilment-previews { display: grid; grid-template-columns: minmax(170px, 260px) minmax(340px, 1fr); gap: 28px; align-items: center; padding: 24px; background: #eeece4; }
.fulfilment-previews figure { min-width: 0; margin: 0; }
.fulfilment-previews .card-artwork-front { width: min(100%, 220px); margin-inline: auto; box-shadow: 10px 12px 0 rgba(17, 17, 17, .1); }
.fulfilment-previews .card-artwork-inside { width: 100%; }
.fulfilment-previews figcaption { margin-top: 10px; color: var(--muted); font-size: .72rem; font-weight: 900; text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.fulfilment-information { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: 22px; margin-top: 22px; }
.fulfilment-information > section { padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.fulfilment-information h3 { margin-bottom: 16px; }
.personalisation-fields { margin: 0; }
.personalisation-fields > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.personalisation-fields > div:last-child { border-bottom: 0; }
.personalisation-fields dt { color: var(--muted); font-size: .78rem; font-weight: 900; }
.personalisation-fields dd { margin: 0; overflow-wrap: anywhere; }
.preserve-lines { white-space: pre-line; }
.fulfilment-address { display: grid; gap: 4px; font-style: normal; font-size: 1.03rem; }
.fulfilment-address strong { margin-bottom: 5px; font-size: 1.15rem; }

.not-found { min-height: 64vh; display: grid; align-items: center; }
.not-found .error-code { color: #a72018; font-size: .78rem; font-weight: 950; letter-spacing: .12em; }

@media (max-width: 1000px) {
    .editor-grid { grid-template-columns: minmax(300px, .9fr) minmax(370px, 1.1fr); }
    .preview-pane { padding-inline: 24px; }
    .basket-grid { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
}

@media (max-width: 900px) {
    .navlinks .nav-optional { display: none; }
    .hero-grid, .about-grid, .quality-grid, .comparison-intro { grid-template-columns: 1fr; }
    .hero-grid { gap: 24px; }
    .hero-stage {
        max-width: 620px;
        min-height: 500px;
        justify-self: center;
    }
    .hero-showcase { min-height: 500px; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .usp:nth-child(2) { border-right: 0; }
    .usp:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .design-grid, .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: 1fr; }
    .comparison-box { grid-template-columns: 1fr; }
    .comparison-vs { min-height: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section-heading-row { display: block; }
    .section-heading-row .text-link { margin-top: 22px; }
    .editor-grid { grid-template-columns: 1fr; }
    .preview-pane { border-right: 0; border-bottom: 1px solid var(--line); }
    .preview-sticky { position: static; }
    .editor-preview-card { max-height: 510px; width: min(78vw, 340px); }
    .editor-preview-card.card-artwork-inside { width: min(100%, 680px); max-height: none; }
    .editor-panel { padding-bottom: 104px; }
    .mobile-preview-trigger {
        position: fixed;
        right: 16px;
        bottom: max(14px, env(safe-area-inset-bottom));
        z-index: 80;
        min-height: 52px;
        max-width: calc(100vw - 32px);
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 8px 15px;
        border: 2px solid var(--ink);
        background: var(--yellow);
        color: var(--ink);
        box-shadow: 5px 5px 0 var(--ink);
        font: inherit;
        font-size: .9rem;
        font-weight: 950;
        cursor: pointer;
    }
    .mobile-preview-trigger strong { padding-left: 8px; border-left: 1px solid currentColor; color: #7d1b15; font-size: .72rem; }
    .mobile-preview-trigger-warning { background: #ffd7d2; }
    body:has(.mobile-preview-dialog[open]) .mobile-preview-trigger { display: none; }
    .basket-grid { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .orders-toolbar { grid-template-columns: minmax(0, 1fr) 180px; }
    .orders-toolbar .btn { width: 100%; }
    .order-facts { grid-template-columns: 1fr 1fr; }
    .order-facts > div:nth-child(2) { border-right: 0; }
    .order-facts > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
    .fulfilment-previews { grid-template-columns: 1fr; }
    .fulfilment-inside-preview { width: 100%; }
    .fulfilment-information { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .development-toast { top: 76px; right: 11px; width: min(330px, calc(100vw - 22px)); }
    .wrap { width: min(calc(100% - 22px), var(--max)); }
    .nav { min-height: 62px; gap: 12px; }
    .brand { font-size: 1.3rem; }
    .navlinks { gap: 12px; }
    .navlinks .nav-cta { display: none; }
    .basket-link { padding: 8px 0; }
    .hero { padding: 40px 0 48px; }
    h1 { font-size: clamp(3.05rem, 16vw, 5rem); }
    .page-hero.compact h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
    .hero-copy { font-size: 1.04rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stage { min-height: 390px; }
    .hero-showcase {
        min-height: 390px;
        box-shadow: 7px 7px 0 var(--ink);
    }
    .hero-card-stack { inset: 16px 6px 72px; }
    .hero-stack-card {
        width: min(58%, 210px);
        box-shadow: 7px 9px 0 rgba(17, 17, 17, .12);
    }
    .hero-stack-card-front { box-shadow: 9px 11px 0 rgba(17, 17, 17, .17); }
    .hero-price-rail { min-height: 72px; }
    .hero-price-rail strong {
        padding-inline: 16px;
        font-size: 2.55rem;
    }
    .hero-price-rail span {
        padding: 10px 13px;
        font-size: .72rem;
    }
    .usp { padding: 16px 12px; }
    .usp b { font-size: .88rem; }
    .usp span { font-size: .82rem; }
    .section { padding: 60px 0; }
    .design-grid, .catalogue-grid { gap: 10px; }
    .product { padding: 8px; }
    .product-meta { font-size: .82rem; }
    .product-meta small { font-size: .75rem; }
    .comparison-side { padding: 22px; }
    .footer-grid { grid-template-columns: 1fr; }
    .legal { flex-direction: column; }
    .catalogue-note { display: block; }
    .catalogue-note span { display: block; margin-top: 5px; font-size: .84rem; }
    .editor-topbar .wrap { align-items: flex-start; }
    .editor-topbar-summary { max-width: 230px; }
    .editor-topbar p { font-size: .8rem; text-align: right; }
    .editor-delivery-estimate { padding: 7px 9px; font-size: .73rem; }
    .preview-pane { padding: 28px 16px 34px; }
    .preview-frame { height: 300px; }
    .editor-preview-card { width: min(54vw, 205px); max-height: 290px; }
    .editor-preview-card.card-artwork-inside { width: min(100%, 400px); max-height: 290px; }
    .editor-panel { padding: 34px 16px 106px; }
    .fit-check { grid-template-columns: 25px minmax(0, 1fr); }
    .fit-fix-button { grid-column: 1 / -1; width: 100%; }
    .mobile-preview-trigger { right: 11px; max-width: calc(100vw - 22px); }
    .mobile-preview-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
    .mobile-preview-sheet { padding: 14px; }
    .mobile-preview-frame { min-height: 250px; }
    .mobile-preview-card { width: min(52vw, 220px); max-height: 52dvh; }
    .mobile-preview-card.card-artwork-inside { width: 100%; }
    .saved-recipient-picker { padding: 15px; box-shadow: 4px 4px 0 var(--yellow); }
    .saved-recipient-picker-heading { display: grid; }
    .saved-recipient-picker-heading .btn { width: 100%; }
    .saved-recipient-option { min-height: 104px; padding: 15px; }
    .field-row { grid-template-columns: 1fr; }
    .basket-list-toolbar, .basket-bottom-actions { display: grid; align-items: stretch; }
    .basket-list-toolbar .btn, .basket-bottom-actions > .btn { width: 100%; }
    .basket-item { padding: 12px; }
    .basket-item-header { display: block; }
    .basket-item-price { display: block; margin: 5px 0; }
    .basket-proof-previews { grid-template-columns: 1fr; gap: 22px; padding: 16px 10px; }
    .basket-proof-front .card-artwork { width: min(48vw, 165px); }
    .basket-proof-inside .card-artwork { width: 100%; }
    .basket-proof-information { grid-template-columns: 1fr; }
    .basket-proof-information > section { padding: 14px; }
    .basket-proof-wording dl > div { grid-template-columns: 1fr; gap: 3px; }
    .basket-address-options { grid-template-columns: 1fr; }
    .basket-undo { display: grid; grid-template-columns: minmax(0, 1fr) 44px; box-shadow: 4px 4px 0 var(--ink); }
    .basket-undo .btn { width: 100%; }
    .basket-undo-dismiss { grid-column: 2; grid-row: 1; }
    .empty-state { padding: 28px 22px; }
    .orders-link { font-size: .86rem; }
    .customer-order-row { grid-template-columns: 1fr; padding: 17px; }
    .customer-order-totals { justify-items: start; text-align: left; }
    .customer-orders-toolbar { align-items: flex-start; }
    .customer-saved-address { display: grid; padding: 15px; }
    .customer-order-progress { grid-template-columns: 1fr; }
    .customer-order-progress li { border-right: 0; border-bottom: 1px solid var(--line); }
    .customer-order-progress li:last-child { border-bottom: 0; }
    .customer-order-card { padding: 14px; box-shadow: 5px 5px 0 #ded9ca; }
    .customer-order-card > header { display: grid; }
    .customer-order-card > header .btn { width: 100%; }
    .customer-order-card-previews { grid-template-columns: 1fr; padding: 15px 9px; }
    .customer-order-card-previews .card-artwork-front { width: min(68vw, 220px); }
    .customer-order-card-copy { grid-template-columns: 1fr; }
    .thank-you-actions { display: grid; }
    .orders-toolbar { grid-template-columns: 1fr; padding: 14px; }
    .private-order-row { grid-template-columns: 1fr; padding: 16px; }
    .private-order-totals { justify-items: start; text-align: left; }
    .fulfilment-card { padding: 14px; box-shadow: 5px 5px 0 #ded9ca; }
    .fulfilment-card > header { display: block; }
    .fulfilment-postage { display: inline-block; margin-top: 10px; }
    .fulfilment-previews { gap: 22px; padding: 16px 10px; }
    .fulfilment-previews .card-artwork-front { width: min(70vw, 240px); }
    .fulfilment-information > section { padding: 15px; }
    .personalisation-fields > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (hover: hover) {
    .product:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0, 0, 0, .075); }
    .product:hover .product-art { transform: scale(1.012); }
    .saved-recipient-option:hover { transform: translateY(-1px); }
    .btn > span[aria-hidden="true"] { transition: transform .14s ease; }
    .btn:hover > span[aria-hidden="true"] { transform: translateX(3px); }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-stack-card-left { animation: deal-card-left .48s cubic-bezier(.2, .8, .2, 1) both; }
    .hero-stack-card-right { animation: deal-card-right .48s .07s cubic-bezier(.2, .8, .2, 1) both; }
    .hero-stack-card-front { animation: deal-card-front .48s .14s cubic-bezier(.2, .8, .2, 1) both; }
    .hero-price-rail { animation: rise-in .36s .22s ease-out both; }
    .basket-count:not([hidden]) { animation: count-pop .2s ease-out both; }
    .success-mark { animation: count-pop .28s ease-out both; }
    .faq details[open] p { animation: rise-in .18s ease-out both; }
}

@keyframes deal-card-left {
    from { opacity: 0; transform: translate(-61%, -43%) rotate(-2deg) scale(.94); }
    to { opacity: 1; transform: translate(-76%, -49%) rotate(-9deg); }
}

@keyframes deal-card-right {
    from { opacity: 0; transform: translate(-39%, -43%) rotate(2deg) scale(.94); }
    to { opacity: 1; transform: translate(-24%, -49%) rotate(9deg); }
}

@keyframes deal-card-front {
    from { opacity: 0; transform: translate(-50%, -43%) rotate(0) scale(.94); }
    to { opacity: 1; transform: translate(-50%, -50%) rotate(-1deg); }
}

@keyframes rise-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

@keyframes count-pop {
    from { opacity: 0; transform: scale(.82); }
    to { opacity: 1; transform: scale(1); }
}

@media print {
    body { background: #fff; }
    .site-header, .site-footer, .development-toast, .orders-print-hide, .mobile-preview-trigger, .mobile-preview-dialog, .editor-fit-probes { display: none !important; }
    .order-detail-section { padding: 0; border: 0; }
    .wrap { width: 100%; max-width: none; }
    .order-facts { margin-bottom: 18px; }
    .fulfilment-card { break-inside: avoid; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
