/* ==========================================================================
   9RIB — theme "pop"
   Neo-brutalist & joyful: thick ink outlines, hard offset shadows,
   sunny colour blocks, sticker labels, buttons that physically press.
   ========================================================================== */

:root {
    --ink: #141414;
    --ink-2: #2a2a2a;
    --bg: #fff7e6;
    --surface: #ffffff;
    --muted: #5c5650;
    --coral: #ff6b4a;
    --coral-dark: #e8502e;
    --yellow: #ffd23f;
    --yellow-soft: #fff1b8;
    --mint: #7ee2b8;
    --mint-soft: #d9f8ea;
    --lilac: #c9b8ff;
    --lilac-soft: #ece6ff;
    --sky: #9fd3ff;
    --sky-soft: #e1f1ff;
    --pink: #ffb3c7;
    --pink-soft: #ffe3eb;
    --red: #e5343a;
    --green: #128a5a;

    --bw: 2.5px;
    --border: var(--bw) solid var(--ink);
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --sh-sm: 2px 2px 0 var(--ink);
    --sh: 4px 4px 0 var(--ink);
    --sh-lg: 7px 7px 0 var(--ink);

    --display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
    --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* dotted paper pattern */
    --dots: radial-gradient(rgba(20, 20, 20, .14) 1.2px, transparent 1.2px);
    --card: #ffffff;
    --night: #141414;
    --dots-c: rgba(20, 20, 20, .14);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
::selection { background: var(--yellow); }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.mt { margin-top: 1.75rem; }
.muted { color: var(--muted); }
.small, .small-note { font-size: .88rem; }
.small-note { color: var(--muted); margin: .75rem 0; }
.accent { color: var(--coral-dark); font-weight: 700; }
.strong { font-weight: 700; }
.show-sm { display: none; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0 0 .6rem; letter-spacing: -.035em; }
.display { font-size: clamp(2.8rem, 6.2vw, 5rem); color: var(--ink); line-height: .98; letter-spacing: -.05em; }
.display--dark { color: var(--ink); }
.h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.h2 { font-size: clamp(1.45rem, 2.5vw, 1.85rem); }
.h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.h4 { font-size: 1rem; letter-spacing: -.01em; }
.h1.mt, .h2.mt, .h3.mt { margin-top: 2.5rem; }
.lead { font-size: 1.15rem; max-width: 34rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
    font-family: var(--display); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--ink); margin: 0 0 1.1rem; padding: .3rem .8rem; border: 2px solid var(--ink); border-radius: 999px;
    background: var(--pink); box-shadow: var(--sh-sm); transform: rotate(-1.5deg);
}
.eyebrow::before { content: "★"; font-size: .8em; }
.eyebrow--gold { background: var(--surface); }
.text-gradient {
    display: inline-block; background: var(--coral); color: #fff; padding: 0 .2em .06em; margin-top: .08em;
    border: var(--border); border-radius: 14px; box-shadow: var(--sh); transform: rotate(-1.5deg);
}

/* ---------- Buttons: press me ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1.35rem; border-radius: 12px; border: var(--border); background: var(--surface); color: var(--ink);
    font-family: var(--display); font-weight: 700; font-size: .98rem; letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
    box-shadow: var(--sh); transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn--primary { background: var(--coral); color: #fff; }
.btn--navy { background: var(--night); color: #fff; box-shadow: 4px 4px 0 var(--coral); }
.btn--navy:hover { box-shadow: 5px 5px 0 var(--coral); }
.btn--ghost { background: var(--surface); }
.btn--link-light { background: var(--surface); }
.btn--sm { padding: .5rem .95rem; font-size: .88rem; box-shadow: var(--sh-sm); }
.btn--sm:hover { box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:active { transform: translate(2px, 2px); box-shadow: none; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; font-weight: 700; }

/* ---------- Header / footer ---------- */
.demo-bar {
    background: var(--night); color: var(--yellow); text-align: center; font-family: var(--display);
    font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .4rem 1rem;
}
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: var(--border); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 70px; }
.site-header__brand { text-decoration: none; margin-inline-end: auto; }
.site-nav { display: flex; gap: .4rem; }
.site-nav a {
    color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: .98rem;
    padding: .4rem .85rem; border-radius: 10px; border: 2px solid transparent; transition: background .12s, border-color .12s;
}
.site-nav a:hover { border-color: var(--ink); background: var(--surface); }
.site-nav a.is-active { background: var(--yellow); border-color: var(--ink); box-shadow: var(--sh-sm); }

.logo { display: inline-flex; align-items: center; gap: .35rem; line-height: 1; }
.logo__pin { width: 30px; height: 30px; padding: 4px; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; }
.logo__text { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.35rem; letter-spacing: -.04em; }

.site-footer { background: var(--night); color: #cfc8c0; margin-top: 6rem; padding: 4rem 0 1.75rem; font-size: .95rem; border-top: var(--border); }
.site-footer .logo__text { color: #fff; }
.site-footer__inner { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__contact { display: grid; gap: .55rem; align-content: start; }
.site-footer__legal { border-top: 2px dashed rgba(255, 255, 255, .2); padding-top: 1.25rem; margin-top: 2.5rem; font-size: .82rem; color: #9b948c; }

/* ---------- Flash ---------- */
.flash { padding: .85rem 1rem; border-radius: var(--r-sm); margin: 1rem 0; font-weight: 600; display: flex; gap: .65rem; align-items: flex-start; border: var(--border); box-shadow: var(--sh-sm); }
.flash::before { flex: none; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--surface); }
.flash--success { background: var(--mint); }
.flash--success::before { content: "✓"; }
.flash--error { background: var(--pink); }
.flash--error::before { content: "!"; }
.flash--info { background: var(--yellow); }
.flash--info::before { content: "i"; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--tight { padding: 1rem 0 2rem; }
.section--paper { background: var(--surface) var(--dots); background-size: 20px 20px; border-block: var(--border); }
.section--navy { background: var(--lilac); border-block: var(--border); }
.section--navy .lead { color: var(--ink); }
.section__head { max-width: 44rem; margin-bottom: 2.75rem; }
.section__head .muted { font-size: 1.08rem; }
.page-head { padding: 3.5rem 0 1.75rem; max-width: 50rem; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.card { background: var(--surface); border: var(--border); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--sh); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.75rem; }
.cards-3 .card:nth-child(1) { background: var(--yellow-soft); }
.cards-3 .card:nth-child(2) { background: var(--mint-soft); }
.cards-3 .card:nth-child(3) { background: var(--sky-soft); }
.cards-3 .card .muted { color: var(--ink-2); }
.cta { text-align: center; padding: 5rem 0 2rem; }
.cta .eyebrow { margin-bottom: 1.4rem; }
.cta .muted { margin-bottom: 2rem; font-size: 1.08rem; }
.caption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.25rem; font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    width: min(1180px, 100% - 40px); margin: 2rem auto 0;
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
    background: var(--yellow); border: var(--border); border-radius: 26px; box-shadow: var(--sh-lg); min-height: 540px;
}
.hero__grid { display: none; }
.hero__text { padding-block: 3.75rem 3.5rem; padding-inline: 3.5rem 2rem; display: flex; flex-direction: column; justify-content: center; }
.hero__text .display { margin-bottom: 1.5rem; }
.hero__text .lead { color: var(--ink); font-weight: 500; }
.hero__small { color: var(--ink-2); font-size: 1rem; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.5rem; }
.hero__promise { margin: 0; font-family: var(--display); font-weight: 700; display: flex; align-items: center; gap: .55rem; }
.hero__promise span { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); font-size: .72rem; }
.hero__visual {
    position: relative; display: grid; place-items: center; padding: 2.5rem 1.5rem; min-height: 440px;
    background: var(--mint) var(--dots); background-size: 18px 18px; border-inline-start: var(--border);
}
.hero__visual::after {
    content: attr(data-label-c); position: absolute; top: 1.25rem; inset-inline-end: 1.25rem;
    font-family: var(--display); font-weight: 700; font-size: .8rem; padding: .35rem .8rem;
    background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; box-shadow: var(--sh-sm); transform: rotate(3deg);
}
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; padding: 2.25rem 0 0; }
.trust span {
    display: inline-flex; gap: .5rem; align-items: center; font-family: var(--display); font-weight: 700; font-size: .95rem;
    padding: .45rem 1rem; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; box-shadow: var(--sh-sm);
}
.trust span:nth-child(1) { transform: rotate(-1.5deg); }
.trust span:nth-child(3) { transform: rotate(1.5deg); }
.trust i { width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); position: relative; flex: none; }
.trust i::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .6rem; font-style: normal; font-weight: 800; }

/* ---------- The printed guide (HTML/CSS mock) ---------- */
.guide {
    --h: 330px;
    display: flex; gap: 6px; height: var(--h); justify-content: center;
    font-size: calc(var(--h) / 42);
}
.guide--tilt { transform: rotate(-2deg); filter: drop-shadow(6px 6px 0 var(--ink)); }
.panel {
    width: calc(var(--h) * .42); flex: none; background: #fff; border-radius: 6px; padding: 5px;
    border: 2px solid var(--ink); overflow: hidden;
}
.panel--cover {
    width: calc(var(--h) * .5); display: flex; flex-direction: column; align-items: stretch; text-align: center; color: var(--ink); padding: 2.2em 1em 1em;
    background: var(--coral);
}
.cover__title { display: flex; flex-direction: column; font-family: var(--display); line-height: 1; letter-spacing: -.04em; color: #fff; }
.cover__title b { font-size: 1.7em; }
.cover__title i { font-style: normal; font-weight: 700; font-size: 1.5em; color: var(--yellow); }
.cover__title small { font-size: .75em; opacity: .9; }
.cover__sub { border-top: 2px solid var(--ink); padding-top: .7em; margin: .8em 0 .4em; font-weight: 700; font-size: .85em; line-height: 1.3; color: #fff; }
.cover__ed { color: var(--ink); font-weight: 700; font-size: .8em; margin: 0; }
.cover__card {
    margin-top: auto; background: var(--yellow); color: var(--ink); border-radius: 6px; padding: .7em; width: 100%;
    display: flex; flex-direction: column; gap: .15em; text-align: start; border: 2px solid var(--ink);
}
.cover__card small { font-size: .72em; font-weight: 700; text-transform: uppercase; }
.cover__card strong { font-family: var(--display); font-size: 1.05em; line-height: 1.1; }
.cover__card b { font-size: .78em; }
.cover__card span { font-size: .78em; display: flex; justify-content: space-between; align-items: center; font-weight: 700; }

.panel--slots { display: grid; grid-template-rows: repeat(3, 1fr); gap: 5px; background: var(--bg); }
.slot { background: #fff; border-radius: 5px; padding: .6em; min-height: 0; display: flex; flex-direction: column; gap: .25em; overflow: hidden; border: 1.5px solid var(--ink); }
.slot__brand { font-size: .7em; font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; gap: .3em; text-transform: uppercase; }
.slot__brand em { font-style: normal; background: var(--night); color: #fff; border-radius: 99px; padding: 0 .5em; white-space: nowrap; text-transform: none; }
.slot__title { font-family: var(--display); font-weight: 700; font-size: 1.22em; line-height: 1.05; color: var(--ink); letter-spacing: -.03em; }
.slot__text { font-size: .8em; color: var(--muted); }
.slot__foot { margin-top: auto; font-size: .76em; color: var(--ink); font-weight: 700; display: flex; justify-content: space-between; align-items: flex-end; gap: .3em; }
.qr {
    display: inline-grid; place-items: center; width: 2.4em; height: 2.4em; flex: none;
    border: 1.5px solid var(--ink); border-radius: 3px; font-size: .72em; font-weight: 800; color: var(--ink); background: #fff;
}
.slot--a { background: var(--sky-soft); }
.slot--b { background: #fff; }
.slot--mint { background: var(--mint-soft); }
.slot--photo::before { content: ""; display: block; flex: none; height: 3.2em; margin: -.6em -.6em .3em; border-bottom: 1.5px solid var(--ink); }
.slot--warm::before { background: var(--pink); }
.slot--cool::before { background: var(--lilac); height: 6em; }

.slot--you { display: none; background: var(--yellow-soft); border: 2.5px solid var(--ink); padding: 0; box-shadow: inset 0 0 0 2px var(--coral); }
.slot--you .slot__tag { background: var(--ink); color: var(--yellow); font-size: .8em; font-weight: 700; padding: .5em .6em; font-family: var(--display); }
.slot--you .slot__photo { display: none; background: var(--surface) var(--dots); background-size: 8px 8px; border: 1.5px dashed var(--ink); color: var(--ink); font-weight: 700; font-size: .8em; place-items: center; margin: .5em; flex: 1; border-radius: 4px; min-height: 0; }
.slot--you .slot__offer { font-family: var(--display); font-weight: 700; color: var(--coral-dark); font-size: 1.7em; padding: 0 .4em; letter-spacing: -.04em; }
.slot--you .slot__foot { padding: .4em .5em; }

.panel--slots[data-size="1"] .slot--you,
.panel--slots[data-size="2"] .slot--you,
.panel--slots[data-size="3"] .slot--you { display: flex; }
.panel--slots[data-size="2"] .slot--you { grid-row: span 2; }
.panel--slots[data-size="3"] .slot--you { grid-row: span 3; }
.panel--slots[data-size="2"] .slot--you .slot__photo,
.panel--slots[data-size="3"] .slot--you .slot__photo { display: grid; }
.panel--slots[data-size="2"] .slot--a,
.panel--slots[data-size="3"] .slot--a,
.panel--slots[data-size="3"] .slot--b { display: none; }

.panel--full {
    background: var(--ink); color: #fff; padding: 1em .8em; display: flex; flex-direction: column; justify-content: flex-end; gap: .4em;
}
.panel--full strong { font-family: var(--display); font-weight: 700; font-size: 2.15em; line-height: .95; letter-spacing: -.05em; color: var(--yellow); }
.panel--full .slot__brand { color: rgba(255, 255, 255, .85); }
.panel--full .slot__brand em { background: var(--mint); color: var(--ink); }
.panel--full .slot__text { color: rgba(255, 255, 255, .8); }
.panel--full .slot__foot { color: #fff; }
.panel--full .qr { border-color: #fff; }

.guide-stage { background: var(--sky) var(--dots); background-size: 20px 20px; border: var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 3rem 1rem; overflow-x: auto; }
.guide-stage .guide { --h: 460px; }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.75rem; }
.format {
    margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; --h: 340px; font-size: calc(var(--h) / 42);
    border: var(--border); border-radius: var(--r-lg); padding: 2rem 1rem 1.5rem; box-shadow: var(--sh);
}
.format:nth-child(1) { background: var(--yellow); }
.format:nth-child(2) { background: var(--pink); }
.format:nth-child(3) { background: var(--mint); }
.format .panel { width: calc(var(--h) * .5); height: var(--h); box-shadow: var(--sh); }
.format:nth-child(1) .panel { transform: rotate(-1.5deg); }
.format:nth-child(3) .panel { transform: rotate(1.5deg); }
.format figcaption { font-size: 1rem; text-align: center; font-weight: 500; }
.format figcaption b { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.02em; }
.format figcaption span { font-size: .9rem; font-weight: 700; }

/* ---------- Journey: colourful tiles ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.journey__col { display: contents; list-style: none; }
.journey__step {
    display: flex; flex-direction: column; gap: 1.75rem; justify-content: space-between; min-height: 128px;
    background: var(--surface); border: var(--border); border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--sh);
    font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -.025em; line-height: 1.15;
    transition: transform .15s, box-shadow .15s;
}
.journey__step:hover { transform: translate(-2px, -2px) rotate(-.6deg); box-shadow: 6px 6px 0 var(--ink); }
.journey__col:first-child .journey__step:nth-child(4n+1), .journey__col:last-child .journey__step:nth-child(4n+3) { background: var(--yellow-soft); }
.journey__col:first-child .journey__step:nth-child(4n+2), .journey__col:last-child .journey__step:nth-child(4n+4) { background: var(--sky-soft); }
.journey__col:first-child .journey__step:nth-child(4n+3), .journey__col:last-child .journey__step:nth-child(4n+1) { background: var(--mint-soft); }
.journey__col:first-child .journey__step:nth-child(4n+4), .journey__col:last-child .journey__step:nth-child(4n+2) { background: var(--lilac-soft); }
.journey__n {
    align-self: flex-start; font-size: .8rem; font-weight: 700; padding: .1rem .5rem; border: 2px solid var(--ink); border-radius: 8px; background: var(--surface); letter-spacing: 0;
}
.journey .journey__col .journey__step.is-key { background: var(--coral); color: #fff; } /* beats the colour cycle */
.journey__step.is-key .journey__n { background: var(--yellow); color: var(--ink); }

/* ---------- Zones ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.zone-card {
    background: var(--surface); border: var(--border); border-radius: var(--r-lg); padding: 1.5rem;
    display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; box-shadow: var(--sh);
    transition: transform .15s, box-shadow .15s;
}
.zone-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.zone-card .btn { margin-top: 1rem; }
.zone-card__name { font-family: var(--display); font-size: 1.3rem; font-weight: 700; margin: 0; letter-spacing: -.03em; }
.zone-card__areas, .zone-card__meta { margin: 0; color: var(--muted); font-size: .92rem; }
.zone-card--soon { background: transparent; box-shadow: none; border-style: dashed; }
.zone-card--soon:hover { transform: none; box-shadow: none; background: var(--surface); }
.status {
    align-self: flex-start; margin: .25rem 0; font-family: var(--display); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
    display: inline-flex; align-items: center; gap: .35rem; padding: .18rem .6rem; border-radius: 999px; border: 2px solid var(--ink);
}
.status--open { background: var(--mint); }
.status--open::before { content: "●"; color: var(--green); font-size: .7em; }
.status--soon { background: var(--yellow); }
.status--soon::before { content: "◔"; font-size: .9em; }
.spaces { margin: 0; font-size: .9rem; font-weight: 700; color: var(--green); }
.spaces--low { color: var(--coral-dark); }
.note-box { background: var(--lilac-soft); border: var(--border); border-radius: var(--r); padding: 1.1rem 1.35rem; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; box-shadow: var(--sh-sm); }
.note-box p { margin: 0; flex: 1 1 100%; color: var(--ink-2); font-size: .95rem; }
.note-box .btn { margin-top: .7rem; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.75rem 0; }
.kpis--2 { grid-template-columns: repeat(2, 1fr); }
.kpi { border: var(--border); border-radius: var(--r); padding: 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; box-shadow: var(--sh); background: var(--surface); }
.kpi:nth-child(1) { background: var(--yellow); }
.kpi:nth-child(2) { background: var(--mint); }
.kpi:nth-child(3) { background: var(--sky); }
.kpi:nth-child(4) { background: var(--pink); }
.kpi b { font-family: var(--display); color: var(--ink); font-size: 2.2rem; line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.kpi span { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.kpis--light .kpi b { font-size: 1.8rem; }

/* ---------- Rules ---------- */
.rules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.rules li { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-sm); padding: .85rem 1rem; display: flex; gap: .9rem; align-items: center; font-size: .97rem; box-shadow: var(--sh-sm); }
.rules span { flex: none; font-family: var(--display); font-size: .8rem; font-weight: 700; padding: .1rem .45rem; border: 2px solid var(--ink); border-radius: 7px; background: var(--yellow); }

/* ---------- Campaign wizard ---------- */
.campaign { padding-top: 2.5rem; }
.steps { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; grid-template-columns: repeat(5, 1fr); border: var(--border); border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--sh); }
.steps li + li { border-inline-start: var(--border); }
.steps button {
    width: 100%; height: 100%; border: 0; background: transparent; color: var(--muted);
    padding: .75rem .6rem; font-family: var(--display); font-size: .92rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.steps button span { width: 1.5rem; height: 1.5rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid currentColor; font-size: .75rem; }
.steps button:disabled { cursor: default; color: #b5ada4; }
.steps li.is-current button { background: var(--yellow); color: var(--ink); }
.steps li.is-current button span { background: var(--night); border-color: var(--ink); color: var(--yellow); }
.steps li.is-done button { background: var(--mint-soft); color: var(--ink); }
.steps li.is-done button span { background: var(--mint); border-color: var(--ink); font-size: 0; }
.steps li.is-done button span::before { content: "✓"; font-size: .75rem; }
.steps-mobile { display: none; font-family: var(--display); font-weight: 700; font-size: .95rem; }

.campaign__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.5rem; align-items: start; }
.campaign__main { min-height: 440px; padding: 2rem 2rem 1.25rem; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .step:not(.is-current) { display: none; }
.step.is-current { animation: rise .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step legend { padding: 0; margin-bottom: .25rem; }

.choice-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
.choice-grid--2 { grid-template-columns: repeat(2, 1fr); }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__body {
    display: flex; flex-direction: column; gap: .3rem; height: 100%; position: relative;
    background: var(--surface); border: var(--border); border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--sh-sm);
    transition: transform .12s, box-shadow .12s, background .12s;
}
.choice:hover .choice__body { transform: translate(-1px, -1px); box-shadow: var(--sh); }
.choice input:checked + .choice__body { background: var(--yellow); box-shadow: var(--sh); transform: translate(-2px, -2px); }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--coral); outline-offset: 3px; }
.choice__title { font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.03em; padding-inline-end: 2rem; }
.choice__eyebrow { font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--coral-dark); }
.choice input:checked + .choice__body .choice__eyebrow { color: var(--ink); }
.choice__sub, .choice__meta { color: var(--muted); font-size: .9rem; }
.choice input:checked + .choice__body .choice__sub, .choice input:checked + .choice__body .choice__meta { color: var(--ink-2); }
.choice__price { font-weight: 700; font-size: .92rem; }
.choice__check {
    display: grid; position: absolute; top: .9rem; inset-inline-end: .9rem; width: 1.5rem; height: 1.5rem; border-radius: 7px;
    border: 2px solid var(--ink); background: var(--surface); font-size: 0; place-items: center;
}
.choice__check::before { content: "✓"; font-size: .85rem; font-weight: 800; opacity: 0; }
.choice input:checked + .choice__body .choice__check { background: var(--night); color: var(--yellow); }
.choice input:checked + .choice__body .choice__check::before { opacity: 1; }
.choice.is-unavailable .choice__body { opacity: .55; }
.choice-grid .status--open { background: var(--mint-soft); }

.preview { background: var(--sky-soft) var(--dots); background-size: 16px 16px; border: var(--border); border-radius: var(--r); padding: 1.5rem; overflow-x: auto; }
.preview .guide { --h: 250px; justify-content: flex-start; width: max-content; margin-inline: auto; }
.ok-line { color: var(--green); font-weight: 700; font-size: .95rem; }

.availability:empty { display: none; }
.availability { margin: 1.1rem 0; border-radius: var(--r); padding: 1rem 1.2rem; font-weight: 700; font-size: .98rem; border: var(--border); box-shadow: var(--sh-sm); }
.availability.is-ok { background: var(--mint); }
.availability.is-ko { background: var(--pink); }
.availability.is-ko b { display: block; font-family: var(--display); font-size: 1.08rem; letter-spacing: -.01em; }
.availability p { margin: .3rem 0 .9rem; font-weight: 500; }
.alt-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.alt-actions button {
    background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; padding: .6rem .8rem;
    font-family: var(--display); font-weight: 700; font-size: .88rem; cursor: pointer; box-shadow: var(--sh-sm); transition: transform .1s, box-shadow .1s;
}
.alt-actions button:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.alt-actions button:active { transform: translate(2px, 2px); box-shadow: none; }
.alt-actions button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.avail-detail { margin: .5rem 0 1rem; }
.avail-detail summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: .95rem; padding: .5rem 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; margin: 1.25rem 0; }
.form-grid--1 { grid-template-columns: 1fr; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid--7 { grid-template-columns: repeat(7, 1fr); }
label { display: flex; flex-direction: column; gap: .4rem; font-family: var(--display); font-weight: 700; font-size: .9rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
    width: 100%; border: var(--border); background: var(--surface); border-radius: var(--r-sm); padding: .7rem .9rem;
    font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--ink); transition: box-shadow .12s, transform .12s;
}
input::placeholder { color: #a39b92; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: var(--sh); transform: translate(-2px, -2px); background: var(--card); }
input.is-invalid { background: var(--pink-soft); box-shadow: 4px 4px 0 var(--red); }
.field-error { color: var(--red); font-weight: 700; font-size: .92rem; margin: .6rem 0 0; }
.field-error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span {
    display: inline-flex; align-items: center; border: 2px solid var(--ink); background: var(--surface); border-radius: 999px; padding: .5rem 1rem;
    font-family: var(--display); font-size: .92rem; font-weight: 700; box-shadow: var(--sh-sm); transition: all .12s;
}
.chip:hover span { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.chip input:checked + span { background: var(--lilac); }
.chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.check { flex-direction: row; align-items: center; gap: .6rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; margin-top: .6rem; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--ink); }

.recap-line { font-family: var(--display); font-weight: 700; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.recap-line span { background: var(--surface); border: 2px solid var(--ink); padding: .2rem .75rem; border-radius: 999px; }
.recap-line span:nth-child(1) { background: var(--mint); }
.recap-line span:nth-child(2) { background: var(--yellow); }
.recap-line span:nth-child(3) { background: var(--sky); }
.recap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.1rem; align-items: stretch; margin: 1.25rem 0; }
.preview--recap .guide { --h: 230px; }
.recap__prices { margin: 0; background: var(--yellow); border: var(--border); border-radius: var(--r); padding: 1.5rem; display: grid; gap: 1.1rem; align-content: center; box-shadow: var(--sh); }
.recap__prices dt { font-family: var(--display); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.recap__prices dd { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.05em; }
.recap__prices .is-accent dd { display: inline-block; justify-self: start; background: var(--coral); color: #fff; padding: 0 .3em; border: 2px solid var(--ink); border-radius: 10px; }
.terms { background: var(--lilac-soft); border: var(--border); border-radius: var(--r); padding: 1.1rem 1.3rem; }
.terms .eyebrow { transform: none; background: var(--surface); }
.terms p { margin: 0 0 .5rem; }

.step-nav { display: flex; justify-content: space-between; gap: .75rem; border-top: 2px dashed var(--ink); margin-top: 2rem; padding-top: 1.25rem; }
.step-nav [data-next], .step-nav [data-submit] { margin-inline-start: auto; }
.no-js .step-nav [data-next], .no-js .step-nav [data-prev] { display: none; }

.summary {
    background: var(--night); color: #e9e2d8; border: var(--border); border-radius: var(--r-lg); padding: 1.6rem; position: sticky; top: 96px;
    box-shadow: 7px 7px 0 var(--coral);
}
.summary__title { font-family: var(--display); color: var(--yellow); font-size: 1.15rem; font-weight: 700; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .02em; }
.summary__rows { margin: 0 0 1.5rem; }
.summary__rows div { display: flex; justify-content: space-between; border-bottom: 1.5px dashed rgba(255, 255, 255, .25); padding: .6rem 0; font-size: .95rem; }
.summary__rows dd { margin: 0; color: #fff; font-weight: 700; }
.summary__money { margin: 0; display: grid; gap: 1rem; }
.summary__money dt { font-size: .85rem; }
.summary__money dd { margin: 0; font-family: var(--display); color: #fff; font-weight: 700; font-size: 1.7rem; letter-spacing: -.05em; }
.summary__money div:nth-child(2) dd { display: inline-block; color: var(--ink); background: var(--yellow); padding: 0 .3em; border-radius: 8px; }
.summary__help { margin: 1.5rem 0 0; padding: .9rem 1rem; border-radius: var(--r-sm); background: rgba(255, 255, 255, .07); border: 1.5px dashed rgba(255, 255, 255, .3); font-size: .88rem; line-height: 1.5; }
.summary__help a { color: var(--yellow); font-weight: 700; text-decoration-color: var(--yellow); }
.mobile-bar { display: none; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.table th, .table td { text-align: start; padding: .85rem .75rem; border-bottom: 2px solid var(--ink); vertical-align: top; }
.table thead th { font-family: var(--display); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: var(--yellow); border-top: 2px solid var(--ink); }
.table thead th:first-child { border-inline-start: 2px solid var(--ink); border-start-start-radius: 10px; }
.table thead th:last-child { border-inline-end: 2px solid var(--ink); border-start-end-radius: 10px; }
.table tbody tr { transition: background .1s; }
.table tbody tr:hover { background: var(--yellow-soft); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table td.low { color: var(--coral-dark); font-weight: 700; }
.table tr.is-muted { opacity: .55; }
.table--grid td { min-width: 140px; }
.table .actions { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.cell-input { flex-direction: row; align-items: center; gap: .45rem; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; }
.cell-input input { width: 4.6rem !important; padding: .35rem .5rem !important; border-width: 2px !important; }

/* ---------- Confirmation ---------- */
.confirm { padding-top: 3rem; }
.confirm__card { max-width: 760px; margin-inline: auto; padding: 2.75rem; position: relative; box-shadow: var(--sh-lg); }
.confirm__card::before {
    content: attr(data-badge); position: absolute; top: -1rem; inset-inline-end: 1.75rem; font-family: var(--display); font-weight: 700; font-size: .9rem;
    background: var(--mint); border: var(--border); border-radius: 999px; padding: .3rem .9rem; transform: rotate(4deg); box-shadow: var(--sh-sm);
}
.next-step { background: var(--yellow-soft); border: var(--border); border-radius: var(--r); padding: 1.35rem 1.5rem; margin: 1.75rem 0; }
.next-step p { margin: 0 0 .75rem; }
.upload__drop { display: block; border: 2.5px dashed var(--ink); border-radius: var(--r-sm); padding: 1.1rem; background: var(--surface); cursor: pointer; font-weight: 600; transition: background .12s; }
.upload__drop:hover { background: var(--sky-soft); }
.upload__drop input { font-size: .88rem; }
.upload__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.file-list { list-style: none; padding: 0; margin: .9rem 0 0; color: var(--green); font-size: .95rem; font-weight: 700; }
.timeline { list-style: none; margin: 1.75rem 0; padding-block: 0 0; padding-inline: 1.75rem 0; border-inline-start: 2.5px solid var(--ink); margin-inline-start: .5rem; }
.timeline li { position: relative; padding-bottom: 1.15rem; display: flex; flex-direction: column; font-size: .98rem; font-weight: 500; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: calc(-1.75rem - 9px); top: .2rem; width: 16px; height: 16px; border-radius: 5px; background: var(--surface); border: 2.5px solid var(--ink); }
.timeline li.is-done::before { background: var(--mint); }
.timeline small { font-family: var(--display); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--coral-dark); }
.confirm__money { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin: 0; }
.confirm__money div { border: var(--border); border-radius: var(--r); padding: .9rem 1.1rem; box-shadow: var(--sh-sm); }
.confirm__money div:nth-child(1) { background: var(--sky-soft); }
.confirm__money div:nth-child(2) { background: var(--yellow); }
.confirm__money div:nth-child(3) { background: var(--pink-soft); }
.confirm__money dt { font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.confirm__money dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.04em; }

/* ---------- Report ---------- */
.report-wrap { padding-top: 3rem; }
.report { max-width: 920px; margin-inline: auto; padding: 2.5rem; box-shadow: var(--sh-lg); }
.report__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.1rem; }
.report__chart { background: var(--surface) var(--dots); background-size: 16px 16px; border: var(--border); border-radius: var(--r); padding: 1.2rem 1.4rem; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; height: 190px; align-items: end; margin-top: .75rem; }
.bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .35rem; }
.bar__fill { width: 100%; max-width: 36px; background: var(--coral); border: 2px solid var(--ink); border-radius: 6px 6px 0 0; min-height: 4px; box-shadow: 2px 0 0 var(--ink); }
.bar:nth-child(6) .bar__fill { background: var(--yellow); }
.bar__val { font-family: var(--display); font-size: .78rem; font-weight: 700; }
.bar__day { font-family: var(--display); font-size: .8rem; font-weight: 700; }
.report__zones { background: var(--mint-soft); border: var(--border); border-radius: var(--r); padding: 1.2rem 1.4rem; }
.report__zones dl { margin: 0; }
.report__zones dl div { display: flex; justify-content: space-between; border-bottom: 2px dashed var(--ink); padding: .8rem 0; }
.report__zones dd { margin: 0; font-family: var(--display); font-weight: 700; }
.report__next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; border-top: 2px dashed var(--ink); padding-top: 1.25rem; margin-top: 1rem; }
.report__next b { font-family: var(--display); font-size: 1.1rem; letter-spacing: -.02em; }

/* ---------- Modal ---------- */
.modal { border: var(--border); border-radius: var(--r-lg); padding: 0; width: min(460px, 100% - 32px); background: var(--bg); color: var(--ink); box-shadow: var(--sh-lg); overflow: visible; }
.modal[open] { animation: pop .2s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) rotate(-1deg); } to { opacity: 1; transform: none; } }
.modal::backdrop { background: rgba(20, 20, 20, .55); }
.modal__body { padding: 2rem; position: relative; }
.modal__close {
    position: absolute; top: -.9rem; inset-inline-end: -.9rem; width: 2.4rem; height: 2.4rem; border: var(--border); border-radius: 50%;
    background: var(--coral); color: #fff; font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: var(--sh-sm);
}
.modal__close:hover { transform: rotate(90deg); transition: transform .2s; }
.form-msg { font-weight: 700; font-size: .95rem; }
.form-msg.is-ok { color: var(--green); }
.form-msg.is-ko { color: var(--red); }

/* ---------- Team area ---------- */
.admin-body { display: grid; grid-template-columns: 252px 1fr; min-height: 100vh; }
.admin-side { background: var(--yellow); border-inline-end: var(--border); padding: 1.25rem .9rem; display: flex; flex-direction: column; gap: 1.75rem; position: sticky; top: 0; height: 100vh; }
.admin-side__brand { text-decoration: none; display: flex; align-items: center; gap: .6rem; padding-inline-start: .3rem; }
.admin-side__brand .logo__pin { background: var(--surface); }
.admin-side__brand small { font-family: var(--display); font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: .15rem .5rem; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface); }
.admin-nav { display: grid; gap: .35rem; }
.admin-nav a { color: var(--ink); text-decoration: none; padding: .55rem .8rem; border-radius: var(--r-sm); border: 2px solid transparent; font-family: var(--display); font-weight: 700; font-size: .95rem; }
.admin-nav a:hover { border-color: var(--ink); background: var(--yellow-soft); }
.admin-nav a.is-active { background: var(--surface); border-color: var(--ink); box-shadow: var(--sh-sm); }
.admin-user { margin-top: auto; display: grid; gap: .1rem; font-size: .88rem; border: var(--border); padding: .9rem 1rem; border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-sm); }
.admin-user b { font-family: var(--display); }
.admin-user span { color: var(--muted); }
.admin-user .link-btn { margin-top: .5rem; justify-self: start; }
.admin-main { padding: 2.25rem clamp(1rem, 3vw, 2.75rem); min-width: 0; }
.admin-head { margin-bottom: 1.75rem; }
.admin-head p { margin: 0 0 .25rem; }
.admin-head .h1 { font-size: 2.1rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.meter { margin-bottom: 1.1rem; }
.meter__label { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: .4rem; font-weight: 700; }
.meter__label span:last-child { color: var(--muted); font-weight: 500; }
.meter__track { height: 16px; border-radius: 99px; background: var(--surface); border: 2px solid var(--ink); overflow: hidden; }
.meter__track span { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--coral) 0 8px, var(--coral-dark) 8px 16px); border-inline-end: 2px solid var(--ink); }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.todo li a { display: flex; gap: .8rem; align-items: center; padding: .55rem .7rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; border: 2px solid var(--ink); background: var(--surface); font-weight: 500; transition: transform .1s, box-shadow .1s; }
.todo li a:hover { transform: translate(-1px, -1px); box-shadow: var(--sh-sm); }
.todo b { font-family: var(--display); font-size: 1rem; font-weight: 700; background: var(--yellow); border: 2px solid var(--ink); min-width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 8px; }
.todo li.is-empty { opacity: .5; }
.todo li.is-empty b { background: var(--surface); }
.badge { display: inline-flex; align-items: center; font-family: var(--display); font-size: .76rem; font-weight: 700; padding: .15rem .6rem; border-radius: 99px; border: 2px solid var(--ink); white-space: nowrap; background: var(--surface); }
.badge--reserved { background: var(--pink); }
.badge--assets_received { background: var(--yellow); }
.badge--ad_validated { background: var(--lilac); }
.badge--balance_paid { background: var(--sky); }
.badge--distributed { background: var(--mint); }
.badge--cancelled { background: #e7e1d8; color: var(--muted); }
.status-select { min-width: 180px; font-family: var(--display) !important; font-weight: 700 !important; font-size: .88rem !important; padding: .4rem .7rem !important; border-radius: 999px !important; border-width: 2px !important; }
.status-select:focus { transform: none !important; }
.status-select--reserved { background: var(--pink) !important; }
.status-select--assets_received { background: var(--yellow) !important; }
.status-select--ad_validated { background: var(--lilac) !important; }
.status-select--balance_paid { background: var(--sky) !important; }
.status-select--distributed { background: var(--mint) !important; }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.25rem; }
.filters input, .filters select { width: auto !important; min-width: 240px; }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: .6rem 1rem; margin: 0 0 1.25rem; font-size: .95rem; }
.dl dt { color: var(--muted); font-weight: 500; }
.dl dd { margin: 0; font-weight: 700; }
.inline-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.inline-form select { width: auto !important; }
.file-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.file-grid a { display: grid; gap: .35rem; text-decoration: none; color: var(--ink); }
.file-grid img, .file-icon { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); border: var(--border); background: var(--surface); box-shadow: var(--sh-sm); }
.file-icon { display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.file-grid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }

.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: var(--lilac) var(--dots); background-size: 20px 20px; }
.auth-card { width: min(420px, 100%); padding: 2.25rem; box-shadow: var(--sh-lg); }
.auth-card .eyebrow { margin-top: 1.25rem; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive
   Breakpoints: ≤1100 small laptop · ≤960 tablet · ≤720 phone · ≤400 small phone
   ========================================================================== */

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 4px;
    width: 44px; height: 44px; padding: 0 11px; border: var(--border); border-radius: 12px;
    background: var(--surface); cursor: pointer; flex: none; box-shadow: var(--sh-sm);
}
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--night); transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle { background: var(--yellow); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.site-nav__extra { display: none; }
.preview-toggle { display: none; margin-top: .85rem; }
.admin-side__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-side__menu { display: flex; flex-direction: column; gap: 1.75rem; flex: 1; }
.progress { display: block; height: 14px; border-radius: 99px; background: var(--surface); border: 2px solid var(--ink); overflow: hidden; margin-top: .5rem; }
.progress i { display: block; height: 100%; width: 20%; background: repeating-linear-gradient(-45deg, var(--coral) 0 8px, var(--coral-dark) 8px 16px); border-inline-end: 2px solid var(--ink); transition: width .35s ease; }

@media (hover: none) {
    .btn:hover, .zone-card:hover, .journey__step:hover, .choice:hover .choice__body, .chip:hover span, .todo li a:hover { transform: none; }
    .btn:hover { box-shadow: var(--sh); }
    .btn--sm:hover { box-shadow: var(--sh-sm); }
    .zone-card:hover, .journey__step:hover { box-shadow: var(--sh); }
}

@media (min-width: 1400px) {
    .container { width: min(1200px, 100% - 64px); }
    .hero { width: min(1260px, 100% - 64px); }
}

/* Small laptops */
@media (max-width: 1100px) {
    .hero__text { padding-block: 3.25rem 3.25rem; padding-inline: 2.5rem 1.5rem; }
    .hero__visual .guide { --h: 290px; }
    .campaign__grid { grid-template-columns: minmax(0, 1fr) 260px; }
    .steps button { font-size: .82rem; padding: .65rem .35rem; }
    .format { --h: 300px; }
    .journey { grid-template-columns: repeat(3, 1fr); }
    .site-footer__inner { grid-template-columns: 1fr 1.6fr; }
    .site-footer__contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5rem; }
}

/* Tablets */
@media (max-width: 960px) {
    .nav-toggle { display: flex; }
    .site-header__inner { gap: .7rem; min-height: 64px; position: relative; }
    .site-nav {
        position: absolute; top: calc(100% + 10px); inset-inline-start: 0; inset-inline-end: 0;
        flex-direction: column; gap: .3rem; padding: .6rem; border-radius: var(--r-lg);
        background: var(--surface); border: var(--border); box-shadow: var(--sh-lg);
        opacity: 0; visibility: hidden; transform: translateY(-6px) rotate(-.5deg); transition: opacity .15s ease, transform .15s ease, visibility .15s;
    }
    .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
    .site-nav a { padding: .8rem 1rem; font-size: 1.05rem; }
    .site-nav__extra { display: block; }
    .site-nav__extra:first-of-type { margin-top: .35rem; position: relative; }
    .site-nav__extra:first-of-type::before { content: ""; position: absolute; inset-inline-start: .5rem; inset-inline-end: .5rem; top: -.4rem; border-top: 2px dashed var(--ink); }
    .site-nav__help { background: var(--mint); border-color: var(--ink) !important; }
    .no-js .site-nav { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; box-shadow: none; border: 0; }

    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero__text { padding: 3rem 2.25rem 2rem; max-width: 42rem; }
    .hero__visual { min-height: 0; padding: 3rem .75rem 2rem; border-inline-start: 0; border-top: var(--border); overflow: hidden; }
    .hero__visual .guide { --h: min(320px, calc((100vw - 110px) / 1.8)); }

    .split, .report__grid, .admin-grid, .recap { grid-template-columns: 1fr; }
    .split { gap: 2.5rem; }
    .section { padding: 4rem 0; }
    .page-head { padding: 2.5rem 0 1.25rem; }
    .cards-3 { grid-template-columns: 1fr 1fr; }
    .cards-3 .card:last-child { grid-column: 1 / -1; }
    .zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .formats {
        display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 20px;
        margin-inline: -20px; padding: .5rem 20px 1.25rem; scrollbar-width: none;
    }
    .formats::-webkit-scrollbar { display: none; }
    .format { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; --h: 300px; }
    .guide-stage { margin-inline: -20px; border-radius: 0; border-inline: 0; box-shadow: none; padding: 2rem 20px; scroll-snap-type: x proximity; }
    .guide-stage .guide { --h: 420px; justify-content: flex-start; width: max-content; margin-inline: auto; }
    .guide-stage .panel { scroll-snap-align: center; }

    .campaign__grid { grid-template-columns: 1fr; }
    .summary { display: none; }
    .mobile-bar {
        display: flex; position: fixed; inset-inline-start: 12px; inset-inline-end: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
        background: var(--night); color: #fff; border: var(--border); border-radius: 16px; box-shadow: 5px 5px 0 var(--coral);
        padding-block: .65rem .65rem; padding-inline: 1.1rem .65rem; align-items: center; justify-content: space-between; gap: 1rem;
    }
    .mobile-bar small { display: block; font-size: .78rem; color: #cfc8c0; font-weight: 600; }
    .mobile-bar b { font-family: var(--display); font-size: 1rem; }
    .mobile-bar b span { color: var(--yellow); }
    .mobile-bar .btn { box-shadow: 3px 3px 0 #fff; border-color: #fff; }
    .mobile-bar .btn:active { box-shadow: none; }
    .campaign { padding-bottom: 7rem; }
    body:has(.mobile-bar) .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
    .step-nav [data-next], .step-nav [data-submit] { display: none; }
    .step-nav { justify-content: flex-start; }

    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .site-footer__inner > div:first-child { grid-column: 1 / -1; }

    .admin-body { grid-template-columns: 1fr; }
    .admin-side { position: sticky; top: 0; z-index: 30; height: auto; padding: .65rem 1rem; gap: 0; border-inline-end: 0; border-bottom: var(--border); }
    .admin-side__menu { display: none; gap: 1rem; padding: 1rem 0 .5rem; }
    .admin-side.nav-open .admin-side__menu { display: flex; animation: rise .2s ease both; }
    .no-js .admin-side__menu { display: flex; }
    .admin-nav { grid-template-columns: repeat(2, 1fr); }
    .admin-main { padding: 1.5rem 20px 3rem; }
    .kpis--light { grid-template-columns: repeat(2, 1fr); }
    .form-grid--7 { grid-template-columns: repeat(4, 1fr); }
}

/* Phones */
@media (max-width: 720px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .hide-sm { display: none; }
    .show-sm { display: inline; }
    .demo-bar { font-size: .68rem; }
    .site-header__cta { padding-inline: .85rem; }
    .h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
    .display { font-size: clamp(2.4rem, 12vw, 3.2rem); }
    .lead { font-size: 1.05rem; }
    .section { padding: 3.25rem 0; }
    .section__head { margin-bottom: 1.75rem; }
    .card { padding: 1.25rem; }

    .hero { width: calc(100% - 28px); margin-top: 1.25rem; border-radius: 20px; box-shadow: 5px 5px 0 var(--ink); }
    .hero__text { padding: 2.25rem 1.35rem 1.75rem; }
    .hero__actions { flex-direction: column; align-items: stretch; gap: .75rem; }
    .hero__actions .btn { width: 100%; }
    .hero__visual { padding: 3rem .25rem 1.5rem; }
    .hero__visual::after { top: .9rem; inset-inline-end: .9rem; }
    .hero__visual .guide { --h: calc((100vw - 64px) / 1.8); gap: 4px; }
    .trust { justify-content: flex-start; }

    .journey { grid-template-columns: 1fr 1fr; gap: .8rem; }
    .journey__step { min-height: 112px; font-size: 1rem; padding: 1rem; }
    .cards-3, .zone-grid { grid-template-columns: 1fr; }
    .cards-3 .card:last-child { grid-column: auto; }
    .rules { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
    .kpi { padding: 1rem; }
    .kpi b { font-size: 1.65rem; }

    .campaign { padding-top: 1.5rem; }
    .steps { display: none; }
    .steps-mobile { display: block; margin: 1rem 0 1.25rem; }
    .campaign__main { padding: 1.35rem 1.15rem 1rem; min-height: 0; }
    .choice-grid--2, .choice-grid--3, .form-grid, .form-grid--3, .alt-actions, .confirm__money { grid-template-columns: 1fr; }
    .recap__prices dd { font-size: 1.65rem; }
    .check { align-items: flex-start; }
    .check input { margin-top: .2rem; }

    .preview { padding: 1rem; }
    .preview .guide { --h: 300px; }
    .preview:not(.is-full) .guide > .panel:not([data-ad-panel]) { display: none; }
    .preview:not(.is-full) .guide [data-ad-panel] { width: min(260px, 70vw); }
    .preview.is-full .guide { --h: 280px; }
    .preview--recap .guide > .panel:not([data-ad-panel]) { display: none; }
    .preview--recap .guide [data-ad-panel] { width: min(240px, 66vw); }
    .preview-toggle { display: inline-block; }

    .table--stack thead { display: none; }
    .table--stack, .table--stack tbody, .table--stack tr, .table--stack td, .table--stack th { display: block; width: 100%; }
    .table--stack tr { background: var(--surface); border: var(--border); border-radius: var(--r); padding: .65rem 1rem; margin-bottom: .9rem; box-shadow: var(--sh-sm); }
    .table--stack tbody tr:hover { background: var(--surface); }
    .table--stack th, .table--stack td { border: 0 !important; padding: .45rem 0; }
    .table--stack tbody th { font-family: var(--display); font-size: 1.1rem; font-weight: 700; border-bottom: 2px dashed var(--ink) !important; padding-bottom: .65rem; margin-bottom: .2rem; }
    .table--stack td[data-label] { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; align-items: start; }
    .table--stack td[data-label]::before { content: attr(data-label); font-family: var(--display); font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
    .table--stack td[colspan] { text-align: center; }
    .table--stack .actions { display: grid; }
    .table--stack .status-select { min-width: 0; width: 100%; }
    .table-wrap.card { background: transparent; box-shadow: none; padding: 0; border: 0; }
    .table--grid td { min-width: 0; }
    .table--grid .cell-input { display: inline-flex; margin-inline-end: .5rem; }
    .avail-detail .table--stack tr { background: var(--bg); }

    .confirm { padding-top: 2rem; }
    .confirm__card, .report { padding: 1.75rem 1.2rem 1.5rem; box-shadow: 5px 5px 0 var(--ink); }
    .upload__actions .btn { flex: 1 1 100%; }
    .bars { height: 150px; gap: .35rem; }
    .report__next { flex-direction: column; align-items: stretch; text-align: center; }

    .modal { width: 100%; max-width: none; max-height: 92vh; margin: auto 0 0; border-radius: 22px 22px 0 0; border-bottom: 0; box-shadow: none; overflow: auto; padding-bottom: env(safe-area-inset-bottom); }
    .modal[open] { animation: sheet .28s cubic-bezier(.2, .8, .2, 1) both; }
    .modal__body { padding: 1.75rem 1.25rem 1.5rem; }
    .modal__body::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--night); margin: -.75rem auto 1.1rem; }
    .modal__close { top: .9rem; inset-inline-end: .9rem; }

    .site-footer { margin-top: 4rem; padding-top: 3rem; }
    .site-footer__inner, .site-footer nav { grid-template-columns: 1fr; }
    .site-footer nav a { padding: .2rem 0; }

    .admin-head .h1 { font-size: 1.75rem; }
    .filters input, .filters select { min-width: 0; flex: 1 1 100%; }
    .dl { grid-template-columns: 1fr; gap: .1rem; }
    .dl dd { margin-bottom: .6rem; }
    .form-grid--7 { grid-template-columns: repeat(2, 1fr); }
    .auth-card { padding: 1.75rem 1.4rem; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Small phones */
@media (max-width: 400px) {
    .container { width: calc(100% - 24px); }
    .journey { grid-template-columns: 1fr; }
    .journey__step { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: .9rem; }
    .kpi b { font-size: 1.4rem; }
    .admin-nav { grid-template-columns: 1fr; }
    .table--stack td[data-label] { grid-template-columns: 1fr; gap: .1rem; }
    .mobile-bar { padding-block: .55rem .55rem; padding-inline: .95rem .55rem; }
}

@media (max-height: 480px) and (orientation: landscape) {
    .mobile-bar { position: sticky; bottom: 0; inset-inline-start: auto; inset-inline-end: auto; margin-top: 1rem; }
    .campaign { padding-bottom: 1rem; }
    .site-header { position: static; }
}

/* ==========================================================================
   Dark mode
   ========================================================================== */
[data-mode="dark"] {
    --ink: #f3ecdf;
    --ink-2: #ddd5c8;
    --bg: #15130f;
    --surface: #221f1a;
    --card: #221f1a;
    --night: #0b0a08;
    --muted: #b5ada4;
    --yellow-soft: #3a3213;
    --mint-soft: #13332a;
    --lilac-soft: #2a2443;
    --sky-soft: #142c42;
    --pink-soft: #3f2330;
    --green: #5fd49c;
    --dots: radial-gradient(rgba(243, 236, 223, .12) 1.2px, transparent 1.2px);
}
[data-mode="dark"] .section--navy { background: #2a2443; }
[data-mode="dark"] .demo-bar { background: #000; }
[data-mode="dark"] .site-footer { background: #000; border-top-color: var(--ink); }
[data-mode="dark"] .summary { background: #0b0a08; }
[data-mode="dark"] .btn--navy { background: var(--yellow); color: #141414; box-shadow: 4px 4px 0 var(--coral); }
[data-mode="dark"] .logo__pin { color: #141414; }
[data-mode="dark"] .hero__visual::after { background: #fff; color: #141414; }
[data-mode="dark"] .journey .journey__col .journey__step.is-key { color: #fff; }
[data-mode="dark"] .modal::backdrop { background: rgba(0, 0, 0, .7); }

/* light islands: the printed guide drawing and bright colour blocks keep the light palette */
[data-mode="dark"] .guide,
[data-mode="dark"] .panel,
[data-mode="dark"] .hero,
[data-mode="dark"] .kpi,
[data-mode="dark"] .format,
[data-mode="dark"] .status,
[data-mode="dark"] .badge,
[data-mode="dark"] .flash,
[data-mode="dark"] .availability,
[data-mode="dark"] .recap__prices,
[data-mode="dark"] .steps li.is-current,
[data-mode="dark"] .choice input:checked + .choice__body,
[data-mode="dark"] .chip input:checked + span,
[data-mode="dark"] .status-select,
[data-mode="dark"] .site-nav a.is-active,
[data-mode="dark"] .eyebrow,
[data-mode="dark"] .confirm__card::before,
[data-mode="dark"] .admin-side {
    --ink: #141414;
    --ink-2: #2a2a2a;
    --bg: #fff7e6;
    --surface: #ffffff;
    --muted: #5c5650;
    --coral: #ff6b4a;
    --coral-dark: #e8502e;
    --yellow: #ffd23f;
    --yellow-soft: #fff1b8;
    --mint: #7ee2b8;
    --mint-soft: #d9f8ea;
    --lilac: #c9b8ff;
    --lilac-soft: #ece6ff;
    --sky: #9fd3ff;
    --sky-soft: #e1f1ff;
    --pink: #ffb3c7;
    --pink-soft: #ffe3eb;
    --red: #e5343a;
    --green: #128a5a;
    --bw: 2.5px;
    --border: var(--bw) solid var(--ink);
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --sh-sm: 2px 2px 0 var(--ink);
    --sh: 4px 4px 0 var(--ink);
    --sh-lg: 7px 7px 0 var(--ink);
    --display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
    --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --dots: radial-gradient(rgba(20, 20, 20, .14) 1.2px, transparent 1.2px);
    --card: #ffffff;
    --night: #141414;
    --dots-c: rgba(20, 20, 20, .14);
}

/* islands also need their own text colour (the inherited one is the dark-mode light text) */
[data-mode="dark"] .hero,
[data-mode="dark"] .kpi,
[data-mode="dark"] .format,
[data-mode="dark"] .status,
[data-mode="dark"] .badge,
[data-mode="dark"] .flash,
[data-mode="dark"] .availability,
[data-mode="dark"] .recap__prices,
[data-mode="dark"] .steps li.is-current,
[data-mode="dark"] .choice input:checked + .choice__body,
[data-mode="dark"] .chip input:checked + span,
[data-mode="dark"] .status-select,
[data-mode="dark"] .site-nav a.is-active,
[data-mode="dark"] .eyebrow,
[data-mode="dark"] .confirm__card::before,
[data-mode="dark"] .admin-side,
[data-mode="dark"] .summary__money div:nth-child(2) dd,
[data-mode="dark"] .recap-line span,
[data-mode="dark"] .confirm__money div:nth-child(2),
[data-mode="dark"] .rules span,
[data-mode="dark"] .todo b,
[data-mode="dark"] .journey__step.is-key .journey__n,
[data-mode="dark"] .site-nav__help,
[data-mode="dark"] .hero__promise span,
[data-mode="dark"] .trust i {
    --ink: #141414; --ink-2: #2a2a2a; --muted: #5c5650; --surface: #ffffff; --card: #ffffff; --bg: #fff7e6;
    --yellow-soft: #fff1b8; --mint-soft: #d9f8ea; --lilac-soft: #ece6ff; --sky-soft: #e1f1ff; --pink-soft: #ffe3eb; --green: #128a5a;
    color: var(--ink);
}
[data-mode="dark"] .steps li.is-done button { background: #13332a; color: var(--ink); }
