/* Landing page, login and register (features/194). Loaded by templates/site.html.twig only. */

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/fonts/bricolage-grotesque-latin-wght.woff2') format('woff2');
    font-weight: 200 800;
    font-display: swap; }
@font-face {
    font-family: 'Public Sans';
    src: url('/fonts/public-sans-latin-wght.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap; }

:root {
    --yellow:    #FFCE3A;
    --ink:       #1B2A4A;
    --ink-soft:  #4A5878;
    --paper:     #F5F6FA;
    --white:     #FFFFFF;
    --line:      #D9DEE9;
    --ok:        #0E7C70;
    --ok-bg:     #DDF1EE;
    --wait:      #B8325A;
    --wait-bg:   #F9E2EA;
    --on-ink:    #C9D1E3;

    --display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
    --text:    'Public Sans', 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;

    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 9vw, 120px); }

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

body.site {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; }

.site h1, .site h2, .site h3 {
    font-family: var(--display);
    color: var(--ink);
    margin: 0; }
.site h1 {
    font-size: clamp(2.5rem, 5.6vw, 4.5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.035em; }
.site h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.025em; }
.site h3 {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em; }
.site p { margin: 0; }
.site a { color: inherit; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter); }

:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px; }
.privacy :focus-visible { outline-color: var(--yellow); }

.skip {
    position: absolute;
    left: 16px;
    top: -60px;
    background: var(--ink);
    color: var(--white) !important;
    padding: 10px 16px;
    border-radius: 8px;
    z-index: 10; }
.skip:focus { top: 12px; }

/* Buttons */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 12px;
    border: 2px solid var(--ink);
    font-family: var(--display);
    font-size: 1.08rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.button--ink {
    background: var(--ink);
    color: var(--white) !important; }
.button--ink:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(27, 42, 74, .28); }
.button--line {
    background: transparent;
    color: var(--ink); }
.button--line:hover { background: rgba(27, 42, 74, .07); }
.button--small {
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 0.95rem; }

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px; }

/* Top bar */

.topbar {
    padding: 18px 0; }
.site--landing .topbar { background: var(--yellow); }
.topbar__inner {
    display: flex;
    align-items: center;
    gap: 32px; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 750;
    font-size: 1.2rem;
    letter-spacing: -0.02em; }
.topbar__nav {
    display: flex;
    gap: 28px;
    font-weight: 500; }
.topbar__nav a { text-decoration: none; }
.topbar__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px; }
.topbar__lang {
    font-size: 0.95rem;
    text-decoration: none; }
.topbar__lang:hover { text-decoration: underline; }

/* Hero */

.hero {
    background: var(--yellow);
    padding: clamp(32px, 5vw, 72px) 0 clamp(72px, 9vw, 120px);
    overflow: hidden; }
.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center; }
.hero__lead {
    font-size: 1.2rem;
    line-height: 1.55;
    max-width: 33em;
    margin: 28px 0 32px !important; }
.hero__note {
    margin-top: 18px !important;
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 32em; }

/* Hero image: a ticket (what guests see) and the roster (what organizers get).
   The two hard shadows are the one loud thing on the page. */
.hero__art {
    position: relative;
    padding: 8px 0 0; }

.ticket {
    position: relative;
    display: flex;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 16px;
    box-shadow: 10px 10px 0 var(--ink);
    transform: rotate(-2.5deg);
    max-width: 520px; }
.ticket__main {
    flex: 1;
    display: flex;
    gap: 18px;
    padding: 22px 22px 22px 22px;
    min-width: 0; }
.ticket__date {
    flex: none;
    width: 64px;
    height: 72px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--display); }
.ticket__day {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1; }
.ticket__month {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--yellow); }
.ticket__body { min-width: 0; }
.ticket__title {
    font-family: var(--display);
    font-weight: 750;
    font-size: 1.15rem;
    line-height: 1.2; }
.ticket__meta {
    font-size: 0.88rem;
    color: var(--ink-soft);
    margin-top: 4px !important; }
.ticket__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 14px; }
.fake-input {
    border: 1.5px solid var(--line);
    border-radius: 7px;
    padding: 5px 9px;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
.fake-input--wide { grid-column: 1 / -1; }
.fake-button {
    grid-column: 1 / -1;
    background: var(--ink);
    color: var(--white);
    border-radius: 7px;
    padding: 7px 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600; }

/* Perforation between ticket and stub, with the two half-moon notches. */
.ticket__stub {
    flex: none;
    width: 96px;
    border-left: 2px dashed var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 8px;
    position: relative; }
.ticket__stub::before,
.ticket__stub::after {
    content: '';
    position: absolute;
    left: -13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--yellow);
    border: 2px solid var(--ink); }
.ticket__stub::before { top: -14px; clip-path: inset(50% 0 0 0); }
.ticket__stub::after  { bottom: -14px; clip-path: inset(0 0 50% 0); }
.ticket__seats {
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1; }
.ticket__seats-label {
    font-size: 0.78rem;
    line-height: 1.2;
    color: var(--ink-soft);
    margin-top: 4px; }

.roster {
    position: relative;
    margin: -18px 0 0 auto;
    width: min(400px, 88%);
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 16px;
    box-shadow: 10px 10px 0 var(--ink);
    transform: rotate(1.5deg);
    padding: 18px 18px 10px; }
.roster__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between; }
.roster__title {
    font-family: var(--display);
    font-weight: 700; }
.roster__count {
    font-family: var(--display);
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums; }
.roster__bar {
    height: 8px;
    border-radius: 8px;
    background: var(--paper);
    margin: 10px 0 8px;
    overflow: hidden; }
.roster__bar span {
    display: block;
    height: 100%;
    background: var(--ok);
    border-radius: 8px;
    transition: width .5s ease, background-color .3s ease; }
.roster.is-full .roster__bar span { background: var(--wait); }

/* People rows, shared by the roster and the waitlist demo. */
.people {
    list-style: none;
    margin: 0;
    padding: 0; }
.people li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-top: 1px solid var(--line);
    font-size: 0.95rem; }
.people li:first-child { border-top: 0; }
.people__name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; }
.avatar {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ink);
    background: hsl(var(--h), 70%, 86%); }
.pill {
    flex: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 20px; }
.pill--ok   { color: var(--ok);   background: var(--ok-bg); }
.pill--wait { color: var(--wait); background: var(--wait-bg); }
li.people__full {
    display: block;
    color: var(--wait);
    font-weight: 600;
    font-size: 0.85rem; }

/* Playback states set by ts/landing.ts. Without the script the page shows the end state. */
.people li.is-out { display: none; }
/* Hero rows that have not arrived yet keep their space, so the hero has its
   final height from the first frame and does not grow while the list fills. */
.people li.is-pending { visibility: hidden; }
.people li.is-in { animation: rowIn .45s ease both; }
@keyframes rowIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; } }

/* Audience line */

.audience {
    padding: clamp(48px, 7vw, 88px) 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 16px; }
.audience__inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center; }
.audience__text {
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    max-width: 36em; }

/* How it works: a real sequence, so it is numbered. */

.how {
    padding: var(--section) 0;
    background: var(--paper); }
.steps {
    list-style: none;
    padding: 0;
    margin: 48px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px; }
.step {
    border-top: 2px solid var(--ink);
    padding-top: 18px; }
.step__nr {
    display: block;
    font-family: var(--display);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 14px; }
.step p {
    margin-top: 8px;
    color: var(--ink-soft); }

/* Features */

.features { padding: var(--section) 0; }
.spread {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
    margin-top: clamp(56px, 7vw, 96px); }
.spread--flip .spread__text { order: 2; }
.spread__text p {
    margin-top: 14px;
    color: var(--ink-soft);
    max-width: 30em; }
.spread__text h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; }

.demo {
    background: var(--paper);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    min-height: 240px; }
.demo .people li { border-top-color: #E3E7F0; }
.people li.people__sep {
    display: block;
    padding-top: 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--wait); }
.people li.is-leaving {
    text-decoration: line-through;
    opacity: .45; }
.demo__button {
    margin-top: 18px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 10px;
    padding: 10px 18px;
    font: 600 0.95rem var(--display);
    color: var(--ink);
    cursor: pointer; }
.demo__button:hover { background: var(--ink); color: var(--white); }
.demo__note {
    min-height: 1.6em;
    margin-top: 12px !important;
    font-size: 0.92rem;
    color: var(--ok);
    font-weight: 600; }

.demo--form label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin: 0 0 6px; }
.demo--form select,
.demo--form input[type=text] {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    padding: 10px 12px;
    border: 1.5px solid #B9C1D3;
    border-radius: 9px;
    background: var(--white);
    color: var(--ink);
    margin-bottom: 18px; }
.check {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-weight: 500 !important;
    cursor: pointer; }
.check input {
    width: 20px;
    height: 20px;
    accent-color: var(--ink);
    margin: 0; }
.demo__reveal {
    margin-top: 18px;
    animation: rowIn .3s ease both; }
.demo__reveal[hidden] { display: none; }
.demo__hint {
    margin-top: 18px !important;
    font-size: 0.85rem;
    color: var(--ink-soft); }

.demo--mail { background: var(--white); border: 1.5px solid var(--line); }
.mail__to {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem; }
.mail__to b { font-variant-numeric: tabular-nums; }
.mail__subject {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 14px !important; }
.mail__body {
    margin-top: 8px !important;
    color: var(--ink-soft); }
.mail__attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 18px !important;
    padding: 6px 12px 6px 6px;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    font-size: 0.9rem; }
.mail__attachment span {
    background: var(--wait);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 5px;
    border-radius: 5px; }

.more {
    list-style: none;
    padding: 0;
    margin: clamp(72px, 9vw, 120px) 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 40px; }
.more li {
    border-top: 1px solid var(--line);
    padding: 22px 0 28px; }
.more h3 { font-size: 1.12rem; }
.more p {
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 0.98rem; }

/* References (D21) */

.refs {
    background: var(--paper);
    padding: calc(var(--section) * 0.55) 0 var(--section); }
.refs__lead {
    margin-top: 14px !important;
    color: var(--ink-soft);
    max-width: 34em; }
.refs__list {
    list-style: none;
    padding: 0;
    margin: 48px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px; }
.ref {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-radius: 16px;
    padding: 28px; }
.ref__logo {
    color: inherit;
    text-decoration: none;
    height: 96px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px; }
.ref__logo img {
    max-height: 96px;
    max-width: 100%;
    object-fit: contain; }
.ref__wordmark {
    text-align: center;
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -0.02em; }
.ref__quote {
    margin: 0 0 20px;
    font-size: 1.05rem;
    line-height: 1.55; }
.ref__name { font-weight: 700; }
.ref__meta {
    color: var(--ink-soft);
    font-size: 0.92rem; }
.ref__link {
    margin-top: auto;
    padding-top: 18px;
    font-weight: 600;
    text-underline-offset: 4px; }

/* Privacy */

.privacy {
    background: var(--ink);
    color: var(--white);
    padding: var(--section) 0; }
.privacy h2 { color: var(--white); }
.privacy__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 96px); }
.privacy__lead {
    margin-top: 18px !important;
    color: var(--on-ink);
    font-size: 1.15rem;
    max-width: 26em; }
.privacy__icon {
    display: block;
    width: clamp(96px, 13vw, 168px);
    height: auto;
    margin: clamp(32px, 5vw, 56px) auto 0;
    color: var(--yellow); }
.privacy__list { margin: 0; }
.privacy__list div {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, .18); }
.privacy__list div:first-child { border-top: 0; padding-top: 4px; }
.privacy__list dt {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.25rem; }
.privacy__list dd {
    margin: 6px 0 0;
    color: var(--on-ink); }

/* Price (D20): one promise, said plainly. */

.price { padding: var(--section) 0; }
.price__inner {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center; }
.price__amount {
    font-family: var(--display);
    font-size: clamp(6rem, 16vw, 12rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.06em; }
.price__lead {
    margin-top: 18px !important;
    font-family: var(--display);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 600;
    line-height: 1.3;
    max-width: 24em; }
.price__text {
    margin-top: 14px !important;
    color: var(--ink-soft);
    max-width: 32em; }

/* Closing */

.closing {
    background: var(--yellow);
    padding: var(--section) 0; }
.closing h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14em; }
.closing p {
    margin: 18px 0 32px !important;
    font-size: 1.2rem;
    max-width: 32em; }
.closing__mail {
    font-weight: 600;
    text-underline-offset: 4px; }

/* Footer: _lib/_footer.html.twig, shared with the admin area. */

.sitefoot {
    background: var(--paper);
    padding: 28px 0 40px;
    font-size: 0.92rem;
    color: var(--ink-soft); }
.sitefoot .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px; }
.sitefoot a { color: var(--ink); text-decoration: none; }
.sitefoot a:hover { text-decoration: underline; }
.sitefoot .languageSelector * { margin: 0 14px 0 0; }
.sitefoot span[style*="float"] { float: none !important; }
.sitefoot span[style*="float"] a:first-child { margin-left: 0 !important; }

/* Login and register card (features/194, S02) */

.auth {
    background: var(--paper);
    padding: clamp(40px, 8vw, 96px) 0;
    min-height: 60vh; }
.auth-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: clamp(24px, 5vw, 40px); }
.auth-card--inline {
    margin: 0;
    max-width: none;
    padding: clamp(22px, 3vw, 32px); }
.auth-card--inline form { margin-top: 18px; }
.auth-card__title { font-size: 1.4rem !important; letter-spacing: -0.02em; }
.auth-card--inline > .button { margin-top: 18px; }
.auth-card h1 {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    letter-spacing: -0.03em; }
.auth-card__lead {
    margin-top: 10px !important;
    color: var(--ink-soft); }
.auth-card form { margin-top: 26px; }
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 6px; }
.field input {
    width: 100%;
    font: inherit;
    padding: 12px 14px;
    border: 1.5px solid #B9C1D3;
    border-radius: 10px;
    color: var(--ink);
    background: var(--white); }
.field input:focus-visible { outline-offset: 0; border-color: var(--ink); }
.auth-card .button { width: 100%; margin-top: 6px; }
.auth-card__cta { margin-top: 24px !important; }
.form-error {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--wait-bg);
    color: var(--wait);
    font-weight: 600;
    font-size: 0.95rem; }
.auth-card__links {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.95rem; }
.auth-card__links a { text-underline-offset: 3px; }

/* Layout below tablet width */

@media (max-width: 960px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
    .refs__list { grid-template-columns: minmax(0, 1fr); }
    .more  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topbar__nav { display: none; }
}

@media (max-width: 860px) {
    .privacy__icon { display: none; }
    .hero__inner,
    .spread,
    .privacy__inner,
    .price__inner,
    .audience__inner { grid-template-columns: minmax(0, 1fr); }
    .spread--flip .spread__text { order: 0; }
    .hero__art { max-width: 520px; }
}

@media (max-width: 560px) {
    body.site { font-size: 1rem; }
    .steps, .more { grid-template-columns: minmax(0, 1fr); }
    .topbar__actions { gap: 14px; }
    .brand span { display: none; }
    .ticket { box-shadow: 6px 6px 0 var(--ink); }
    .roster { box-shadow: 6px 6px 0 var(--ink); width: 94%; }
    .ticket__main { padding: 16px; gap: 12px; }
    .ticket__date { width: 52px; height: 60px; }
    .ticket__stub { width: 72px; }
    .ticket__seats { font-size: 2rem; }
    .hero .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important; }
}
