/* Partymate — Berry. Mobile-first: base rules are the phone (390px), the
   computer layout is added in the min-width blocks at the bottom. */

@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

:root {
    --aubergine: #2B0A2A;
    --aubergine-light: #3D1440;
    --raspberry: #D81E5B;
    --raspberry-dark: #B0124A;
    --peach: #FFB38A;
    --gold: #FFD166;
    --paper: #FBF5F1;
    --tint: #FDE7EF;
    --mute: #6B5568;
    --line: #E3DFD6;
    --green: #0F7B4F;
    --white: #fff;
    --lilac: #BFA6FF;
    --radius: 20px;
    --pad: 20px;
    --shadow: 0 14px 34px rgba(43, 10, 42, .16);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--white); }
/* Pulling the page down on a phone shows the header colour, not a pale strip above it. */
html.page-dark-top { background: var(--aubergine); }
/* Newer iPhones colour the bar above the page (clock, battery) from the body background,
   so the body carries the header colour and the page content carries the paper colour. */
body { background-color: var(--white) !important; }
html.page-dark-top body { background-color: var(--aubergine) !important; }
main { background: var(--paper); }

body {
    margin: 0;
    font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--aubergine);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 16px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
    position: absolute; left: 12px; top: -80px; z-index: 100;
    padding: 12px 18px; border-radius: 999px;
    background: var(--white); color: var(--aubergine); font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 720px; }

/* ---------- Type ---------- */

.h2 { font-size: 27px; line-height: 1.14; font-weight: 700; letter-spacing: -.02em; }

.eyebrow {
    font-size: 11px; line-height: 1.4; font-weight: 700;
    letter-spacing: .13em; text-transform: uppercase;
    margin-bottom: 8px;
}
.eyebrow--raspberry { color: var(--raspberry-dark); }
.eyebrow--gold { color: var(--gold); }
.eyebrow--dim { color: rgba(255, 255, 255, .72); }

.link { font-weight: 700; text-decoration: none; }
.link--arrow { padding: 12px 0 4px; border-bottom: 2px solid var(--peach); display: inline-block; }
.link:hover { color: var(--raspberry-dark); }

/* ---------- Buttons, chips ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 56px; padding: 0 28px;
    border: 0; border-radius: 999px; cursor: pointer;
    font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; text-align: center;
    transition: transform .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--raspberry { background: var(--raspberry); color: var(--white); }
.btn--raspberry:hover { background: var(--raspberry-dark); }
.btn--peach { background: var(--peach); color: var(--aubergine); }
.btn--peach:hover { background: #ffc4a3; }
.btn--dark { background: var(--aubergine); color: var(--white); }
.btn--dark:hover { background: var(--aubergine-light); }
.btn--white { background: var(--white); color: var(--aubergine); }
.btn--white:hover { background: var(--tint); }

.chip {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
    border-radius: 999px; border: 1px solid var(--line);
    font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
}
/* Lilac outline, as in the mock-up: tinted with the background rather than plain white. */
.chip--ghost { border: 1.500px solid #7A5680; color: var(--white); }
.chip--ghost:hover { background: var(--aubergine-light); border-color: #A583AB; }
.chip--white { background: var(--white); }
.chip--white:hover { border-color: var(--aubergine); }
.chip--paper { background: var(--paper); border-color: transparent; min-height: 36px; padding: 0 14px; font-size: 14px; }

.pill {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
    border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.pill--dark { background: var(--aubergine); color: var(--white); }
.pill--outline { border: 1.5px solid var(--aubergine); }

.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.tick { flex: none; margin-top: 2px; }
.ticks--gold { --tick-bg: var(--gold); --tick-fg: var(--aubergine); }
.ticks--white { --tick-bg: var(--white); --tick-fg: var(--raspberry); font-weight: 500; }

/* ---------- Confetti (used sparingly) ---------- */

.confetti { position: absolute; pointer-events: none; }
.confetti--dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.confetti--dash { width: 26px; height: 9px; border-radius: 999px; background: var(--peach); transform: rotate(35deg); }
.confetti--arc {
    width: 30px; height: 30px; border-radius: 50%;
    border: 6px solid transparent; border-top-color: var(--peach); border-right-color: var(--peach);
    transform: rotate(10deg);
}

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

.header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header--dark { background: var(--aubergine); color: var(--white); border-bottom: 0; }
.header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.header__nav { display: none; }
/* The one button every visitor needs, on phones too. */
.header__cta { display: inline-flex; white-space: nowrap; height: 40px; padding: 0 14px; font-size: 14.5px; }
.header__actions { display: flex; align-items: center; gap: 6px; }
.header__login {
    white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
    font-size: 15px; font-weight: 500; text-decoration: none;
}

.logo { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; color: inherit; }
.logo img { width: 133px; height: auto; }

.menu { position: static; }
.menu summary {
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 12px; cursor: pointer; list-style: none;
    background: var(--paper);
}
.header--dark .menu summary { background: var(--aubergine-light); }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel {
    position: absolute; left: 12px; right: 12px; top: 72px;
    display: grid; gap: 2px; padding: 12px;
    background: var(--white); color: var(--aubergine);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.menu__panel a:not(.btn) {
    display: flex; align-items: center; min-height: 48px; padding: 0 12px;
    border-radius: 12px; font-weight: 700; text-decoration: none;
}
.menu__panel a:not(.btn):hover { background: var(--paper); }
.menu__panel .btn { margin-top: 8px; }

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

.section { padding: 52px 0; position: relative; }
.section--tight { padding: 28px 0 4px; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--aubergine); color: var(--white); }
.section--raspberry { background: var(--raspberry); color: var(--white); overflow: hidden; }
.section__head-link { display: none; }
.section__foot-link { display: flex; justify-content: flex-end; margin-top: 12px; }

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

.hero { background: var(--aubergine); color: var(--white); padding: 20px 0 32px; position: relative; overflow: hidden; }
.hero__grid { position: relative; }
.hero__c1, .hero__c2, .hero__c3, .hero__c4, .hero__c5, .hero__c6 { display: none; }

.hero__headline { position: relative; }

.hero__title { font-size: 44px; line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
.hero__title span { display: block; color: var(--peach); }
.hero__lead { margin-top: 14px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .9); max-width: 34em; }

.quote-form {
    margin-top: 22px; padding: 12px;
    background: var(--white); color: var(--aubergine);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.quote-form__fields { display: grid; gap: 8px; margin-bottom: 10px; }
.field {
    display: block; padding: 10px 14px 9px;
    border: 1.5px solid var(--line); border-radius: 14px; cursor: text;
}
.field:focus-within { border-color: var(--raspberry); box-shadow: 0 0 0 3px var(--tint); }
.field__label {
    display: block; font-size: 10.500px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--mute);
}
.field input {
    display: block; width: 100%; padding: 2px 0 0; border: 0; background: none; outline: 0;
    font-size: 16px; font-weight: 500; line-height: 1.5;
}
.field input::placeholder { color: #8a7887; font-weight: 400; opacity: 1; }
.field--postcode input { text-transform: uppercase; }
.field--postcode input::placeholder { text-transform: none; }

.popular { display: flex; align-items: center; gap: 10px; margin: 16px calc(var(--pad) * -1) 0 0; }
.popular__label { flex: none; font-size: 14px; color: rgba(255, 255, 255, .8); }
.popular__list {
    display: flex; gap: 8px; overflow-x: auto; padding-right: var(--pad);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.popular__list::-webkit-scrollbar { display: none; }
.popular__list li { flex: none; }

/* Phones: the hero is the form and little else. The promises shrink to a quiet note and the example inbox moves to "How it works". */
.hero .ticks { margin-top: 16px; gap: 6px; font-size: 13.500px; color: rgba(255, 255, 255, .85); }
.hero .ticks li { gap: 8px; align-items: center; }
.hero .ticks .tick { width: 16px; height: 16px; margin-top: 0; }
.hero .inbox { display: none; }
.steps__sample { margin-top: 14px; }
.steps li > div { min-width: 0; flex: 1; }

/* Sample quote */
.inbox { margin-top: 30px; }
.inbox__eyebrow { margin-bottom: 12px; }
.inbox__stack { display: grid; gap: 8px; }

.quote-card, .request-card {
    background: var(--white); color: var(--aubergine);
    border-radius: var(--radius); padding: 18px;
}
.quote-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.quote-card__top .eyebrow { margin: 0; }
.quote-card__distance { font-size: 13px; color: var(--mute); white-space: nowrap; }
.quote-card__who { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.quote-card__who strong { display: block; font-size: 17px; line-height: 1.25; }
.quote-card__who span:not(.avatar) { font-size: 14px; color: var(--mute); }
.quote-card__message { margin-top: 12px; font-size: 15px; color: var(--mute); }
.quote-card__foot {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--line);
}
.quote-card__price { display: block; white-space: nowrap; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
.quote-card__foot span:not(.pill) { font-size: 13px; color: var(--mute); white-space: nowrap; }
.quote-card__foot .pill { flex: none; padding-inline: 14px; }
.quote-card__actions { display: flex; gap: 8px; }
.quote-card__message-action { display: none; }

.avatar {
    flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); object-fit: cover;
    display: grid; place-items: center; font-weight: 700; font-size: 18px; color: var(--aubergine);
}
/* Says plainly that the hero cards are an illustration. */
.quote-card__example {
    display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px;
    background: var(--tint); color: var(--raspberry-dark); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.avatar--gold { background: var(--gold); }
.avatar--lilac { background: var(--lilac); }

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.badge {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px;
    border-radius: 999px; background: #E3F3EC; color: var(--green);
    font-size: 12.500px; font-weight: 700;
    --tick-bg: var(--green); --tick-fg: #fff;
}
.badge .tick { width: 16px; height: 16px; margin: 0; }

.quote-row {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: var(--aubergine-light); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
}
.quote-row .avatar { width: 36px; height: 36px; }
.quote-row__who { flex: 1; min-width: 0; }
.quote-row__who strong { display: block; font-size: 15.500px; line-height: 1.3; }
.quote-row__who span { display: block; font-size: 12.500px; color: rgba(255, 255, 255, .75); }
.quote-row__price { font-size: 16px; white-space: nowrap; }
.quote-row__wide { display: none !important; }

/* ---------- Seasonal strip ---------- */

.seasonal { background: var(--gold); border-radius: var(--radius); padding: 22px 20px 20px; display: grid; gap: 16px; }
.seasonal .eyebrow { margin-bottom: 4px; }
.seasonal__title { font-size: 23px; line-height: 1.15; letter-spacing: -.02em; }

/* ---------- Popular near you ---------- */

.wrap--bleed { padding: 0; }
.tiles {
    display: flex; gap: 12px; margin-top: 20px; padding: 0 var(--pad) 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tiles::-webkit-scrollbar { display: none; }
.tiles li { flex: none; width: 178px; scroll-snap-align: start; }
.tile {
    display: block; height: 100%; overflow: hidden; text-decoration: none;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.tile:hover { border-color: var(--aubergine); }
.tile__photo {
    display: flex; align-items: flex-end; height: 116px; padding: 8px 10px;
    font-size: 11px; font-weight: 500; color: var(--mute);
    background: repeating-linear-gradient(135deg, #ECE7DD 0 18px, #E3DDD0 18px 36px);
}
.tile__photo--img { display: block; width: 100%; padding: 0; object-fit: cover; object-position: 50% 12%; background: var(--line); }
.tile__body { display: block; padding: 14px 16px 16px; }
.tile__body strong { display: block; font-size: 17px; line-height: 1.25; }
.tile__body span { display: block; margin-top: 2px; font-size: 13.500px; color: var(--mute); }

/* ---------- Checked before they quote ---------- */

.checks__title { max-width: 14em; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.check {
    display: flex; gap: 14px; padding: 18px;
    background: var(--aubergine-light); border-radius: var(--radius);
}
.check__icon {
    flex: none; display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--gold);
}
.check h3 { font-size: 17px; line-height: 1.3; }
.check p { margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, .78); }

/* ---------- How it works ---------- */

.steps { display: grid; gap: 20px; margin-top: 24px; }
.steps li { display: flex; gap: 14px; }
.steps__num {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px;
    border-radius: 50%; background: var(--raspberry); color: var(--white); font-weight: 700;
}
.steps li:last-child .steps__num { background: var(--peach); color: var(--aubergine); }
.steps h3 { font-size: 18px; line-height: 1.3; padding-top: 4px; }
.steps p { margin-top: 4px; color: var(--mute); }

.compare {
    width: 100%; margin-top: 28px; border-collapse: separate; border-spacing: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; font-size: 15px; text-align: left;
}
.compare tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; padding: 14px 16px; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare th, .compare td { padding: 0; font-weight: 400; }
.compare thead td { display: none; }
.compare thead th { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.compare thead .compare__us { color: var(--raspberry-dark); }
.compare tbody th { grid-column: 1; grid-row: 1; font-size: 13px; font-weight: 700; }
.compare tbody td { grid-column: 1; grid-row: 2; color: var(--mute); }
.compare tbody .compare__us { grid-column: 2; grid-row: 1 / span 2; align-self: end; color: var(--aubergine); font-weight: 700; }

/* ---------- Occasions ---------- */

.occasions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.occasion {
    display: flex; flex-direction: column; justify-content: flex-end; min-height: 116px; padding: 16px;
    border-radius: var(--radius); text-decoration: none; border: 1px solid transparent;
    transition: transform .12s ease;
}
.occasion:hover { transform: translateY(-2px); }
.occasion strong { font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.occasion span { display: none; }
.occasion--aubergine { background: var(--aubergine); color: var(--white); }
.occasion--tint { background: var(--tint); }
.occasion--peach { background: var(--peach); }
.occasion--gold { background: var(--gold); }
.occasion--paper { background: var(--paper); border-color: var(--line); }
.occasion--raspberry { background: var(--raspberry); color: var(--white); }

/* ---------- For suppliers ---------- */

.suppliers__grid { position: relative; }
.suppliers__c1, .suppliers__c2, .suppliers__c3, .suppliers__c4 { display: none; }
.suppliers__lead { margin-top: 12px; font-size: 16.500px; }
.suppliers__grid { display: grid; gap: 22px; }
.request-card { box-shadow: 0 18px 36px rgba(43, 10, 42, .25); }
.request-card h3 { margin-top: 8px; font-size: 18.500px; line-height: 1.25; letter-spacing: -.01em; }
.request-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.request-card .btn { margin-top: 16px; }
.suppliers__outro { display: grid; gap: 22px; }

/* ---------- Cities ---------- */

/* "Everything you can book": plain columns of links */
.book { display: grid; gap: 24px; margin-top: 18px; }
.book__group h3 { font-size: 17px; margin-bottom: 8px; }
.book__group ul { columns: 2; column-gap: 24px; }
.book__group li { break-inside: avoid; }
.book__group a { display: inline-block; padding: 7px 0; font-size: 15.5px; text-decoration: none; color: var(--aubergine); }
.book__group a:hover { text-decoration: underline; color: var(--raspberry-dark); }
.footer__group summary {
    display: flex; align-items: center; justify-content: space-between; min-height: 56px;
    font-size: 17px; font-weight: 700; cursor: pointer; list-style: none;
}
.footer__group summary::-webkit-details-marker { display: none; }
.footer__group summary::after { content: "+"; font-size: 20px; font-weight: 500; }
.footer__group[open] summary::after { content: "–"; }

/* ---------- Final call to action ---------- */

.section--final { padding-top: 0; }
.final {
    position: relative; overflow: hidden; padding: 30px 24px 28px;
    background: var(--aubergine); color: var(--white); border-radius: 22px;
}
.final__title { font-size: 34px; line-height: 1.08; letter-spacing: -.02em; max-width: 7.500em; }
.final p { margin: 14px 0 22px; color: rgba(255, 255, 255, .88); max-width: 30em; }
.final .btn { width: 100%; }
.final__c1 { top: 18px; right: 20px; width: 38px; height: 38px; }
.final__c2 { top: 74px; right: 30px; width: 14px; height: 14px; }
.final__c3 { display: none; }

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

.footer { background: var(--white); border-top: 1px solid var(--line); padding: 32px 0 28px; }
.footer__brand p { margin: 8px 0 10px; color: var(--mute); }
.footer__group { border-bottom: 1px solid var(--line); }
.footer__group summary { font-size: 16px; }
.footer__group ul { padding-bottom: 12px; }
.footer__group a, .footer__links a {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--mute); text-decoration: none;
}
.footer__group a:hover, .footer__links a:hover { color: var(--aubergine); text-decoration: underline; }
.footer__legal { margin-top: 18px; font-size: 13.500px; color: var(--mute); }
.footer__links { margin-top: 2px; }
.footer__links a { color: var(--aubergine); font-weight: 500; padding: 0 2px; }

/* ---------- Sticky phone bar ---------- */

.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
    background: var(--white); box-shadow: 0 -6px 24px rgba(43, 10, 42, .14);
}
.sticky-cta strong { display: block; font-size: 15px; line-height: 1.3; }
.sticky-cta span { display: block; font-size: 13px; color: var(--mute); }
.sticky-cta .btn { min-height: 48px; padding: 0 22px; flex: none; }
.has-sticky .footer { padding-bottom: 104px; }

/* ---------- Simple pages ---------- */

.page { min-height: 50vh; }
.page__body { margin: 16px 0 24px; color: var(--mute); }

/* ---------- Forms and account pages ---------- */

.wrap--form { max-width: 680px; }
.page .h2 { margin-bottom: 8px; }
.legal__date { font-size: 13.5px; color: var(--mute); }
.legal__intro { margin-top: 14px !important; font-size: 17px; }
.legal h2 { font-size: 19px; line-height: 1.3; margin: 30px 0 8px; }
.legal p { max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 22px; margin: 8px 0 10px; max-width: 66ch; }
.legal li + li { margin-top: 6px; }
.legal__back { margin-top: 32px !important; }
.lead { font-size: 17px; color: var(--mute); margin-bottom: 20px; }
.page p + p { margin-top: 10px; }
.page a:not(.btn):not(.card):not(.link) { color: var(--raspberry-dark); }

.btn--outline { background: transparent; color: var(--aubergine); box-shadow: inset 0 0 0 1.500px var(--aubergine); }
.btn--outline:hover { background: var(--tint); }

.progress { margin-bottom: 18px; }
.progress__text { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--raspberry-dark); }
.progress__bar { display: flex; gap: 6px; margin-top: 8px; }
.progress__bar span { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.progress__bar .is-done { background: var(--raspberry); }

.form { display: grid; gap: 20px; margin-top: 8px; }
.form__section { font-size: 20px; line-height: 1.25; margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.form__pair { display: grid; gap: 20px; }
.form__terms { font-size: 14px; color: var(--mute); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-actions .btn { flex: 1 1 auto; }

.input__label, .choices legend { display: block; font-weight: 700; font-size: 16px; padding: 0; }
.input__optional { font-weight: 400; color: var(--mute); }
.input__hint { font-size: 14.500px; color: var(--mute); margin-top: 2px; }
.input__error { font-size: 14.500px; font-weight: 700; color: #B3122D; margin-top: 4px; }
.input__control { position: relative; margin-top: 8px; }
.input__control input, .input__control textarea, .input__control select {
    display: block; width: 100%; min-height: 54px; padding: 12px 16px;
    border: 1.500px solid #BDB3BB; border-radius: 14px; background: var(--white);
    font-size: 16px; line-height: 1.4; color: var(--aubergine); appearance: none;
}
.input__control select {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.500 5 5 5-5' fill='none' stroke='%232B0A2A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.input__control textarea { min-height: 132px; resize: vertical; }
.input__control input:focus, .input__control textarea:focus, .input__control select:focus {
    outline: 0; border-color: var(--raspberry); box-shadow: 0 0 0 3px var(--tint);
}
.input--error .input__control input, .input--error .input__control textarea { border-color: #B3122D; }
.input__control--prefix input { padding-left: 34px; }
.input__prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--mute); }
.input__file { display: block; width: 100%; margin-top: 8px; padding: 14px; border: 1.500px dashed #BDB3BB; border-radius: 14px; background: var(--white); }
.is-upper { text-transform: uppercase; }

.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.choices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
    display: flex; align-items: center; min-height: 52px; padding: 8px 14px;
    border: 1.500px solid var(--line); border-radius: 14px; background: var(--white);
    font-size: 15px; font-weight: 500; line-height: 1.25;
}
.choice input:checked + span { border-color: var(--raspberry); background: var(--tint); box-shadow: inset 0 0 0 1px var(--raspberry); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choices--error .choice span { border-color: #B3122D; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 16px; border-radius: 14px; margin: 14px 0; font-size: 15.500px; }
.alert ul { list-style: disc; padding-left: 20px; margin-top: 4px; }
.alert--error { background: #FDECEF; color: #7A0C1F; border: 1px solid #F3B9C3; }
.alert--ok { background: #E3F3EC; color: #0A5637; border: 1px solid #B5DDCA; }
.alert--warn { background: #FFF4D6; color: #5C4300; border: 1px solid #F3DB95; }

.notice { padding: 28px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.notice .btn { margin-top: 8px; }

.card {
    display: block; padding: 18px; margin-top: 12px; text-decoration: none;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.card--link:hover { border-color: var(--aubergine); }
.card__row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__row .eyebrow { margin: 0; }
.card__heading { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin: 14px 0 4px; }
.card__heading:first-child { margin-top: 0; }
.card__title { display: block; font-size: 18px; line-height: 1.3; margin: 4px 0; }
.card__meta { display: block; font-size: 14.500px; color: var(--mute); }
.card__text { margin-top: 8px; white-space: pre-line; overflow-wrap: anywhere; }
.card__price { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #E3F3EC; color: var(--green); font-size: 12.500px; font-weight: 700; }
.tag--warn { background: #FFF4D6; color: #5C4300; }
.profile__head { display: flex; align-items: center; gap: 16px; }
.profile__head .h2 { margin: 0; }
.profile__avatar { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--tint); }
.profile__avatar--blank { display: grid; place-items: center; font-size: 34px; font-weight: 700; color: var(--raspberry-dark); }
.profile__tagline { margin-top: 4px; color: var(--mute); }
.profile__facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 16px 0 14px; font-size: 15px; color: var(--mute); }
.profile__facts li:not(:last-child)::after { content: "·"; margin: 0 8px; }
.thread { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.thread__list { display: grid; gap: 8px; margin: 8px 0 14px; }
.thread__item { max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper); }
.thread__item--mine { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--tint); }
.thread__who { font-size: 12.500px; font-weight: 700; color: var(--mute); }
.thread__body { margin-top: 2px !important; white-space: pre-line; overflow-wrap: anywhere; }
.thread__form .input__control { margin-top: 6px; }
.thread__form textarea { min-height: 72px; }
.thread__form .btn { margin-top: 10px; }
.header__me { gap: 8px; padding: 0 6px; }
.me-menu { position: relative; }
.me-menu > summary { cursor: pointer; list-style: none; border-radius: 999px; }
.me-menu > summary::-webkit-details-marker { display: none; }
.me-menu__panel {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: min(280px, calc(100vw - 32px)); padding: 8px;
    background: var(--white); color: var(--aubergine); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(43, 10, 42, .18);
}
.me-menu__panel a, .me-menu__panel button {
    display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px;
    background: none; color: inherit; font: inherit; font-size: 15.5px; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer;
}
.me-menu__panel a:hover, .me-menu__panel button:hover { background: var(--paper); }
.me-menu__panel form { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.me-menu__panel button { color: var(--mute); }
.me-menu__who { padding: 8px 12px 10px; margin: 0 0 4px; border-bottom: 1px solid var(--line); font-weight: 700; line-height: 1.3; }
.me-menu__who span { display: block; font-size: 13px; font-weight: 400; color: var(--mute); overflow: hidden; text-overflow: ellipsis; }
.me-menu__panel .menu__new { display: grid !important; height: auto; padding: 10px 12px !important; margin: 4px 0; }
.face {
    position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
    border-radius: 50%; background: var(--tint); color: var(--raspberry-dark); font-size: 19px; font-weight: 700; line-height: 1;
}
.face--sm { width: 36px; height: 36px; font-size: 15px; }
.face--lg { width: 64px; height: 64px; font-size: 24px; }
.face--xs { width: 24px; height: 24px; font-size: 11px; }
.face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.header--dark .face { background: var(--peach); color: var(--aubergine); }
.card__who { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.card__who .card__title, .card__who .card__meta { margin: 0; }
.thread__who { display: flex; align-items: center; gap: 6px; }
.header__name { display: none; max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }
.header__badge {
    position: absolute; top: -6px; right: -8px;
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px; background: var(--raspberry); color: var(--white);
    font-size: 12px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 2px var(--white);
}
.header--dark .header__badge { box-shadow: 0 0 0 2px var(--aubergine); }
.menu__new { display: grid !important; gap: 2px; padding: 10px 12px !important; margin-bottom: 4px; background: var(--tint); color: var(--raspberry-dark); font-size: 15px; }
.menu__new span { display: block; }
.tag--new { background: var(--raspberry); color: var(--white); }
.unread { display: inline-block; color: var(--raspberry-dark); font-weight: 700; }
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; color: var(--line); }
.stars svg { width: 16px; height: 16px; }
.stars .is-on { color: #E8A600; }
.profile__rating { margin-top: 6px; font-size: 15px; }
.profile__rating a { color: inherit !important; text-decoration: none; }
.profile__score { margin-top: 10px; font-size: 17px; }
.review .card__row { align-items: center; }
.choices__grid--five { grid-template-columns: repeat(5, 1fr); }
.choices__grid--five .choice span { justify-content: center; padding: 8px 4px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.gallery--edit form { display: grid; gap: 8px; }
.card--cta { margin-top: 28px; background: var(--tint); border-color: transparent; }
.card--cta .btn { margin-top: 14px; }
.card__links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; }
.party { margin-top: 22px; }
.party__when { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.party .card { margin-top: 8px; }
.party .card__title { margin: 0; }
.party__add { margin-top: 8px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 700; color: var(--raspberry-dark); }
.party__add:hover { text-decoration: underline; }
.add-more { margin-top: 18px; }
.add-more .card__heading { margin: 18px 0 8px; }
.tag--plain { background: var(--paper); color: var(--mute); }
.card--chosen { border: 2px solid var(--green); }
.card--quiet { background: transparent; }
.card__action { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.card__action .input__hint { margin-top: 8px; }

.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.facts dt { font-size: 14px; color: var(--mute); }
.facts dd { margin: 0; font-weight: 500; }

.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.thumbs img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.thumbs--large img { width: 160px; height: 160px; }

.menu__logout, .footer__button {
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--mute);
    min-height: 44px; text-align: left;
}
.menu__logout { width: 100%; padding: 0 12px; font-weight: 700; color: var(--aubergine); }

/* ---------- Service and occasion pages ---------- */

.hero--page { padding: 8px 0 44px; }
.hero--page .hero__title { font-size: 38px; }
.hero--page .quote-form { max-width: 520px; }
.quote-form--inline .quote-form__fields { grid-template-columns: 1fr; }
.hero--page .ticks { margin-top: 22px; }
.hero__cta { margin-top: 24px; }

.crumbs { margin-bottom: 14px; font-size: 13.500px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.crumbs li { display: flex; align-items: center; gap: 8px; min-height: 32px; line-height: 1.2; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs span { color: rgba(255, 255, 255, .6); }

.h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 14px; }
.ticks--raspberry { --tick-bg: var(--raspberry); --tick-fg: #fff; }
.guide { display: grid; gap: 14px; }
.guide__card { padding: 22px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.guide__lead { color: var(--mute); margin: -6px 0 12px; }
.guide__list { display: grid; gap: 10px; }
.guide__list li { padding-left: 16px; border-left: 3px solid var(--peach); font-weight: 500; }
.section__cta { margin-top: 28px; }

.links { display: grid; gap: 30px; }
.links__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.service-cards { display: grid; gap: 12px; margin-top: 20px; }
.service-card { display: block; height: 100%; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.service-card:hover { border-color: var(--aubergine); }
.service-card strong { display: block; font-size: 19px; line-height: 1.25; }
.service-card span { display: block; margin-top: 6px; color: var(--mute); font-size: 15px; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    display: grid; gap: 12px; padding: 16px;
    background: var(--white); color: var(--aubergine);
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    font-size: 14.500px;
}
.cookie-banner a { color: var(--raspberry-dark); font-weight: 700; }
.cookie-banner__actions { display: flex; gap: 8px; }
.cookie-banner__actions .btn { flex: 1; }
/* The sticky bar waits until the cookie question is answered, so the two never stack. */
.has-cookie-banner .sticky-cta { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .occasion { transition: none; }
}

/* ================= Tablet ================= */

/* A quote as the organiser sees it: who and how much, what they said, what to do, then the conversation. */
.quote { padding: 18px; }
.quote + .quote { margin-top: 14px; }
.quote__head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 12px; }
.quote__who { flex: 1; min-width: 0; }
.quote__name { display: block; font-size: 18px; line-height: 1.3; overflow-wrap: anywhere; }
.quote__who .card__meta { margin: 2px 0 0; }
.quote__when { margin: 2px 0 0; font-size: 13px; color: var(--mute); }
.quote__side { flex-basis: 100%; display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.quote__price { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.quote__text { margin-top: 12px; }
.quote__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.quote__actions:empty { display: none; }
.quote__actions .btn { flex: 1 1 auto; padding: 0 14px; white-space: nowrap; }
.quote__actions .input__hint { flex-basis: 100%; margin: 2px 0 0; }
.quote__talk { margin-top: 16px; border-top: 1px solid var(--line); }
.quote__talk summary {
    display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: -2px;
    font-size: 15px; font-weight: 700; cursor: pointer; list-style: none;
}
.quote__talk summary::-webkit-details-marker { display: none; }
.quote__talk summary::after { content: "+"; font-size: 20px; font-weight: 500; color: var(--mute); }
.quote__talk[open] summary::after { content: "–"; }
.thread--folded { margin-top: 0; padding-top: 0; border-top: 0; }
.thread--folded .thread__list { margin-top: 0; }
.card--chosen .card__heading { margin-top: 18px; }

@media (min-width: 640px) {
    .quote { padding: 22px 24px; }
    .quote__head { flex-wrap: nowrap; }
    .quote__actions .btn { flex: none; padding: 0 20px; }
    .quote__side { flex: none; flex-basis: auto; flex-direction: column-reverse; align-items: flex-end; gap: 6px; margin-top: 0; }
    .thread__item { max-width: 80%; }
    :root { --pad: 32px; }
    .form__pair { grid-template-columns: 1fr 1fr; }
    .choices__grid { grid-template-columns: repeat(3, 1fr); }
    .form-actions .btn { flex: 0 0 auto; }
    .cookie-banner { left: auto; right: 20px; bottom: 20px; max-width: 420px; }
    .guide { grid-template-columns: 1fr 1fr; gap: 18px; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .guide__card { padding: 28px; }
    .service-cards { grid-template-columns: 1fr 1fr; }
    .notice { padding: 36px; }
    .tiles li { width: 220px; }
    .occasions { grid-template-columns: repeat(3, 1fr); }
    .checks { grid-template-columns: 1fr 1fr; }
    .quote-form__fields { grid-template-columns: 1.300fr 1fr; }
    .seasonal { grid-template-columns: 1fr auto; align-items: center; padding: 24px 28px; }
    .final .btn, .suppliers__outro .btn { width: auto; justify-self: start; }
}

/* ================= Computer ================= */

@media (min-width: 900px) {
    :root { --pad: 40px; }

    .h2 { font-size: 44px; line-height: 1.08; }
    .eyebrow { margin-bottom: 12px; }
    .section { padding: 88px 0; }
    .section--tight { padding: 44px 0 0; }
    .sticky-cta { display: none !important; }
    .has-sticky .footer { padding-bottom: 28px; }

    /* Header */
    .header__bar { min-height: 76px; }
    .header__nav { display: flex; gap: 2px; margin: 0 auto 0 24px; white-space: nowrap; }
    .header__cta { white-space: nowrap; }
    .header__nav a {
        display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px;
        border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none;
    }
    .header__nav a:hover { background: rgba(127, 127, 127, .16); }
    .header__nav a[aria-current] { background: rgba(127, 127, 127, .16); font-weight: 700; }
    .header__cta { height: 44px; padding: 0 20px; font-size: 15px; }
    /* On wide screens the links sit in the header itself, so they are not repeated under the picture. */
    .me-menu__link { display: none !important; }
    .header__actions { gap: 12px; }
    .header__name { display: inline-block; }
    .header__me { gap: 10px; margin-right: 6px; }
    .menu { display: none; }
    .logo img { width: 158px; }

    /* Hero */
    .hero { padding: 44px 0 96px; }
    .hero__grid { display: grid; grid-template-columns: minmax(0, 1.150fr) minmax(0, 1fr); gap: 64px; align-items: center; }
    .hero__title { font-size: 50px; }
    .hero__lead { font-size: 19px; margin-top: 22px; max-width: 26em; }
    .quote-form { margin-top: 32px; max-width: 520px; }
    .popular { margin-right: 0; }
    .popular__list { flex-wrap: wrap; overflow: visible; padding-right: 0; }
    .popular .chip { min-height: 36px; font-size: 14px; padding: 0 14px; }
    .hero__c1 { display: block; top: -34px; left: 44%; width: 12px; height: 12px; }
    .hero__c2 { display: block; top: auto; bottom: 96px; left: 49%; right: auto; background: var(--gold); transform: rotate(-20deg); width: 34px; height: 11px; }

    /* Sample quotes overlap on a computer; on a phone they are a list. */
    .hero .inbox { display: block; }
    .steps__sample { display: none; }
    .hero .ticks { margin-top: 20px; gap: 10px; font-size: 15.500px; color: inherit; }
    .hero .ticks li { gap: 10px; align-items: flex-start; }
    .hero .ticks .tick { width: 20px; height: 20px; margin-top: 2px; }
    .inbox { margin-top: 0; }
    .inbox__eyebrow { display: none; }
    .inbox__stack { display: block; position: relative; padding: 28px 28px 0 0; }
    .inbox__stack::before, .inbox__stack::after {
        content: ""; position: absolute; inset: 0 0 76px 34px;
        background: var(--aubergine-light); border-radius: var(--radius); transform: rotate(3deg);
    }
    .inbox__stack::after { inset: 12px 12px 66px 16px; background: #4A1B4D; transform: rotate(1.500deg); }
    .quote-card { position: relative; z-index: 2; padding: 22px; box-shadow: var(--shadow); }
    .quote-row {
        position: relative; z-index: 3; margin: -22px -4px 0 auto;
        background: var(--white); color: var(--aubergine); border: 0; box-shadow: var(--shadow);
        padding: 16px 18px;
    }
    .quote-row__who span { color: var(--mute); font-size: 13.500px; }
    .quote-row + .quote-row { display: none; }
    /* The overlapping card shows its badges instead of a price on the right. */
    .quote-row { flex-wrap: wrap; row-gap: 10px; align-items: flex-start; width: 70%; padding: 18px 20px; border-radius: var(--radius); }
    .quote-row .avatar { width: 40px; height: 40px; }
    .quote-row__who strong { font-size: 17px; }
    .quote-row__narrow { display: none !important; }
    .quote-row span.quote-row__wide { display: block !important; }
    .quote-row ul.quote-row__wide { display: grid !important; gap: 8px; flex-basis: 100%; margin: 0; justify-items: start; }

    .hero--page { padding: 20px 0 72px; }
    .hero--page .hero__title { font-size: 56px; }
    .hero--page .hero__lead { max-width: 34em; }
    .h3 { font-size: 24px; }
    .service-cards { grid-template-columns: repeat(3, 1fr); }

    /* Seasonal */
    .seasonal { padding: 26px 32px; }
    .seasonal__title { font-size: 26px; }

    /* Popular */
    .section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
    .section__head-link { display: inline-block; }
    .section__foot-link { display: none; }
    .wrap--bleed { padding: 0 var(--pad); }
    .tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; overflow: visible; margin-top: 32px; }
    .tiles li { width: auto; }
    .tile__photo { height: 150px; }
    .tile__body { padding: 18px 20px 20px; }
    .tile__body strong { font-size: 21px; }

    /* Checks */
    .checks { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
    .check { display: block; padding: 24px; }
    .check__icon { margin-bottom: 18px; }
    .check h3 { font-size: 19px; }

    /* How it works */
    .how { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
    .steps { margin-top: 36px; gap: 26px; }
    .steps h3 { font-size: 20px; }
    .compare { margin-top: 0; font-size: 15.500px; }
    .compare tr { grid-template-columns: .8fr 1fr 1fr; padding: 18px 22px; column-gap: 18px; }
    .compare thead td { display: block; }
    .compare tbody th { grid-row: auto; font-size: 15.500px; }
    .compare tbody td { grid-column: auto; grid-row: auto; }
    .compare tbody .compare__us { grid-column: auto; grid-row: auto; align-self: start; }

    /* Occasions */
    .occasions { gap: 18px; margin-top: 36px; }
    .occasion { min-height: 164px; padding: 26px; }
    .occasion strong { font-size: 28px; }
    .occasion span { display: block; margin-top: 6px; font-size: 14.500px; opacity: .86; }

    /* Suppliers */
    .suppliers__grid {
        grid-template-columns: 1fr 1fr; column-gap: 72px; row-gap: 28px; align-items: start;
        grid-template-areas: "intro card" "outro card";
    }
    .suppliers__intro { grid-area: intro; align-self: end; }
    .suppliers__outro { grid-area: outro; }
    .suppliers__lead { font-size: 18px; margin-top: 18px; }
    .request-card { grid-area: card; align-self: center; padding: 26px; transform: rotate(2deg); }
    .request-card .btn { width: auto; }
    .suppliers__c1 { display: block; top: -44px; left: 47%; width: 40px; height: 40px; border-top-color: var(--gold); border-right-color: var(--gold); transform: rotate(-45deg); }
    .suppliers__c4 { display: block; bottom: -34px; left: 55%; width: 12px; height: 12px; background: var(--white); }

    /* Cities */
    .book { grid-template-columns: 3fr 1fr; gap: 48px; margin-top: 28px; }
    .book__group ul { columns: 3; }
    .book__group:last-child ul { columns: 1; }
    .cities__nation ul { padding: 0; }
    #cities { padding-bottom: 56px; }
    #cities .h2 { font-size: 44px; }
    .cities .chip { min-height: 40px; }

    /* Final */
    .final { padding: 72px 72px 68px; border-radius: 28px; }
    .final__title { font-size: 60px; max-width: none; }
    .final p { font-size: 19px; margin: 18px 0 30px; }
    .final .btn { width: auto; }
    .final__c1 { top: 64px; right: 22%; width: 64px; height: 64px; border-width: 11px; }
    .final__c2 { top: 190px; right: 10%; width: 30px; height: 30px; }
    .final__c3 { display: block; bottom: 96px; right: 24%; width: 72px; height: 22px; background: var(--raspberry); transform: rotate(-22deg); }

    /* Footer */
    .footer { padding: 56px 0 28px; }
    .footer__grid { display: grid; grid-template-columns: 1.600fr 1fr 1fr 1fr; gap: 40px; }
    .footer__brand p { max-width: 16em; }
    .footer__group { border: 0; }
    .footer__group summary { min-height: 0; margin-bottom: 6px; font-size: 15px; cursor: default; pointer-events: none; }
    .footer__group summary::after { content: none !important; }
    .footer__group a { min-height: 36px; font-size: 15px; }
    .footer__legal {
        display: flex; justify-content: space-between; align-items: center; gap: 24px;
        margin-top: 36px; padding-top: 18px;
        background: linear-gradient(var(--line), var(--line)) no-repeat var(--pad) 0 / calc(100% - 2 * var(--pad)) 1px;
    }
    .footer__links { margin: 0; white-space: nowrap; }
}

@media (min-width: 1100px) {
    .hero__title { font-size: 68px; }
    .header__nav { gap: 6px; margin-left: 56px; }
    .header__nav a { padding: 0 14px; }
    .quote-card__message-action { display: inline-flex; }
}

/* The outer confetti needs room beside the content, so it waits for wide screens. */
@media (min-width: 1240px) {
    .hero__c3 { display: block; top: 0; left: -40px; width: 34px; height: 34px; transform: rotate(-80deg); }
    .hero__c4 { display: block; top: -30px; right: -40px; width: 38px; height: 38px; border-top-color: var(--gold); border-right-color: var(--gold); transform: rotate(20deg); }
    .hero__c5 { display: block; top: 46%; right: -50px; width: 14px; height: 14px; background: var(--peach); }
    .hero__c6 { display: block; top: 64%; left: -54px; width: 36px; height: 13px; background: var(--raspberry); transform: rotate(-24deg); }
    .suppliers__c2 { display: block; top: 40px; right: -50px; width: 36px; height: 13px; background: var(--gold); transform: rotate(30deg); }
    .suppliers__c3 { display: block; bottom: 60px; left: -46px; width: 14px; height: 14px; background: var(--peach); }
}

/* Bar for an administrator looking round as a demo account: one line, scrolls sideways if it must. */
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 5px 12px; background: var(--gold); color: var(--aubergine); font-size: 12.5px; font-weight: 700; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.demo-bar::-webkit-scrollbar { display: none; }
.demo-bar span { margin-right: auto; padding-right: 6px; }
.demo-bar form { flex: none; }
.demo-bar button { min-height: 28px; padding: 0 9px; border: 1px solid rgba(43, 10, 42, .45); border-radius: 999px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.demo-bar button:hover { background: var(--aubergine); color: var(--white); }

/* Suppliers covering a city (service + city pages) */
.people { display: grid; gap: 10px; margin-top: 20px; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin: 0; height: 100%; }
.person__body { display: grid; gap: 2px; min-width: 0; }
.person__name { font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.person__rating { font-size: 14px; }
.person__line { font-size: 14.5px; }
.person__meta { font-size: 13.5px; color: var(--mute); }
@media (min-width: 700px) { .people { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1040px) { .people { grid-template-columns: repeat(3, 1fr); } }

/* ---- Account screens (requests, quotes, supplier pages): tidy on a phone first ---- */
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 6px 0 14px; }
.page-head .h2 { margin: 0; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: var(--tint); color: var(--raspberry-dark); font-size: 13px; font-weight: 700; vertical-align: 2px; letter-spacing: 0; }
.form__section--plain { border-top: 0; padding-top: 0; margin-top: 26px; margin-bottom: 10px; }

/* The request at a glance */
.summary { padding: 14px; }
.summary__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 0; }
.summary__grid > div { padding: 10px 12px; border-radius: 12px; background: var(--paper); min-width: 0; }
.summary__wide { grid-column: 1 / -1; }
.summary__grid dt { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.summary__grid dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.summary__grid dd span { display: block; font-size: 13.5px; font-weight: 500; color: var(--mute); }
.summary__wide dd span { display: inline; margin-left: 8px; }
.summary__words { margin: 12px 2px 2px; white-space: pre-line; overflow-wrap: anywhere; }
.summary__foot { margin: 10px 2px 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }

/* A folded-away line (the organiser's own details) */
.fold { margin-top: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.fold summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; font-size: 14.5px; font-weight: 700; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-size: 20px; font-weight: 500; color: var(--mute); }
.fold[open] summary::after { content: "–"; }
.fold[open] { padding-bottom: 14px; }
.fold p { margin: 0 0 4px; }

/* Supplier: piles of requests */
.pile { margin-top: 24px; }
.pile__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.pile .card { margin-top: 8px; }
.job { display: grid; gap: 2px; padding: 14px 16px; }
.job__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.job__title { font-size: 17px; line-height: 1.3; }
.job__meta { font-size: 14px; color: var(--mute); }
.job__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; }
.job--past { background: transparent; }
.job--past .job__title { font-weight: 600; }

/* Supplier: their own profile card */
.me__head { display: flex; align-items: center; gap: 12px; }
.me__name { display: block; font-size: 17px; line-height: 1.3; }
.me__facts { margin: 14px 0 0; border-top: 1px solid var(--line); }
.me__facts div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.me__facts dt { color: var(--mute); flex: none; }
.me__facts dd { margin: 0; font-weight: 600; text-align: right; }
.thumbs--row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-top: 14px; }
.thumbs--row::-webkit-scrollbar { display: none; }
.thumbs--row img { width: 72px; height: 72px; flex: none; }
.me__actions, .won__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.me__actions .btn, .won__actions .btn { flex: 1 1 auto; padding: 0 14px; white-space: nowrap; }

/* Supplier: "you've been chosen" */
.won { background: #F1FAF5; margin-bottom: 10px; }
.won__title { display: flex; align-items: center; gap: 8px; font-size: 19px; line-height: 1.25; --tick-bg: var(--green); }
.won__title .tick { margin-top: 0; }
.won__lead { margin: 4px 0 12px; font-size: 14.5px; color: var(--mute); }
.won__name { margin: 0; font-weight: 700; }
.won__email { margin: 8px 0 0; font-size: 14px; color: var(--mute); overflow-wrap: anywhere; }
.quote__side--inline { flex-basis: auto; margin-top: 0; }

@media (min-width: 640px) {
    .summary { padding: 18px; }
    .summary__grid { grid-template-columns: 1.6fr 1.2fr .8fr .8fr; }
    .summary__wide { grid-column: auto; }
    .summary__wide dd span { display: block; margin-left: 0; }
    .me__actions .btn, .won__actions .btn { flex: none; padding: 0 20px; }
}

/* Very narrow phones: let the price note on the sample card wrap rather than push the page wide. */
@media (max-width: 350px) { .quote-card__foot span:not(.pill) { white-space: normal; } }

/* ---------- A request and its quotes ---------- */
.req__lead { margin: -4px 0 12px; }
/* On a phone, once quotes are in they come first: the organiser already knows their own party. */
.req { display: flex; flex-direction: column; }
.req__party { order: -1; }
.req--has-quotes .req__party { order: 0; }
.req__quotes > .won:first-child { margin-top: 4px; }
.req--has-quotes .req__quotes > .form__section:first-child { margin-top: 4px; }
.req__more { margin-top: 8px; }
/* Booking: the button opens a short "are you sure" in place of the buttons. */
.quote__book summary { list-style: none; cursor: pointer; }
.quote__book summary::-webkit-details-marker { display: none; }
.quote__book { flex: 1 1 auto; }
.quote__book .quote__book-open { display: flex; width: 100%; }
.quote__book-close { display: none; }
.quote__book[open] { flex-basis: 100%; padding: 14px 16px; border-radius: 14px; background: var(--tint); }
.quote__book[open] .quote__book-open { display: none; }
.quote__book[open] summary { float: right; }
.quote__book[open] .quote__book-close { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; font-size: 14.5px; font-weight: 700; text-decoration: underline; }
.quote__actions:has(.quote__book[open]) > a { display: none; }
.quote__confirm-title { margin: 0 0 4px; font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.quote__confirm .input__hint { margin: 0 0 12px; color: var(--aubergine); }
.quote__confirm .btn { flex: none; }
/* Messages: one line when folded, saying who wrote last. */
.quote__talk summary { gap: 10px; }
.quote__talk-label { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.quote__talk-last { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 400; color: var(--mute); text-align: right; }
.quote__talk[open] .quote__talk-last { visibility: hidden; }
@media (min-width: 700px) {
    .quote__book { flex: none; }
}
@media (min-width: 1000px) {
    .wrap--form-wide { max-width: 1040px; }
    .req, .req--has-quotes { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "quotes party" "quotes more"; grid-template-rows: auto 1fr; column-gap: 40px; align-items: start; }
    .req__quotes { grid-area: quotes; }
    .req__party { grid-area: party; }
    .req__more { grid-area: more; }
    .req__quotes > .form__section:first-child, .req__party > .form__section:first-child { margin-top: 0; }
    .req__party, .req--has-quotes .req__party { order: 0; }
    .req__more { margin-top: 0; }
    .req__party .summary__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Photos on a request ---------- */
.held-photos, .summary__photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.held-photos { margin: 4px 0 12px; }
.held-photos li { display: grid; gap: 4px; justify-items: center; }
.held-photos img, .summary__photos img { display: block; width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--paper); }
.summary__photos a { display: block; border-radius: 12px; }
.held-photos__remove { border: 0; background: none; padding: 4px 6px; font-size: 13.5px; font-weight: 700; color: var(--raspberry-dark); text-decoration: underline; cursor: pointer; }
.file-input { display: block; width: 100%; padding: 12px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--white); font-size: 15px; }
.file-input::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--aubergine); color: var(--white); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
