/* Legal pages + cookie consent — additive; safe alongside design-system CSS */

.page--legal {
    max-width: 48rem;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
}

.page--legal .page-header {
    margin-bottom: 2rem;
}

.page--legal .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--smoke, #6e675c);
    margin: 0 0 0.5rem;
}

.page--legal h1 {
    font-family: var(--font-display, 'Fraunces', Georgia, serif);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    color: var(--ink, #12100e);
}

.page--legal .lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--smoke, #6e675c);
    margin: 0 0 0.5rem;
}

.legal__updated {
    font-size: 0.875rem;
    color: var(--smoke, #6e675c);
    margin: 0;
}

.legal__prose section {
    margin: 1.75rem 0;
}

.legal__prose h2 {
    font-family: var(--font-display, 'Fraunces', Georgia, serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--ink, #12100e);
}

.legal__prose h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1rem 0 0.35rem;
}

.legal__prose p {
    margin: 0 0 0.75rem;
    line-height: 1.6;
}

.legal__addendum {
    padding-top: 0.5rem;
    border-top: 1px solid color-mix(in srgb, var(--ink, #12100e) 12%, transparent);
}

.legal__address {
    white-space: pre-line;
    line-height: 1.55;
}

.legal__meta {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
}

.legal__meta dt {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--smoke, #6e675c);
}

.legal__meta dd {
    margin: 0.2rem 0 0;
}

.legal__muted {
    font-size: 0.9rem;
    color: var(--smoke, #6e675c);
}

.legal__links {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--ink, #12100e) 12%, transparent);
}

.cookie-banner {
    position: fixed;
    inset-inline: 1rem;
    bottom: 1rem;
    z-index: 80;
    max-width: 42rem;
    margin-inline: auto;
    left: 0;
    right: 0;
    background: var(--parchment, #f6f1e8);
    color: var(--ink, #12100e);
    border: 1px solid color-mix(in srgb, var(--ink, #12100e) 14%, transparent);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--ink, #12100e) 18%, transparent);
    padding: 1rem 1.15rem;
}

.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 720px) {
    .cookie-banner__inner {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1.25rem;
    }
}

.cookie-banner strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--smoke, #6e675c);
}

.cookie-banner a {
    color: var(--ink, #12100e);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-dialog {
    border: 1px solid color-mix(in srgb, var(--ink, #12100e) 14%, transparent);
    background: var(--parchment, #f6f1e8);
    color: var(--ink, #12100e);
    padding: 0;
    max-width: 28rem;
    width: calc(100% - 2rem);
}

.cookie-dialog::backdrop {
    background: color-mix(in srgb, var(--ink, #12100e) 45%, transparent);
}

.cookie-dialog__form {
    padding: 1.25rem;
}

.cookie-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-dialog__head h2 {
    margin: 0;
    font-size: 1.15rem;
    font-family: var(--font-display, 'Fraunces', Georgia, serif);
}

.cookie-dialog__close {
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--smoke, #6e675c);
}

.cookie-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0.85rem 0;
    cursor: pointer;
}

.cookie-row input {
    margin-top: 0.2rem;
}

.cookie-row strong {
    display: block;
    font-size: 0.95rem;
}

.cookie-row small {
    display: block;
    margin-top: 0.2rem;
    color: var(--smoke, #6e675c);
    font-size: 0.8rem;
    line-height: 1.4;
}

.cookie-dialog__actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: flex-end;
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn--brass {
    background: var(--brass, #9a7b4f);
    color: #fff;
    border-color: var(--brass, #9a7b4f);
}

.btn--ghost {
    background: transparent;
    color: var(--ink, #12100e);
    border-color: color-mix(in srgb, var(--ink, #12100e) 22%, transparent);
}

button.linkish {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

/* Strict regions (EU/EEA/UK/CH): keep banner elevated until a choice is made */
body.cookie-banner-strict.cookie-banner-open .cookie-banner {
    box-shadow: 0 -8px 32px rgba(18, 16, 14, 0.18);
    border-top: 2px solid var(--brass, #9a7b4f);
}

body.cookie-banner-strict.cookie-banner-open .cookie-banner__actions .btn--brass {
    font-weight: 600;
}

.cookie-group {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-faint, #7a756c);
}
.cookie-dialog {
  max-width: min(34rem, calc(100vw - 2rem));
  max-height: min(90vh, 40rem);
  overflow: auto;
}
