:root {
    --paper: #f7efd9;
    --paper-deep: #ead9ad;
    --ink: #211a16;
    --red: #741d20;
    --red-deep: #4f1217;
    --green: #173f31;
    --gold: #b58b32;
    --gold-bright: #dec06b;
    --line: rgba(86, 55, 24, 0.26);
    --shadow: 0 28px 80px rgba(38, 24, 14, 0.16);
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(rgba(181, 139, 50, 0.06) 1px, transparent 1px),
        radial-gradient(circle at top, rgba(222, 192, 107, 0.32), transparent 32rem),
        var(--paper);
    background-size: 100% 34px, auto, auto;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

h1,
h2,
strong,
.wordmark {
    font-family: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: 0;
}

h1,
h2,
p {
    margin-top: 0;
}

.site-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.masthead {
    width: min(1180px, calc(100% - 48px));
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 24px;
            align-items: center;
}

.wordmark {
    color: var(--red);  
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 0.92;
    text-decoration: none;
    text-transform: uppercase;
}

.wordmark img {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.wordmark span {
    display: block;
    padding-top: 0.08em;
}

.nav-link {
    border-bottom: 1px solid var(--gold);
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-button {
    min-height: 54px;
    border-color: #875d0c;
    background:
        linear-gradient(112deg, rgba(255, 251, 228, 0.9), rgba(255, 251, 228, 0) 34%),
        linear-gradient(135deg, #ffe4a0, #e4bd54 46%, #a97819 100%);
    box-shadow:
        inset 0 2px rgba(255, 253, 240, 0.92),
        0 15px 32px rgba(83, 56, 11, 0.28);
    color: var(--red-deep);
    font-size: 1.08rem;
    padding: 14px 28px;
    text-transform: uppercase;
}

.nav-button:hover,
.nav-button:focus-visible {
    border-color: #875d0c;
    background: linear-gradient(135deg, #ffe7a4, #ebc45a 48%, #b78924);
}

main {
    flex: 1;
}
@media (max-width: 640px) {
    main.home {
     overflow:hidden;
    }
}
.eyebrow {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.3;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero {
    width: min(1180px, calc(100% - 48px));
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    padding: clamp(36px, 7vh, 90px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
}

.hero h1 {
    color: var(--red-deep);
    font-size: clamp(2.25rem, 3.4vw, 4rem);
    font-weight: 600;
    line-height: 1.02;
    margin-bottom: 28px;
    text-wrap: balance;
}

.lede {
    max-width: 690px;
    color: rgba(33, 26, 22, 0.84);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    margin-bottom: 34px;
}

.button-row,
.certificate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    appearance: none;
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.button-primary {
    background: var(--red);
    box-shadow: 0 13px 28px rgba(116, 29, 32, 0.2);
    color: #fff6e6;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--red-deep);
}

.button-secondary {
    border-color: var(--gold);
    background: rgba(247, 239, 217, 0.68);
    color: var(--green);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(222, 192, 107, 0.22);
}

.button-linkedin {
    background: #0072b1 ;
    color: #fbefcc;
}

.button-share {
    border-color: var(--gold);
    background: rgba(255, 249, 233, 0.92);
    box-shadow: inset 0 1px rgba(255, 255, 246, 0.82);
    color: var(--red-deep);
}

.button-share:hover,
.button-share:focus-visible {
    background: rgba(222, 192, 107, 0.28);
}

.hero-verify-button {
    position: relative;
    isolation: isolate;
    min-height: 76px;
    border: 2px solid #875704;
    background:
        linear-gradient(112deg, rgba(255, 255, 237, 0.98), rgba(255, 251, 228, 0) 32%),
        linear-gradient(135deg, #fff0ae, #efc851 42%, #9e6910 100%);
    box-shadow:
        inset 0 3px rgba(255, 253, 240, 0.98),
        inset 0 -3px rgba(119, 78, 11, 0.28),
        0 20px 42px rgba(108, 71, 12, 0.4),
        0 0 28px rgba(255, 198, 44, 0.48);
    color: var(--red-deep);
    font-size: 1.22rem;
    padding: 21px clamp(30px, 3.5vw, 52px);
    text-shadow: 0 1px rgba(255, 247, 211, 0.8);
}

.hero-verify-button::before {
    position: absolute;
    inset: -28px;
    z-index: -1;
    border-radius: 24px;
    background: radial-gradient(ellipse, rgba(255, 244, 171, 1), rgba(255, 204, 49, 0.88) 35%, rgba(255, 171, 17, 0.34) 62%, transparent 78%);
    content: "";
    filter: blur(10px);
    opacity: 0.38;
    pointer-events: none;
    transform: scale(0.88);
    animation: alignment-glow 1.35s ease-in-out infinite;
}

@keyframes alignment-glow {
    0% {
        opacity: 0.34;
        transform: scale(0.88);
    }

    50% {
        opacity: 1;
        transform: scale(1.18);
    }

    100% {
        opacity: 0.34;
        transform: scale(0.88);
    }
}

.hero-verify-button::after {
    position: absolute;
    inset: 4px 7px auto;
    height: 38%;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 246, 0.62), rgba(255, 255, 246, 0));
    content: "";
    pointer-events: none;
}

.hero-verify-button:hover,
.hero-verify-button:focus-visible {
    border-color: #754c07;
    background:
        linear-gradient(112deg, rgba(255, 253, 235, 0.92), rgba(255, 251, 228, 0) 29%),
        linear-gradient(135deg, #ffeab0, #e9c55e 42%, #b18220 100%);
    box-shadow:
        inset 0 2px rgba(255, 253, 240, 0.94),
        inset 0 -2px rgba(119, 78, 11, 0.22),
        0 20px 42px rgba(108, 71, 12, 0.34);
}

.hero-verify-button:hover::before,
.hero-verify-button:focus-visible::before {
    animation-play-state: paused;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-verify-button::before {
        animation: none;
        opacity: 0.6;
        transform: none;
    }
}

.hero-certificate {
    position: relative;
    min-height: min(680px, 72vh);
    border: 2px solid var(--gold);
    outline: 1px solid rgba(116, 29, 32, 0.42);
    outline-offset: -18px;
    padding: clamp(38px, 5vw, 72px);
    box-shadow: var(--shadow);
    background:
        linear-gradient(135deg, rgba(255, 252, 240, 0.78), rgba(234, 217, 173, 0.82)),
        var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    overflow: hidden;
    text-align: center;
}

.hero-certificate p,
.hero-certificate span {
    position: relative;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    margin: 0;
    text-transform: uppercase;
}

.hero-certificate strong {
    position: relative;
    color: var(--red);
    font-size: clamp(1.7rem, 2.8vw, 3rem);
    font-weight: 600;
    line-height: 1.08;
}

.hero-certificate i {
    position: relative;
    width: 162px;
    aspect-ratio: 1;
    margin: 18px auto 0;
    border: 10px double #875d0c;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-bright), var(--gold));
    display: grid;
    place-items: center;
    color: var(--red-deep);
    font-family: Georgia, serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-certificate .preview-watermark {
    position: absolute;
    inset: auto auto 39% 50%;
    color: rgba(116, 29, 32, 0.07);
    font: 700 clamp(4rem, 10vw, 9rem) Georgia, serif;
    letter-spacing: 0;
    transform: translateX(-50%) rotate(-14deg);
    white-space: nowrap;
}

.content-band,
.content-grid,
.event-access-band {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto clamp(34px, 6vw, 80px);
}

.content-band {
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: clamp(34px, 5vw, 66px) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    overflow: hidden;
}

.content-band h2,
.panel h2 {
    color: var(--red-deep);
    font-size: clamp(1.65rem, 3vw, 3rem);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 0;
}

.content-band > p {
    color: rgba(33, 26, 22, 0.84);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    margin-bottom: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 34px);
}

.panel {
    position: relative;
    border: 1px solid var(--line);
    border-top: 5px solid var(--gold);
    background: rgba(255, 249, 233, 0.52);
    padding: clamp(26px, 4vw, 48px);
    overflow: hidden;
}

.section-image {
    border: 1px solid rgba(116, 29, 32, 0.22);
    display: block;
    object-fit: cover;
    box-shadow: 0 16px 38px rgba(38, 24, 14, 0.14);
}

.intro-image {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(37%, 400px);
    height: 100%;
    border: 0;
    box-shadow: none;
    opacity: 0.5;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%);
    mask-image: linear-gradient(90deg, transparent, #000 32%);
}


.panel-image {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 0;
    width: min(29%, 155px);
    aspect-ratio: 3 / 2;
    opacity: 0.78;
}

.panel h2 {
    max-width: 470px;
    margin-bottom: 30px;
}

.event-access-band {
    position: relative;
    border: 1px solid var(--line);
    border-left: 6px solid var(--gold);
    background: rgba(255, 249, 233, 0.58);
    padding: clamp(25px, 4vw, 42px);
    overflow: hidden;
}

.event-access-band > div,
.panel > :not(.panel-image),
.content-band > :not(.intro-image) {
    position: relative;
    z-index: 1;
}

.event-access-band .eyebrow {
    margin-bottom: 10px;
}

.event-access-band p:last-child {
    max-width: 800px;
    color: var(--red-deep);
    font-family: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.3rem, 2.25vw, 2.15rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
}

.access-image {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(34%, 390px);
    height: 100%;
    border: 0;
    box-shadow: none;
    aspect-ratio: 625 / 350;
    opacity: 0.18;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
    mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.competency-list,
.certificate-competencies {
    margin: 0;
    padding: 0;
    list-style: none;
}

.competency-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.competency-list li,
.certificate-competencies li {
    border: 1px solid var(--line);
    background: rgba(247, 239, 217, 0.8);
    padding: 13px 14px;
    color: var(--green);
    font-weight: 750;
}

.levels-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
}

.levels-list li {
    border-top: 1px solid var(--line);
    padding: 15px 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 18px;
}

.levels-list b {
    color: var(--red);
    font-family: inherit;
    text-transform: uppercase;
}

.levels-list span {
    font-weight: 700;
}

.site-footer {
    width: min(1180px, calc(100% - 48px));
    border-top: 1px solid var(--line);
    color: rgba(33, 26, 22, 0.72);
    margin: 0 auto;
    padding: 28px 0 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.93rem;
        display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.footer-logo {
    width: 64px;
    height: 64px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.verification-page {
    background:
        linear-gradient(90deg, transparent 0 7%, rgba(181, 139, 50, 0.1) 7% calc(7% + 1px), transparent calc(7% + 1px)),
        radial-gradient(circle at top, rgba(222, 192, 107, 0.34), transparent 36rem),
        var(--paper);
}

.verification-shell {
    width: min(820px, calc(100% - 48px));
    min-height: calc(100vh - 200px);
    margin: 0 auto;
    display: grid;
    align-items: center;
    padding: 42px 0 72px;
}

.verification-form {
    border: 1px solid var(--line);
    border-top: 7px solid var(--gold);
    box-shadow: var(--shadow);
    background: rgba(255, 249, 233, 0.72);
    padding: clamp(30px, 6vw, 76px);
}

.verification-form h1 {
    color: var(--red-deep);
    font-size: clamp(2rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 24px;
}

.verification-form > p:not(.eyebrow) {
    max-width: 560px;
    color: rgba(33, 26, 22, 0.84);
    font-size: 1.12rem;
    margin-bottom: 32px;
}

.verification-form label {
    display: block;
    color: var(--green);
    font-size: 0.83rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

input {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: rgba(255, 253, 246, 0.92);
    color: var(--ink);
    font: inherit;
    font-size: 1.06rem;
    padding: 14px 17px;
}

input:focus-visible {
    outline: 3px solid rgba(181, 139, 50, 0.34);
    outline-offset: 1px;
}

.certificate-page {
    min-height: 100vh;
    background: #ead9ad;
}

.certificate-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 8px 0 58px;
}

.certificate {
    position: relative;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow);
    background:
        linear-gradient(135deg, rgba(255, 253, 244, 0.76), rgba(247, 239, 217, 0.66)),
        var(--paper);
    overflow: hidden;
    padding: clamp(13px, 2vw, 24px);
}

.certificate-watermark {
    position: absolute;
    top: 43%;
    left: 50%;
    color: rgba(116, 29, 32, 0.055);
    font: 700 clamp(5rem, 15vw, 14rem) Georgia, serif;
    line-height: 1;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-15deg);
    white-space: nowrap;
}

.certificate-border {
    position: relative;
    border: clamp(3px, 0.5vw, 6px) double var(--red);
    outline: 1px solid var(--gold);
    outline-offset: -15px;
    min-height: 760px;
    padding: clamp(34px, 6vw, 76px);
    text-align: center;
}

.certificate-heading h1 {
    color: var(--red);
    font-size: clamp(2.2rem, 5vw, 5.4rem);
    font-weight: 600;
    line-height: 1;
    margin-bottom: 18px;
}

.certificate-subtitle {
    max-width: 790px;
    color: rgba(33, 26, 22, 0.76);
    font-size: clamp(0.98rem, 1.7vw, 1.18rem);
    margin: 0 auto 34px;
}

.recipient-block p {
    color: var(--green);
    font-weight: 800;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.recipient-block h2 {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--red-deep);
    font-size: clamp(2.2rem, 6vw, 5.8rem);
    font-weight: 600;
    line-height: 1.06;
    margin: 0 auto 28px;
    overflow-wrap: anywhere;
    padding: clamp(16px, 2vw, 24px);
}

.certificate-body {
    max-width: 790px;
    color: rgba(33, 26, 22, 0.88);
    font-size: clamp(1rem, 1.65vw, 1.2rem);
    margin: 0 auto 22px;
}

.awarded-title {
    color: var(--green);
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.9rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 28px;
}

.certificate-competencies {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.certificate-competencies li {
    background: rgba(255, 249, 233, 0.64);
    font-size: 0.9rem;
    min-height: 52px;
    display: grid;
    place-items: center;
}

.certificate-footer {
    display: grid;
    grid-template-columns: 1fr 180px 1fr;
    align-items: end;
    gap: clamp(18px, 3vw, 36px);
    margin-bottom: 28px;
}

.signature {
    text-align: left;
}

.signature span {
    width: min(100%, 300px);
    border-top: 2px solid var(--red-deep);
    display: block;
    margin-bottom: 10px;
}

.signature strong,
.certificate-meta strong {
    color: var(--red-deep);
    display: block;
    font-size: 1.13rem;
}

.signature p,
.certificate-meta span {
    color: rgba(33, 26, 22, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    margin: 3px 0 0;
    text-transform: uppercase;
}

.seal {
    width: 180px;
    aspect-ratio: 1;
    border: 12px double #855b09;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255, 242, 189, 0.74);
    background: radial-gradient(circle, #f3d882, var(--gold));
    color: var(--red-deep);
    display: grid;
    place-content: center;
    line-height: 1.05;
    text-transform: uppercase;
    transform: rotate(-8deg);
}

.seal b,
.seal em {
    font-family: Georgia, serif;
    font-style: normal;
    font-weight: 800;
}

.seal em {
    font-size: 1.42rem;
}

.certificate-meta {
    text-align: right;
}

.fine-print {
    border-top: 1px solid var(--line);
    color: rgba(33, 26, 22, 0.62);
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0;
    padding-top: 18px;
}

.certificate-actions {
    display: grid;
    gap: 14px;
    justify-content: center;
    padding: 24px 0 0;
}

.certificate-action-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.certificate-access-note {
    width: min(880px, 100%);
    border: 1px solid var(--line);
    border-left: 5px solid var(--gold);
    background: rgba(255, 249, 233, 0.68);
    color: var(--red-deep);
    margin: 22px auto 0;
    padding: clamp(16px, 2vw, 22px);
}

.certificate-access-note p {
    font-weight: 800;
    margin-bottom: 7px;
}

.certificate-access-note small {
    color: rgba(33, 26, 22, 0.68);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
}

.story-certificate-download {
    display: none;
}

.story-certificate {
    position: absolute;
    top: 0;
    left: -9999px;
    width: 1080px;
    height: 1920px;
    border: 18px solid var(--gold);
    background:
        linear-gradient(rgba(181, 139, 50, 0.11) 1px, transparent 1px),
        radial-gradient(circle at 50% 15%, rgba(255, 241, 188, 0.96), transparent 480px),
        linear-gradient(145deg, #fff6df, var(--paper-deep));
    background-size: 100% 72px, auto, auto;
    color: var(--ink);
    overflow: hidden;
    padding: 42px;
}

.story-watermark {
    position: absolute;
    top: 47%;
    left: 50%;
    color: rgba(116, 29, 32, 0.07);
    font: 700 205px Georgia, serif;
    line-height: 1;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-17deg);
    white-space: nowrap;
}

.story-certificate-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border: 14px double var(--red);
    outline: 4px solid rgba(181, 139, 50, 0.78);
    outline-offset: -36px;
    padding: 136px 105px 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

.story-board {
    display: grid;
    justify-items: center;
    gap: 30px;
}

.story-board img {
    width: 230px;
    height: 230px;
    display: block;
    object-fit: contain;
}

.story-board p {
    max-width: 720px;
    color: var(--green);
    font-size: 31px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 0;
    text-transform: uppercase;
}

.story-certificate-copy {
    display: grid;
    justify-items: center;
    gap: 42px;
}

.story-kicker {
    color: var(--red);
    font: 600 80px/1.03 Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: 0;
    margin: 0;
}

.story-certificate-copy h2 {
    width: 100%;
    border-top: 4px solid var(--line);
    border-bottom: 4px solid var(--line);
    color: var(--red-deep);
    font-size: 112px;
    font-weight: 600;
    line-height: 0.98;
    margin: 0;
    overflow-wrap: anywhere;
    padding: 38px 20px;
}

.story-certificate-copy strong {
    color: var(--green);
    font-size: 64px;
    font-weight: 600;
    line-height: 1.08;
}

.story-certificate-copy p:not(.story-kicker) {
    max-width: 650px;
    color: rgba(33, 26, 22, 0.84);
    font-size: 39px;
    font-weight: 800;
    line-height: 1.28;
    margin: 0;
}

.story-seal {
    width: 360px;
    aspect-ratio: 1;
    border: 28px double #855b09;
    border-radius: 50%;
    background: radial-gradient(circle, #f8df94, var(--gold));
    box-shadow: inset 0 0 0 5px rgba(255, 245, 203, 0.76), 0 26px 54px rgba(95, 61, 11, 0.24);
    color: var(--red-deep);
    display: grid;
    place-content: center;
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.02;
    text-transform: uppercase;
    transform: rotate(-8deg);
}

.story-seal em {
    font-size: 58px;
    font-style: normal;
}

.story-certificate-meta {
    width: 100%;
    border-top: 3px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 36px;
    color: var(--red-deep);
    font-size: 29px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    padding-top: 34px;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .standard-certificate-download {
        display: none;
    }

    .story-certificate-download {
        display: inline-flex;
    }
}

@media (max-width: 820px) {
    .masthead,
    .hero,
    .content-band,
    .content-grid,
    .event-access-band,
    .site-footer,
    .verification-shell,
    .certificate-shell {
        width: min(100% - 30px, 1180px);
    }

    .masthead {
        min-height: 76px;
                align-items: center;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 34px;
    }

    .hero-certificate {
        min-height: 470px;
    }

    .content-band,
    .content-grid {
        grid-template-columns: 1fr;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .input-row .button {
        width: 100%;
    }

    .certificate-border {
        min-height: auto;
        outline-offset: -9px;
    }

    .certificate-competencies {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .certificate-footer {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .signature,
    .certificate-meta {
        width: 100%;
        text-align: center;
    }

    .signature span {
        margin-left: auto;
        margin-right: auto;
    }

    .fine-print {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .masthead {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        justify-content: center;
                align-items: center;
    }

    .site-footer {
        align-items: flex-start;
    }

    .intro-image,
    .access-image {
        width:100%;
        opacity: 1;
        position:relative
    }

    .panel-image {
        width: 118px;
        opacity: 0.32;
    }

    .hero-verify-button {
        width: 100%;
        min-height: 82px;
        font-size: 1.2rem;
        padding: 24px 20px;
    }

    .nav-button {
        display: none;
    }

    .button-row .button,
    .certificate-actions .button {
        width: 100%;
    }

    .certificate-action-row {
        width: 100%;
    }

    .competency-list,
    .certificate-competencies {
        grid-template-columns: 1fr;
    }

    .levels-list li {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .certificate {
        padding: 9px;
    }

    .certificate-border {
        padding-left: 25px;
        padding-right: 25px;
    }

    .seal {
        width: 154px;
    }
}

@media print {
    @page {
        size: A4 landscape;
        margin: 8mm;
    }

    html,
    body,
    .certificate-page {
        min-height: auto;
        margin: 0;
        background: #fff;
    }

    .no-print {
        display: none !important;
    }

    .story-certificate {
        display: none !important;
    }

    .certificate-shell {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .certificate {
        width: 100%;
        border-color: var(--gold);
        box-shadow: none;
        break-inside: avoid;
        padding: 3.5mm;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .certificate-watermark {
        font-size: 82pt;
    }

    .certificate-border {
        min-height: 184mm;
        outline-offset: -3mm;
        padding: 9mm 12mm 7mm;
    }

    .certificate-heading .eyebrow {
        font-size: 7pt;
        margin-bottom: 2.5mm;
    }

    .certificate-heading h1 {
        font-size: 28pt;
        line-height: 1;
        margin-bottom: 2.5mm;
    }

    .certificate-subtitle {
        max-width: 205mm;
        font-size: 8.5pt;
        line-height: 1.3;
        margin-bottom: 5mm;
    }

    .recipient-block p {
        font-size: 7.5pt;
        margin-bottom: 1mm;
    }

    .recipient-block h2 {
        font-size: 28pt;
        line-height: 1.02;
        margin-bottom: 4mm;
        padding: 2.8mm 4mm;
    }

    .certificate-body {
        max-width: 205mm;
        font-size: 9pt;
        line-height: 1.35;
        margin-bottom: 3mm;
    }

    .awarded-title {
        font-size: 18pt;
        line-height: 1.05;
        margin-bottom: 4mm;
    }

    .certificate-competencies {
        gap: 2mm;
        margin-bottom: 5mm;
    }

    .certificate-competencies li {
        min-height: 9mm;
        padding: 1.6mm 2mm;
        font-size: 7.5pt;
        line-height: 1.15;
    }

    .certificate-footer {
        grid-template-columns: 1fr 32mm 1fr;
        gap: 5mm;
        margin-bottom: 4mm;
    }

    .signature span {
        width: 58mm;
        margin-bottom: 1.8mm;
    }

    .signature strong,
    .certificate-meta strong {
        font-size: 9pt;
    }

    .signature p,
    .certificate-meta span {
        font-size: 6pt;
        line-height: 1.25;
        margin-top: 0.7mm;
    }

    .seal {
        width: 32mm;
        border-width: 2.2mm;
        font-size: 7pt;
    }

    .seal em {
        font-size: 10pt;
    }

    .fine-print {
        font-size: 6pt;
        line-height: 1.22;
        padding-top: 2.5mm;
    }
}

/* ============================================================
   Portal hub (index.php)
   ============================================================ */
.portal-shell {
    width: min(1180px, calc(100% - 48px));
    min-height: calc(100vh - 240px);
    margin: 0 auto;
    padding: clamp(28px, 6vh, 80px) 0 clamp(36px, 6vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.portal-shell .eyebrow {
    margin-bottom: 14px;
}

.portal-shell h1 {
    color: var(--red-deep);
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.portal-subtitle {
    max-width: 620px;
    color: rgba(33, 26, 22, 0.84);
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    margin-bottom: clamp(32px, 5vw, 56px);
}

.portal-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 34px);
}

.option-card {
    position: relative;
    border: 1px solid var(--line);
    border-top: 5px solid var(--gold);
    background: rgba(255, 249, 233, 0.62);
    box-shadow: var(--shadow);
    padding: clamp(30px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
}

.option-card-full {
    grid-column: 1 / -1;
}

.option-card h2 {
    color: var(--red-deep);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 600;
    line-height: 1.06;
    margin: 0;
}

.option-card p {
    color: rgba(33, 26, 22, 0.84);
    font-size: 1.08rem;
    margin: 0;
}

.option-card .button {
    width: 100%;
    margin-top: clamp(10px, 2vw, 18px);
}

/* ============================================================
   Promo ticket (ticket.php / pass.php)
   ============================================================ */
.ticket-shell {
    width: min(860px, calc(100% - 48px));
    min-height: calc(100vh - 240px);
    margin: 0 auto;
    padding: clamp(28px, 5vh, 64px) 0 clamp(36px, 6vw, 72px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ticket-hero {
    margin-bottom: clamp(26px, 4vw, 44px);
}

.ticket-hero h1 {
    color: var(--red-deep);
    font-size: clamp(2.1rem, 5vw, 3.9rem);
    font-weight: 600;
    line-height: 1.02;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.ticket-hero .event-name {
    color: var(--green);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0;
}

.ticket-hero .event-date {
    color: var(--red);
    font-family: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 600;
    margin: 6px 0 0;
}

.ticket-card {
    position: relative;
    width: 100%;
    max-width: 540px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    background:
        linear-gradient(135deg, rgba(255, 252, 240, 0.82), rgba(234, 217, 173, 0.72)),
        var(--paper);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: clamp(32px, 5vw, 50px) clamp(26px, 5vw, 48px);
    text-align: center;
}

.ticket-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgba(116, 29, 32, 0.06);
    font: 700 clamp(4rem, 13vw, 9rem) Georgia, serif;
    line-height: 1;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-15deg);
    white-space: nowrap;
    pointer-events: none;
}

.ticket-card > * {
    position: relative;
}

.ticket-kicker {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.ticket-price {
    color: var(--red);
    font-family: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(3.4rem, 11vw, 6rem);
    font-weight: 600;
    line-height: 0.95;
    margin: 0;
}

.ticket-tier {
    color: var(--red-deep);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-weight: 700;
    margin: 10px 0 0;
}

.ticket-title {
    color: var(--red-deep);
    font-family: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.45rem, 3.4vw, 2.3rem);
    font-weight: 600;
    line-height: 1.06;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.ticket-subdate {
    color: var(--red);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0;
}

.ticket-perf {
    border: 0;
    border-top: 2px dashed var(--gold);
    margin: clamp(22px, 4vw, 30px) calc(-1 * clamp(26px, 5vw, 48px));
    opacity: 0.7;
}

.ticket-rows {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
    text-align: left;
}

.ticket-rows li {
    border-top: 1px solid var(--line);
    padding: 13px 2px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.ticket-rows li:first-child {
    border-top: 0;
}

.ticket-rows span {
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.ticket-rows strong {
    color: var(--red-deep);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: right;
}

.ticket-note {
    max-width: 460px;
    color: rgba(33, 26, 22, 0.72);
    font-size: 0.95rem;
    font-weight: 600;
    margin: clamp(18px, 3vw, 26px) auto 0;
}

.ticket-confirm {
    color: var(--green);
    font-family: Iowan Old Style, "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    font-weight: 600;
    margin: clamp(22px, 4vw, 30px) 0 6px;
}

.ticket-joke {
    color: rgba(33, 26, 22, 0.7);
    font-size: 0.92rem;
    font-weight: 600;
    margin: 0 0 clamp(22px, 4vw, 30px);
}

.ticket-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: clamp(22px, 4vw, 32px);
}

@media (max-width: 820px) {
    .portal-shell,
    .ticket-shell {
        width: min(100% - 30px, 1180px);
    }

    .portal-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .ticket-rows li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ticket-rows strong {
        text-align: left;
    }

    .ticket-cta .button {
        width: 100%;
    }
}

/* ============================================================
   Homepage — liquid glass vibe (index.php / .home-vibrant)
   Scoped so other pages keep the classic parchment look.
   ============================================================ */
body.home-vibrant {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(125% 95% at 6% -5%, rgba(222, 192, 107, 0.55), transparent 58%),
        radial-gradient(110% 85% at 100% 0%, rgba(116, 29, 32, 0.30), transparent 55%),
        radial-gradient(135% 130% at 50% 112%, rgba(23, 63, 49, 0.32), transparent 60%),
        linear-gradient(157deg, #fcf4e0 0%, #f3e6c4 42%, #ecdcb4 100%);
    background-attachment: fixed;
}

/* Slow-drifting colour orbs read as "liquid" through the frosted cards. */
body.home-vibrant::before,
body.home-vibrant::after {
    content: "";
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    filter: blur(48px);
    pointer-events: none;
}

body.home-vibrant::before {
    top: -14vh;
    left: -8vw;
    width: 48vw;
    height: 48vw;
    background: radial-gradient(circle, rgba(222, 192, 107, 0.78), transparent 70%);
    animation: home-drift-a 19s ease-in-out infinite alternate;
}

body.home-vibrant::after {
    bottom: -18vh;
    right: -10vw;
    width: 54vw;
    height: 54vw;
    background: radial-gradient(circle, rgba(116, 29, 32, 0.50), transparent 70%);
    animation: home-drift-b 23s ease-in-out infinite alternate;
}

@keyframes home-drift-a {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(7vw, 6vh) scale(1.12); }
}

@keyframes home-drift-b {
    from { transform: translate(0, 0) scale(1.05); }
    to   { transform: translate(-6vw, -5vh) scale(0.92); }
}

/* Keep real content above the orbs. */
.home-vibrant .masthead,
.home-vibrant .portal-shell,
.home-vibrant .site-footer {
    position: relative;
    z-index: 1;
}

.home-vibrant .portal-shell h1 {
    background: linear-gradient(120deg, #8c2226 0%, #741d20 38%, #b58b32 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 30px rgba(181, 139, 50, 0.25);
}

/* Frosted glass cards. */
.home-vibrant .option-card {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 249, 233, 0.12));
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
        0 18px 48px rgba(38, 24, 14, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Specular sheen across the top-left of each pane. */
.home-vibrant .option-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 42%);
    opacity: 0.6;
    pointer-events: none;
}

.home-vibrant .option-card > * {
    position: relative;
    z-index: 1;
}

.home-vibrant .option-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 28px 64px rgba(38, 24, 14, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

/* Rounder, glossier buttons to match the glass. */
.home-vibrant .option-card .button {
    border-radius: 16px;
}

/* DJ Mix card: text on the left, compact white button on the right. */
.home-vibrant .option-card-full {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.home-vibrant .option-card-full > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-vibrant .option-card-full .button-spotify {
    width: auto;
    flex: 0 0 auto;
    margin-top: 0;
    margin-left: auto;
    min-height: 46px;
    padding: 11px 26px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    color: #1d1410;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow:
        0 10px 24px rgba(38, 24, 14, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    text-shadow: none;
    transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.home-vibrant .option-card-full .button-spotify:hover,
.home-vibrant .option-card-full .button-spotify:focus-visible {
    transform: translateY(-1px);
    background: #fff;
    box-shadow:
        0 14px 30px rgba(38, 24, 14, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.home-vibrant .option-card .button-primary {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #3a1d12;
    background: linear-gradient(
        130deg,
        rgba(255, 216, 140, 0.55),
        rgba(228, 154, 196, 0.45) 38%,
        rgba(150, 196, 222, 0.5) 70%,
        rgba(150, 222, 196, 0.5)
    );
    -webkit-backdrop-filter: blur(8px) saturate(170%);
    backdrop-filter: blur(8px) saturate(170%);
    box-shadow:
        0 10px 26px rgba(38, 24, 14, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

/* Moving sheen across the glass. */
.home-vibrant .option-card .button-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), transparent 45%);
    opacity: 0.7;
    pointer-events: none;
}

.home-vibrant .option-card .button-primary:hover,
.home-vibrant .option-card .button-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow:
        0 16px 34px rgba(38, 24, 14, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(255, 255, 255, 0.25);
}

/* Promo Ticket — warm sunset glass (gold → coral → rose). */
.home-vibrant .button-ticket {
    color: #4a1c1c;
    background: linear-gradient(
        130deg,
        rgba(255, 214, 140, 0.6),
        rgba(255, 168, 140, 0.5) 45%,
        rgba(236, 150, 188, 0.5)
    );
}

.home-vibrant .button-ticket:hover,
.home-vibrant .button-ticket:focus-visible {
    background: linear-gradient(
        130deg,
        rgba(255, 222, 150, 0.74),
        rgba(255, 176, 148, 0.64) 45%,
        rgba(244, 160, 198, 0.64)
    );
}

/* Certified — cool aurora glass (mint → sky → violet). */
.home-vibrant .button-certify {
    color: #102a2a;
    background: linear-gradient(
        130deg,
        rgba(150, 226, 196, 0.55),
        rgba(140, 196, 236, 0.5) 45%,
        rgba(176, 168, 236, 0.5)
    );
}

.home-vibrant .button-certify:hover,
.home-vibrant .button-certify:focus-visible {
    background: linear-gradient(
        130deg,
        rgba(160, 234, 204, 0.7),
        rgba(150, 204, 244, 0.62) 45%,
        rgba(186, 178, 244, 0.62)
    );
}

@media (prefers-reduced-motion: reduce) {
    body.home-vibrant::before,
    body.home-vibrant::after {
        animation: none;
    }

    .home-vibrant .option-card {
        transition: none;
    }
}
