:root {
    --ink: #202020;
    --muted: #77716b;
    --cream: #f8f5ef;
    --paper: #ffffff;
    --orange: #ec6d2f;
    --line: #e8e1d8;
    --green: #247a5a;
    --green-bg: #f0fdf4;
    --green-border: #bbf7d0;
    --green-active-bg: #dcfce7;
    --green-active-border: #16a34a;
    --green-text: #166534;
    --red-bg: #fef2f2;
    --red-border: #fecaca;
    --red-active-bg: #fee2e2;
    --red-active-border: #dc2626;
    --red-text: #991b1b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 16px/1.55 Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 36px 20px 70px;
}

/* Header & Brand */
.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo {
    height: 150px;
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    font: bold 25px Georgia, serif;
}

.brand strong,
.brand span {
    display: block;
}

.brand strong {
    font-size: 20px;
}

.brand div span {
    color: var(--muted);
    font-size: 13px;
}

/* Typography & Intro */
.intro {
    margin-bottom: 24px;
}

.eyebrow {
    color: var(--orange);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0;
}

.intro h1 {
    font: 700 36px/1.2 Georgia, serif;
    margin: 8px 0 10px;
    color: #111;
}

.intro p:last-child {
    color: var(--muted);
    margin: 0;
    font-size: 15px;
}

/* Cards */
.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    margin: 18px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.card h2 {
    font-size: 18px;
    margin: 0 0 18px;
    color: #1a1a1a;
}

/* Media Previews */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.media-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.media-item {
    position: relative;
    border: 1px solid var(--line);
    padding: 0;
    aspect-ratio: 1.38;
    background: #f1ede6;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    display: block;
    width: 100%;
}

.media-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: #d1c8bd;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.media-shield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    background: transparent;
    display: block;
}

.media-name {
    font-size: 13px;
    color: #4a4540;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 4px;
    line-height: 1.3;
}

.play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.fine-print,
.muted {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
    margin-top: 14px;
    margin-bottom: 0;
}

.readonly-text {
    background: #faf8f4;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #f0e9df;
    white-space: normal;
    line-height: 1.6;
}

.external-link {
    display: block;
    background: var(--ink);
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 13px;
    border-radius: 8px;
    margin: 18px 0;
    font-weight: 600;
    transition: background 0.15s ease;
}

.external-link:hover {
    background: #000;
}

.external-link span {
    margin-left: 6px;
}

/* Form Styles */
.form-card {
    padding: 30px;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 28px;
}

legend,
label {
    font-weight: bold;
}

legend {
    margin-bottom: 14px;
    font-size: 16px;
}

.required {
    color: var(--orange);
}

.decision-list,
.option-list {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.choice {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line);
    padding: 13px 20px;
    border-radius: 9px;
    cursor: pointer;
    font-weight: 500;
    background: #fff;
    transition: all 0.18s ease;
    user-select: none;
}

.choice:hover {
    border-color: #c9bfb3;
    background: #faf8f4;
}

.choice:has(input:checked) {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(236, 109, 47, 0.18);
}

.choice input {
    accent-color: var(--orange);
    cursor: pointer;
}

/* Elegant Accept (Green) */
.choice.accept {
    border-color: var(--green-border);
    background: var(--green-bg);
    color: var(--green-text);
}

.choice.accept:hover {
    background: #e6f9ed;
    border-color: #86efac;
}

.choice.accept:has(input:checked) {
    background: var(--green-active-bg);
    border-color: var(--green-active-border);
    color: var(--green-text);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
    font-weight: 600;
}

.choice.accept input {
    accent-color: var(--green-active-border);
}

/* Elegant Refuse (Red) */
.choice.refuse {
    border-color: var(--red-border);
    background: var(--red-bg);
    color: var(--red-text);
}

.choice.refuse:hover {
    background: #fde8e8;
    border-color: #fca5a5;
}

.choice.refuse:has(input:checked) {
    background: var(--red-active-bg);
    border-color: var(--red-active-border);
    color: var(--red-text);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
    font-weight: 600;
}

.choice.refuse input {
    accent-color: var(--red-active-border);
}

.option-section {
    border-bottom: 1px solid var(--line);
    padding-bottom: 26px;
}

.comment-wrap {
    display: none;
    margin-bottom: 26px;
    animation: fadeIn 0.2s ease;
}

.comment-wrap.visible {
    display: block;
}

.comment-wrap label {
    display: block;
    margin-bottom: 8px;
}

.comment-wrap textarea {
    width: 100%;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    font: inherit;
    min-height: 125px;
    transition: border-color 0.15s ease;
}

.comment-wrap textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(236, 109, 47, 0.15);
}

.verification {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: normal;
    font-size: 13px;
    line-height: 1.5;
    color: #4e4944;
    cursor: pointer;
    background: #faf8f5;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.verification input {
    margin-top: 3px;
    accent-color: var(--orange);
    min-width: 17px;
    cursor: pointer;
}

.submit-button {
    border: 0;
    background: var(--orange);
    color: #fff;
    border-radius: 8px;
    padding: 14px 26px;
    font-weight: bold;
    font-size: 16px;
    margin-top: 25px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
}

.submit-button:hover {
    background: #d85c1e;
}

.submit-button:active {
    transform: scale(0.99);
}

.submit-button span {
    margin-left: 20px;
}

.error-card {
    border-left: 4px solid var(--orange);
}

.confirmation {
    text-align: center;
    padding: 55px 25px;
}

.confirmation h1 {
    font: 700 28px Georgia, serif;
}

.success-icon {
    margin: 0 auto 18px;
    background: #e0f3e9;
    color: var(--green);
    border-radius: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    font-size: 28px;
}

/* Lightbox & Loading Animation */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(5px);
    z-index: 999;
    place-items: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox.open {
    display: grid;
    opacity: 1;
}

.lightbox-content {
    display: grid;
    place-items: center;
    position: relative;
    max-width: 98vw;
    max-height: 96vh;
}

.lightbox-media-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 96vw;
    max-height: 94vh;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-media-wrap.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-media {
    max-width: 96vw;
    max-height: 94vh;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-media-wrap .lightbox-media {
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.lightbox-media.loaded {
    opacity: 1;
    transform: scale(1);
}

.lightbox-pdf-frame {
    width: min(96vw, 1500px);
    height: min(93vh, 1100px);
    max-width: 96vw;
    max-height: 93vh;
    border: none;
    border-radius: 8px;
    background: #fff;
}

.lightbox-video-frame {
    width: min(92vw, 1100px);
    height: min(80vh, 650px);
    max-width: 96vw;
    max-height: 85vh;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 8px;
    background: #000;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.lightbox-nav:hover {
    background: rgba(234, 88, 12, 0.9);
    border-color: #ea580c;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    margin-top: 10px;
    text-align: center;
    color: #f8fafc;
    font-size: 13.5px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    letter-spacing: 0.02em;
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(15, 23, 42, 0.75);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-watermark-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    border-radius: 8px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='480'%20height='280'%20viewBox='0%200%20480%20280'%3E%3Ctext%20x='240'%20y='140'%20fill='%23000000'%20fill-opacity='0.18'%20font-family='sans-serif'%20font-size='13'%20font-weight='800'%20letter-spacing='2.5px'%20transform='rotate(-25%20240%20140)'%20text-anchor='middle'%20dx='1'%20dy='1'%3EPR%C3%89VISUALISATION%20UNIQUEMENT%3C/text%3E%3Ctext%20x='240'%20y='140'%20fill='%23ffffff'%20fill-opacity='0.15'%20font-family='sans-serif'%20font-size='13'%20font-weight='800'%20letter-spacing='2.5px'%20transform='rotate(-25%20240%20140)'%20text-anchor='middle'%3EPR%C3%89VISUALISATION%20UNIQUEMENT%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
}

.lightbox-shield {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 8px;
    background: transparent;
    pointer-events: none;
}

.lightbox-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.lightbox-loader .spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lightbox-close {
    position: fixed;
    right: 24px;
    top: 18px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 560px) {
    .intro h1 {
        font-size: 28px;
    }
    .shell {
        padding-top: 22px;
    }
    .brand {
        margin-bottom: 28px;
    }
    .media-grid {
        grid-template-columns: 1fr;
    }
    .decision-list,
    .option-list {
        flex-direction: column;
    }
}

/* Global Buttons & Utility Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.3;
    transition: all 0.15s ease;
    box-sizing: border-box;
}
.btn-orange {
    background: var(--orange, #ec6d2f) !important;
    color: #ffffff !important;
    border-color: var(--orange, #ec6d2f) !important;
}
.btn-orange:hover {
    background: #d85c20 !important;
    border-color: #d85c20 !important;
    color: #ffffff !important;
}
.btn-outline {
    background: #ffffff !important;
    border: 1px solid var(--line, #e8e1d8) !important;
    color: var(--ink, #1c1917) !important;
}
.btn-outline:hover {
    background: #faf8f5 !important;
    border-color: #cbd5e1 !important;
}
.btn-sm {
    padding: 5px 12px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
}
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}
.card {
    background: #ffffff;
    border: 1px solid var(--line, #e8e1d8);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    box-sizing: border-box;
}

