/*
Theme Name: AllWebsites
Description: Shared theme for allwebsites.co.uk main site and all trade designs.
Version: 2.1
*/

/* Design concept: a sunny high-street morning. AllWebsites sells the trade/
   local-business site the way a good sign-writer sells a shopfront: bright,
   friendly, done today. The signature motif is a hand-hung price tag (string,
   grommet hole, gentle swing) standing in for the site's whole £4.95 pitch,
   and every gallery card wears a trade-coloured awning stripe like a real
   shopfront canopy. */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600&family=Space+Mono:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Alfa+Slab+One&family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Special+Elite&family=Fjalla+One&family=Karla:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
    --awp-ink: #202b33;
    --awp-ink-soft: #55636c;
    --awp-paper: #fffcf6;
    --awp-paper-alt: #fff5e2;
    --awp-sky: #2d93d0;
    --awp-sky-deep: #1c6c9e;
    --awp-sunshine: #ffc53d;
    --awp-coral: #ff6b4a;
    --awp-coral-deep: #e14f30;
    --awp-line: #ecdfc4;

    --awp-font-display: 'Anton', 'Arial Narrow', sans-serif;
    --awp-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --awp-font-ticket: 'Space Mono', 'Courier New', monospace;

    --awp-radius: 18px;
    --awp-shadow: 0 18px 40px -20px rgba(32, 43, 51, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--awp-font-body);
    color: var(--awp-ink);
    background: var(--awp-paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--awp-font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
    margin-bottom: 16px;
    color: var(--awp-ink);
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.02em; }

p { margin-bottom: 16px; color: var(--awp-ink-soft); }
ul { padding-left: 0; list-style: none; margin-bottom: 16px; }
li { margin-bottom: 10px; }

a { color: var(--awp-sky-deep); }

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

.awp-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Preview bar (main-site trade-design previews only) --
   deliberately neutral chrome, never any trade design's own palette
   (--awp-sky/--awp-coral/--awp-sunshine etc, or the shell's world), so it
   never clashes whatever colours the design underneath uses. Sits above
   the page's own header. ---------- */

.awp-preview-bar {
    background: #14181c;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.awp-preview-bar-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.awp-preview-bar span { color: rgba(255, 255, 255, 0.75); }
.awp-preview-bar strong { color: #fff; }

.awp-preview-bar a {
    color: #14181c;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    display: inline-block;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.awp-preview-bar a:hover { background: rgba(255, 255, 255, 0.85); transform: translateY(-2px); }

/* ---------- Header ---------- */

.awp-header {
    background: var(--awp-paper);
    border-bottom: 3px solid var(--awp-ink);
    padding: 18px 0;
    position: relative;
    z-index: 5;
}

.awp-header .awp-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.awp-header a.awp-brand {
    color: var(--awp-ink);
    text-decoration: none;
    font-family: var(--awp-font-display);
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.awp-brand-mark {
    height: 72px;
    width: auto;
    display: block;
}

.awp-header nav a {
    color: var(--awp-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 20px;
    border: 2px solid var(--awp-ink);
    border-radius: 999px;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    display: inline-block;
}

.awp-header nav a:hover {
    background: var(--awp-ink);
    color: var(--awp-paper);
    transform: translateY(-2px);
}

/* ---------- Price tag signature ---------- */

.awp-tag {
    --awp-tag-rotate: -8deg;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--awp-sunshine);
    color: var(--awp-ink);
    font-family: var(--awp-font-ticket);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 10px 20px 10px 26px;
    border-radius: 6px 16px 16px 6px;
    box-shadow: var(--awp-shadow);
    position: relative;
    transform: rotate(var(--awp-tag-rotate));
    animation: awp-tag-hang 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    animation-delay: 0.15s;
}

.awp-tag::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--awp-paper);
    border: 2px solid var(--awp-ink);
}

@keyframes awp-tag-hang {
    0% { transform: rotate(0deg) translateY(-24px); opacity: 0; }
    60% { transform: rotate(calc(var(--awp-tag-rotate) * 1.4)); opacity: 1; }
    100% { transform: rotate(var(--awp-tag-rotate)); }
}

/* ---------- Hero ---------- */

.awp-hero {
    background: linear-gradient(180deg, var(--awp-paper-alt) 0%, var(--awp-paper) 70%);
    padding: 96px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.awp-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 10px;
    background: repeating-linear-gradient(90deg, var(--awp-sky) 0 40px, var(--awp-sunshine) 40px 80px, var(--awp-coral) 80px 120px);
}

.awp-hero .awp-tag { margin-bottom: 28px; }

.awp-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    max-width: 16ch;
    margin: 0 auto 20px;
}

.awp-hero .awp-lede {
    font-size: 1.2rem;
    max-width: 46ch;
    margin: 0 auto 32px;
}

.awp-pitch {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 36px;
}

.awp-pitch span {
    background: #fff;
    border: 2px solid var(--awp-ink);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.92rem;
}

.awp-pitch-line {
    font-family: var(--awp-font-ticket);
    font-size: 0.78rem;
    color: var(--awp-ink-soft);
    margin-bottom: 32px;
}

.awp-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Hero with photo (trade designs that ship a real hero image,
   e.g. convenience-store -- most trade designs have no image and keep the
   plain centred hero above untouched) ---------- */

.awp-hero-photo { text-align: left; padding: 72px 0; }

.awp-hero-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
}

.awp-hero-copy { max-width: 46ch; }

.awp-hero-photo .awp-tag { margin-bottom: 24px; }
.awp-hero-photo h1 { margin: 0 0 20px; max-width: none; }
.awp-hero-photo .awp-lede { margin: 0 0 32px; max-width: none; }
.awp-hero-photo .awp-hero-actions { justify-content: flex-start; }

.awp-hero-photo-frame {
    border-radius: var(--awp-radius);
    overflow: hidden;
    border: 2px solid var(--awp-ink);
    box-shadow: var(--awp-shadow);
    aspect-ratio: 4 / 5;
    opacity: 0;
    transform: scale(0.97) translateY(10px);
    animation: awp-settle 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.awp-hero-copy {
    opacity: 0;
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes awp-settle {
    from { opacity: 0; transform: scale(0.97) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes awp-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.awp-hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.awp-hero-photo-frame:hover img {
    transform: scale(1.04);
}

@media (max-width: 860px) {
    .awp-hero-photo-grid { grid-template-columns: 1fr; }
    .awp-hero-photo { text-align: center; padding: 56px 0; }
    .awp-hero-copy { max-width: none; margin: 0 auto; }
    .awp-hero-photo h1,
    .awp-hero-photo .awp-lede { max-width: 46ch; margin-left: auto; margin-right: auto; }
    .awp-hero-photo .awp-hero-actions { justify-content: center; }
    .awp-hero-photo-frame { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- Full-bleed hero (structural variant -- config
   $hero_style = 'full-bleed'; e.g. newsagent) -- poster/magazine-cover
   composition: the photo fills the whole hero, text sits over it on a
   dark scrim, instead of the split image/copy layout above. ---------- */

.awp-hero-bleed {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.awp-hero-bleed-media {
    position: absolute;
    inset: 0;
}

.awp-hero-bleed-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.awp-hero-bleed-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 12, 8, 0.88) 0%, rgba(15, 12, 8, 0.35) 55%, rgba(15, 12, 8, 0.05) 100%);
}

.awp-hero-bleed-content {
    position: relative;
    z-index: 1;
    padding: 64px 24px 56px;
    max-width: 720px;
}

.awp-hero-bleed .awp-tag { margin-bottom: 20px; }

.awp-hero-bleed h1 {
    color: #fff;
    max-width: 14ch;
    margin: 0 0 16px;
}

.awp-hero-bleed .awp-lede {
    color: rgba(255, 255, 255, 0.85);
    max-width: 42ch;
    margin: 0;
}

@media (max-width: 640px) {
    .awp-hero-bleed { min-height: 460px; }
    .awp-hero-bleed-content { padding: 40px 20px 40px; }
}

/* ---------- Counter list (structural variant -- config
   $services_style = 'counter-list'; e.g. newsagent) -- a simple divided
   list, like items chalked up behind a shop counter, instead of the
   colour-blocked card grid. ---------- */

.awp-counter-list {
    max-width: 760px;
    margin: 8px auto 0;
    border-top: 2px solid var(--awp-ink);
}

.awp-counter-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 4px;
    border-bottom: 2px solid var(--awp-ink);
    opacity: 0;
    animation: awp-rise 0.4s ease both;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.awp-counter-item:hover {
    transform: translateX(8px);
    background: rgba(0, 0, 0, 0.03);
}

.awp-counter-item:nth-child(1) { animation-delay: 0.05s; }
.awp-counter-item:nth-child(2) { animation-delay: 0.12s; }
.awp-counter-item:nth-child(3) { animation-delay: 0.19s; }
.awp-counter-item:nth-child(4) { animation-delay: 0.26s; }
.awp-counter-item:nth-child(5) { animation-delay: 0.33s; }
.awp-counter-item:nth-child(6) { animation-delay: 0.40s; }

.awp-counter-item h3 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.awp-counter-item p {
    margin-bottom: 0;
    max-width: 46ch;
}

@media (max-width: 640px) {
    .awp-counter-item { flex-direction: column; gap: 4px; }
}

/* ---------- Buttons ---------- */

.awp-button {
    display: inline-block;
    background: var(--awp-coral);
    color: #fff;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.02rem;
    box-shadow: 0 10px 24px -10px rgba(225, 79, 48, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: none;
    cursor: pointer;
}

.awp-button:hover {
    transform: translateY(-3px);
    background: var(--awp-coral-deep);
    box-shadow: 0 16px 30px -12px rgba(225, 79, 48, 0.6);
    color: #fff;
}

.awp-button-ghost {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 999px;
    border: 2px solid var(--awp-ink);
    color: var(--awp-ink);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.awp-button-ghost:hover {
    background: var(--awp-ink);
    color: var(--awp-paper);
    transform: translateY(-3px);
}

/* ---------- Sections ---------- */

.awp-section { padding: 72px 0; }
.awp-section-alt { background: var(--awp-paper-alt); }

.awp-eyebrow {
    display: inline-block;
    font-family: var(--awp-font-ticket);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--awp-sky-deep);
    background: rgba(45, 147, 208, 0.12);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.awp-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }

/* ---------- How it works (a real sequence, so numbering is earned) ---------- */

.awp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-top: 8px;
}

.awp-step {
    text-align: left;
    background: #fff;
    border: 2px solid var(--awp-ink);
    border-radius: var(--awp-radius);
    padding: 28px 24px;
    opacity: 0;
    animation: awp-rise 0.5s ease both;
    /* Entrance animates opacity only (not transform) -- a fill-mode:both
       animation keeps "owning" any property it animates even once
       finished, which silently blocks a same-property hover transition.
       Splitting them here is what makes the hover lift below actually work. */
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.awp-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--awp-shadow);
}

.awp-step:nth-child(1) { animation-delay: 0.05s; }
.awp-step:nth-child(2) { animation-delay: 0.15s; }
.awp-step:nth-child(3) { animation-delay: 0.25s; }
.awp-step:nth-child(4) { animation-delay: 0.35s; }
.awp-step:nth-child(5) { animation-delay: 0.45s; }
.awp-step:nth-child(6) { animation-delay: 0.55s; }

@keyframes awp-rise {
    from { opacity: 0; }
    to { opacity: 1; }
}

.awp-step .awp-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--awp-sunshine);
    color: var(--awp-ink);
    font-family: var(--awp-font-ticket);
    font-weight: 700;
    margin-bottom: 16px;
    border: 2px solid var(--awp-ink);
}


.awp-step h3 { margin-bottom: 8px; }
.awp-step p { margin-bottom: 0; }

/* ---------- Opening-hours signage band (optional, config-driven via
   $config['hours_banner']) -- a real striped shop-sign band, not just the
   1px repeating rule used elsewhere as a section divider. ---------- */

.awp-hours-banner {
    background: repeating-linear-gradient(
        135deg,
        var(--awp-sunshine) 0 28px,
        var(--awp-ink) 28px 32px,
        var(--awp-coral) 32px 60px,
        var(--awp-ink) 60px 64px
    );
    padding: 18px 0;
    text-align: center;
    overflow: hidden;
}

.awp-hours-banner span {
    display: inline-block;
    background: var(--awp-ink);
    color: #fff;
    font-family: var(--awp-font-ticket);
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1rem;
    padding: 10px 28px;
    border-radius: 999px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

/* ---------- Vivid services grid (optional, config-driven via
   $config['vivid_services']) -- colour-blocked cards instead of plain
   white-bordered ones, three-way palette rotation via awp-step-{accent}. */

.awp-services-vivid .awp-step {
    border: none;
    color: #fff;
}

.awp-services-vivid .awp-step-sunshine { background: var(--awp-sunshine); color: var(--awp-ink); }
.awp-services-vivid .awp-step-sky { background: var(--awp-sky); }
.awp-services-vivid .awp-step-coral { background: var(--awp-coral); }

.awp-services-vivid .awp-step h3 { color: inherit; }
.awp-services-vivid .awp-step-sunshine p { color: rgba(32, 43, 51, 0.75); }
.awp-services-vivid .awp-step-sky p,
.awp-services-vivid .awp-step-coral p { color: rgba(255, 255, 255, 0.85); }

.awp-step-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin-bottom: 16px;
}

.awp-services-vivid .awp-step-sunshine .awp-step-icon { background: rgba(32, 43, 51, 0.12); }

/* ---------- Gallery: shopfronts with awning stripes ---------- */

.awp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 8px;
}

.awp-shopfront {
    background: #fff;
    border: 2px solid var(--awp-ink);
    border-radius: var(--awp-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.awp-shopfront:hover {
    transform: translateY(-6px);
    box-shadow: var(--awp-shadow);
}

.awp-awning {
    height: 14px;
    background-image: repeating-linear-gradient(
        115deg,
        var(--awp-stripe-a, var(--awp-sky)) 0 22px,
        var(--awp-stripe-b, #fff) 22px 44px
    );
    transform-origin: left center;
    animation: awp-unfurl 0.6s ease both;
}

@keyframes awp-unfurl {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.awp-shopfront-body { padding: 26px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.awp-shopfront-body h3 { margin-bottom: 10px; }
.awp-shopfront-body p { flex: 1; }

/* ---------- Browse-all-themes gallery: screenshot cards ---------- */

.awp-theme-shot {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: top center;
    border-bottom: 2px solid var(--awp-ink);
    background: var(--awp-paper-alt);
}

.awp-theme-links { margin-bottom: 16px; }
.awp-theme-links .awp-button-ghost { padding: 10px 20px; font-size: 0.85rem; }

.awp-more-themes {
    text-align: center;
    margin-top: 44px;
    font-weight: 700;
}

.awp-more-themes a {
    color: var(--awp-sky-deep);
    text-decoration: underline;
}

.awp-shopfront-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.awp-shopfront .awp-tag {
    animation: none;
    transform: rotate(-6deg);
    font-size: 0.95rem;
    padding: 6px 14px 6px 20px;
}

.awp-shopfront-footer .awp-button { padding: 10px 22px; font-size: 0.9rem; }

/* ---------- Signup / waitlist ---------- */

.awp-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.awp-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 14px 18px;
    border: 2px solid var(--awp-ink);
    border-radius: 999px;
    font-family: var(--awp-font-body);
    font-size: 1rem;
}

.awp-form input[type="email"]:focus { outline: 3px solid var(--awp-sky); outline-offset: 2px; }

.awp-section-alt ul {
    max-width: 520px;
    margin: 0 auto;
}

.awp-section-alt ul li {
    background: #fff;
    border: 2px solid var(--awp-ink);
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.awp-section-alt ul li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--awp-sunshine);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.awp-section-alt ul li:nth-child(3n+2)::before { background: var(--awp-sky); color: #fff; }
.awp-section-alt ul li:nth-child(3n+3)::before { background: var(--awp-coral); color: #fff; }

.awp-notice {
    display: inline-block;
    background: #fff;
    border: 2px solid var(--awp-coral-deep);
    color: var(--awp-coral-deep);
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ---------- WhatsApp support strip ---------- */

.awp-support {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid var(--awp-ink);
    border-radius: 999px;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--awp-ink);
    font-weight: 700;
    font-size: 0.92rem;
}

.awp-support:hover { background: var(--awp-sunshine); }

.awp-support-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #25d366;
    flex-shrink: 0;
}

/* ---------- Footer ---------- */

.awp-footer {
    background: var(--awp-ink);
    color: #fff;
    padding: 48px 0 36px;
    margin-top: 0;
}

.awp-footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.awp-footer p { color: rgba(255, 255, 255, 0.75); margin-bottom: 0; }
.awp-footer .awp-support { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.awp-footer .awp-support:hover { background: var(--awp-sunshine); color: var(--awp-ink); }
.awp-footer .awp-copyright { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); }

@media (max-width: 640px) {
    .awp-header nav a { padding: 8px 14px; font-size: 0.85rem; }
    .awp-hero { padding: 72px 0 56px; }
    .awp-footer-grid { justify-content: center; text-align: center; }
}

/* =========================================================================
   Marketing shell: upmarket editorial world (home, gallery, waitlist only).
   Scoped entirely under body.awp-shell so the 6 trade demo pages, still
   rendered through page-trade.php, keep the original shopfront/awning
   system above untouched. Design concept: a maison's digital flagship --
   ivory ground, near-black ink, a single restrained gold rule/link colour,
   a tall serif for anything that speaks, hairlines instead of boxes and
   pills. Roman numerals stand in for the old numbered-plate steps.
   ========================================================================= */

body.awp-shell {
    --awp-fh-ink: #17140f;
    --awp-fh-ink-soft: #5c564c;
    --awp-fh-paper: #faf8f3;
    --awp-fh-paper-alt: #f2ede0;
    --awp-fh-gold: #a1782f;
    --awp-fh-line: rgba(23, 20, 15, 0.16);
    --awp-fh-band: #121014;
    --awp-fh-band-text: #f4efe3;

    --awp-fh-font-display: 'Playfair Display', 'Iowan Old Style', Georgia, serif;
    --awp-fh-font-label: var(--awp-font-body);

    background: var(--awp-fh-paper);
    color: var(--awp-fh-ink);
}

.awp-shell-container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- Shell header ---------- */

.awp-shell-header {
    background: var(--awp-fh-paper);
    border-bottom: 1px solid var(--awp-fh-line);
    padding: 26px 0;
}

.awp-shell-header .awp-shell-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.awp-shell-brand {
    color: var(--awp-fh-ink);
    text-decoration: none;
    font-family: var(--awp-fh-font-label);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.awp-shell-header nav a {
    color: var(--awp-fh-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.awp-shell-header nav a:hover { border-color: var(--awp-fh-gold); color: var(--awp-fh-gold); }

/* ---------- Shell hero ---------- */

.awp-shell-hero { padding: 108px 0 64px; }

.awp-shell-hero h1 {
    font-family: var(--awp-fh-font-display);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
    line-height: 1.06;
    max-width: 18ch;
    margin-bottom: 28px;
    color: var(--awp-fh-ink);
}

.awp-shell-hero .awp-shell-lede {
    font-family: var(--awp-fh-font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--awp-fh-ink-soft);
    max-width: 42ch;
    margin-bottom: 32px;
}

.awp-shell-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--awp-fh-gold);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
    font-family: var(--awp-fh-font-display);
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 48px;
}

.awp-shell-cta:hover { color: var(--awp-fh-ink); }

.awp-shell-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid var(--awp-fh-line);
    border-bottom: 1px solid var(--awp-fh-line);
    padding: 18px 0;
}

.awp-shell-proof span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--awp-fh-ink-soft);
    padding: 4px 22px;
    border-left: 1px solid var(--awp-fh-line);
}

.awp-shell-proof span:first-child { border-left: none; padding-left: 0; }

/* ---------- Shell sequence (roman numerals) ---------- */

.awp-shell-section { padding: 80px 0; }

.awp-shell-sequence {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    margin-top: 8px;
}

.awp-shell-sequence-item {
    padding: 0 32px;
    border-left: 1px solid var(--awp-fh-line);
}

.awp-shell-sequence-item:first-child { border-left: none; padding-left: 0; }

.awp-shell-sequence-item .awp-shell-numeral {
    font-family: var(--awp-fh-font-display);
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--awp-fh-ink);
    margin-bottom: 14px;
    display: block;
}

.awp-shell-sequence-item h3 {
    font-family: var(--awp-fh-font-label);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--awp-fh-ink);
    margin-bottom: 8px;
}

.awp-shell-sequence-item p { color: var(--awp-fh-ink-soft); margin-bottom: 0; font-size: 0.95rem; }

/* ---------- Shell closing band ---------- */

.awp-shell-band {
    background: var(--awp-fh-band);
    color: var(--awp-fh-band-text);
    padding: 64px 0;
    text-align: center;
}

.awp-shell-band h2 {
    font-family: var(--awp-fh-font-display);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(1.5rem, 3.4vw, 2.3rem);
    color: var(--awp-fh-band-text);
    margin: 0;
}

/* ---------- Shell gallery (editorial cards, no awning stripes) ---------- */

.awp-shell-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--awp-fh-line);
    border: 1px solid var(--awp-fh-line);
    margin-top: 8px;
}

.awp-shell-card {
    background: var(--awp-fh-paper);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: background 0.2s ease;
}

.awp-shell-card:hover { background: var(--awp-fh-paper-alt); }

.awp-shell-card-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--awp-fh-gold);
    margin-bottom: 16px;
}

.awp-shell-card h3 {
    font-family: var(--awp-fh-font-display);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--awp-fh-ink);
}

.awp-shell-card p { color: var(--awp-fh-ink-soft); flex: 1; margin-bottom: 24px; font-size: 0.95rem; }

.awp-shell-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--awp-fh-line);
}

.awp-shell-card-price {
    font-family: var(--awp-fh-font-label);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--awp-fh-ink-soft);
}

.awp-shell-card-link {
    color: var(--awp-fh-gold);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.awp-shell-card-link:hover { color: var(--awp-fh-ink); }

.awp-shell-section-head {
    max-width: 640px;
    margin: 0 auto 48px;
    text-align: left;
}

.awp-shell-section-head .awp-shell-card-eyebrow { text-align: left; }

.awp-shell-section-head h1,
.awp-shell-section-head h2 {
    font-family: var(--awp-fh-font-display);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

/* ---------- Shell form (waitlist) ---------- */

.awp-shell-form {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--awp-fh-ink);
    max-width: 480px;
    margin-top: 24px;
}

.awp-shell-form input[type="email"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-family: var(--awp-fh-font-label);
    font-size: 1rem;
    color: var(--awp-fh-ink);
}

.awp-shell-form input[type="email"]:focus { outline: none; }

.awp-shell-form button {
    background: none;
    border: none;
    color: var(--awp-fh-gold);
    font-family: var(--awp-fh-font-display);
    font-style: italic;
    font-size: 1.05rem;
    cursor: pointer;
    padding: 12px 0 12px 16px;
}

.awp-shell-form button:hover { color: var(--awp-fh-ink); }

.awp-shell-notice {
    display: inline-block;
    color: var(--awp-fh-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

/* ---------- Shell footer ---------- */

.awp-shell-footer {
    background: var(--awp-fh-band);
    color: var(--awp-fh-band-text);
    padding: 56px 0 32px;
}

.awp-shell-footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.awp-shell-footer-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 239, 227, 0.6);
    margin-bottom: 8px;
}

.awp-shell-support {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--awp-fh-band-text);
    text-decoration: none;
    font-family: var(--awp-fh-font-display);
    font-size: 1.1rem;
}

.awp-shell-support:hover { color: var(--awp-fh-gold); }

.awp-shell-support-dot { width: 7px; height: 7px; border-radius: 50%; background: #25d366; flex-shrink: 0; }

.awp-shell-copyright {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(244, 239, 227, 0.15);
    font-size: 0.8rem;
    color: rgba(244, 239, 227, 0.6);
}

@media (max-width: 640px) {
    .awp-shell-hero { padding: 72px 0 48px; }
    .awp-shell-proof span { border-left: none; padding: 6px 0; flex-basis: 100%; }
    .awp-shell-sequence-item { border-left: none; padding-left: 0; border-top: 1px solid var(--awp-fh-line); padding-top: 24px; }
    .awp-shell-sequence-item:first-child { border-top: none; padding-top: 0; }
    .awp-shell-footer-grid { justify-content: center; text-align: center; }
}

/* =========================================================================
   Bespoke trade-design world: newsprint (newsagent). Standing rule
   2026-08-23 (Richard) -- every trade design gets its own visual identity,
   not a reskin of the shared shopfront system above. Everything in this
   block is scoped under .awp-world-newsprint, wrapped around the render
   in functions.php's awp_render_trade_page() only when a design's config
   sets bespoke_world: 'newsprint'. Tabloid front-page world: aged cream
   paper, near-black ink, one warm red accent, a bold slab masthead face,
   a classic serif for body/byline text, double newspaper-style rules
   instead of the shopfront's pill/card language.
   ========================================================================= */

.awp-world-newsprint {
    --np-paper: #f2ead9;
    --np-paper-alt: #ece1cb;
    --np-ink: #1c1a17;
    --np-ink-soft: #4a453c;
    --np-red: #a52a22;
    --np-rule: rgba(28, 26, 23, 0.28);

    --np-font-display: 'Alfa Slab One', Georgia, serif;
    --np-font-serif: 'PT Serif', Georgia, serif;
    --np-font-stamp: 'Special Elite', 'Courier New', monospace;

    background: var(--np-paper);
    color: var(--np-ink);
    font-family: var(--np-font-serif);
}

/* Suppress the shared shopfront system's signature stripe -- every
   .awp-hero gets it by default, but it's this system's motif, not this
   world's; the newsprint hero has its own edge treatment already. */
.awp-world-newsprint .awp-hero::after { content: none; }

.awp-world-newsprint h1,
.awp-world-newsprint h2,
.awp-world-newsprint h3 {
    font-family: var(--np-font-display);
    text-transform: none;
    letter-spacing: 0;
    color: var(--np-ink);
}

.awp-world-newsprint p { color: var(--np-ink-soft); }

/* ---------- Newsprint hero ---------- */

.awp-hero-newsprint {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.awp-hero-newsprint-bg {
    position: absolute;
    inset: 0;
}

.awp-hero-newsprint-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.awp-hero-newsprint-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 56px 24px;
}

.awp-stamp {
    display: inline-block;
    border: 3px solid var(--np-ink);
    border-radius: 3px;
    color: var(--np-ink);
    font-family: var(--np-font-stamp);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 20px;
    transform: rotate(-3deg);
    margin-bottom: 28px;
    opacity: 0;
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.awp-hero-newsprint h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
    line-height: 0.98;
    max-width: 11ch;
    margin: 0 0 22px;
    opacity: 0;
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.awp-hero-newsprint .awp-lede {
    font-family: var(--np-font-serif);
    font-size: 1.15rem;
    color: var(--np-ink);
    max-width: 40ch;
    padding-top: 18px;
    border-top: 3px double var(--np-ink);
    opacity: 0;
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

@media (max-width: 640px) {
    .awp-hero-newsprint { min-height: 520px; align-items: flex-end; }
    .awp-hero-newsprint-content {
        padding: 24px 20px 32px;
        max-width: none;
        width: 100%;
        background: linear-gradient(180deg, rgba(242, 234, 217, 0) 0%, var(--np-paper) 22%);
    }
}

/* ---------- Stop-press ribbon (replaces the striped hours-banner) ---------- */

.awp-world-newsprint .awp-hours-banner {
    background: var(--np-red);
    background-image: none;
}

.awp-world-newsprint .awp-hours-banner span {
    background: var(--np-ink);
    font-family: var(--np-font-stamp);
    border-radius: 2px;
}

/* ---------- Classifieds-column services (counter-list, re-themed) ---------- */

.awp-world-newsprint .awp-section { background: var(--np-paper); }
.awp-world-newsprint .awp-section-alt { background: var(--np-paper-alt); }

.awp-world-newsprint .awp-eyebrow {
    font-family: var(--np-font-stamp);
    background: transparent;
    color: var(--np-red);
    padding: 0;
    border-radius: 0;
}

.awp-world-newsprint .awp-counter-list { border-top: 3px double var(--np-ink); }
.awp-world-newsprint .awp-counter-item { border-bottom: 1px solid var(--np-rule); }
.awp-world-newsprint .awp-counter-item h3 { font-family: var(--np-font-serif); font-weight: 700; font-size: 1.05rem; }

/* ---------- Trust signals as a torn ticket list ---------- */

.awp-world-newsprint .awp-section-alt ul li {
    background: var(--np-paper);
    border: 1px solid var(--np-ink);
    border-radius: 2px;
    font-family: var(--np-font-serif);
    font-weight: 700;
}

.awp-world-newsprint .awp-section-alt ul li::before {
    background: var(--np-red) !important;
    color: #fff;
    border-radius: 2px;
}

/* ---------- Contact section ---------- */

.awp-world-newsprint #contact .awp-eyebrow { color: var(--np-red); }

/* =========================================================================
   Bespoke trade-design world: market (greengrocer). Standing rule
   2026-08-23 (Richard) -- every trade design gets its own visual
   identity. Reference brief 2026-08-23: a blue masthead/green nav-bar
   site chrome, a big photo banner, a two-column card grid -- built here
   as a genuine market-stall world (deep blue + fresh green, condensed
   display face, photo banner with a real in-page nav bar), not a copy
   of the reference's actual (unrelated, weight-loss-blog) content.
   ========================================================================= */

.awp-world-market {
    --mk-blue: #1c5c8a;
    --mk-blue-deep: #123f60;
    --mk-green: #3f9142;
    --mk-green-deep: #2c6b2e;
    --mk-cream: #fbfaf3;
    --mk-cream-alt: #f1f3e8;
    --mk-ink: #1f2a1f;
    --mk-ink-soft: #4d5a4d;

    --mk-font-display: 'Fjalla One', 'Arial Narrow', sans-serif;
    --mk-font-body: 'Karla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    background: var(--mk-cream);
    color: var(--mk-ink);
    font-family: var(--mk-font-body);
}

.awp-world-market h1,
.awp-world-market h2,
.awp-world-market h3 {
    font-family: var(--mk-font-display);
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--mk-ink);
}

.awp-world-market p { color: var(--mk-ink-soft); }
.awp-world-market .awp-hero::after { content: none; }

/* ---------- Market nav bar (real in-page anchors, not fake site nav) ---------- */

/* Re-theme the shared hours-banner (default: the shopfront system's
   hazard-stripe motif, which clashes badly here) into a plain blue bar. */
.awp-world-market .awp-hours-banner {
    background: var(--mk-blue);
    background-image: none;
}

.awp-world-market .awp-hours-banner span {
    background: var(--mk-blue-deep);
    font-family: var(--mk-font-display);
    letter-spacing: 0.03em;
    border-radius: 4px;
}

.awp-market-nav {
    background: var(--mk-green);
}

.awp-market-nav-inner {
    display: flex;
    gap: 4px;
    padding: 10px 24px;
}

.awp-market-nav a {
    color: #fff;
    text-decoration: none;
    font-family: var(--mk-font-display);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    padding: 4px 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.awp-market-nav a:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- Banner hero ---------- */

.awp-hero-banner {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.awp-hero-banner-bg { position: absolute; inset: 0; }

.awp-hero-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    animation: awp-fade-up 0.6s ease both;
}

.awp-hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 63, 96, 0.92) 0%, rgba(18, 63, 96, 0.15) 60%, rgba(18, 63, 96, 0) 100%);
}

.awp-hero-banner-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 48px 24px;
}

.awp-hero-banner .awp-tag {
    background: var(--mk-green);
    color: #fff;
    font-family: var(--mk-font-display);
    opacity: 0;
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.awp-hero-banner h1 {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    max-width: 16ch;
    margin: 18px 0 14px;
    opacity: 0;
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.awp-hero-banner .awp-lede {
    color: rgba(255, 255, 255, 0.9);
    max-width: 42ch;
    margin: 0;
    opacity: 0;
    animation: awp-fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

@media (max-width: 640px) {
    .awp-hero-banner { min-height: 420px; }
    .awp-hero-banner-content { padding: 32px 20px; }
}

/* ---------- Market grid (services, no photos per card -- colour +
   type carry it) ---------- */

.awp-world-market .awp-section { background: var(--mk-cream); }
.awp-world-market .awp-section-alt { background: var(--mk-cream-alt); }

.awp-world-market .awp-eyebrow {
    font-family: var(--mk-font-display);
    background: transparent;
    color: var(--mk-green-deep);
    padding: 0;
    border-radius: 0;
    letter-spacing: 0.05em;
}

.awp-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.awp-market-card {
    background: #fff;
    border-radius: 10px;
    padding: 26px 24px;
    box-shadow: 0 1px 2px rgba(31, 42, 31, 0.06);
    opacity: 0;
    animation: awp-rise 0.4s ease both;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.awp-market-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -12px rgba(31, 42, 31, 0.25);
}

.awp-market-card h3 { color: var(--mk-green-deep); }
.awp-market-card-blue h3 { color: var(--mk-blue-deep); }

.awp-market-card:nth-child(1) { animation-delay: 0.05s; }
.awp-market-card:nth-child(2) { animation-delay: 0.12s; }
.awp-market-card:nth-child(3) { animation-delay: 0.19s; }
.awp-market-card:nth-child(4) { animation-delay: 0.26s; }
.awp-market-card:nth-child(5) { animation-delay: 0.33s; }
.awp-market-card:nth-child(6) { animation-delay: 0.40s; }

.awp-market-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.awp-market-card p { margin-bottom: 0; }

/* ---------- Trust-signal tickets ---------- */

.awp-world-market .awp-section-alt ul li {
    background: #fff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(31, 42, 31, 0.06);
    font-family: var(--mk-font-body);
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.awp-world-market .awp-section-alt ul li:hover { transform: translateX(6px); }

.awp-world-market .awp-section-alt ul li::before {
    background: var(--mk-blue) !important;
    color: #fff;
    border-radius: 50%;
}
