/* ============================================================
   gamelicen.se  --  Certificate-as-Website
   Warm, retro, ceremonial. CSS-only textures.
   ============================================================ */

:root {
    /* Palette */
    --c-parchment: #F5E6C8;          /* Aged Parchment */
    --c-parchment-deep: #EDD9B5;     /* Aged Parchment, deeper */
    --c-burnt-umber: #2B1810;        /* Burnt Umber  -- display ink */
    --c-sepia-ink: #4A3728;          /* Sepia Ink    -- body ink */
    --c-terracotta: #C4593A;         /* Terracotta Seal */
    --c-aged-gilt: #B8942E;          /* Aged Gilt */
    --c-typewriter: #6B4E3D;         /* Faded Typewriter Ink */
    --c-mahogany: #1A0D07;           /* Deep Mahogany */
    --c-warm-cream: #FFF3E0;         /* Warm Cream */
    --c-notary-green: #4A6741;       /* Notary Green */
    --c-warm-band: #5C3A1E;          /* Warm Band  -- provisions wash */

    /* Fonts */
    --f-display: "Playfair Display SC", "Playfair Display", Georgia, serif;
    --f-body: "Cormorant Garamond", "Lora", Georgia, serif;
    --f-typewriter: "Special Elite", "Courier New", monospace;

    /* Motion */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-body);
    color: var(--c-sepia-ink);
    line-height: 1.75;
    overflow-x: hidden;
    min-height: 100vh;
    background:
        /* paper-fiber noise -- random radial gradients */
        radial-gradient(circle at 12% 18%, rgba(107, 78, 61, 0.05) 0 1px, transparent 2px),
        radial-gradient(circle at 38% 64%, rgba(74, 55, 40, 0.04) 0 1px, transparent 2px),
        radial-gradient(circle at 71% 22%, rgba(43, 24, 16, 0.05) 0 1px, transparent 2px),
        radial-gradient(circle at 84% 78%, rgba(196, 89, 58, 0.04) 0 1px, transparent 2px),
        radial-gradient(circle at 28% 88%, rgba(184, 148, 46, 0.05) 0 1px, transparent 2px),
        /* parchment glow */
        radial-gradient(ellipse at 20% 50%, rgba(255, 243, 224, 0.55), transparent 70%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 243, 224, 0.45), transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(196, 89, 58, 0.05), transparent 50%),
        linear-gradient(to bottom, var(--c-parchment) 0%, var(--c-parchment-deep) 100%);
    background-attachment: fixed;
}

/* ============================================================
   TRACTOR FEED  --  perforated edges
   ============================================================ */
.tractor-feed {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 22px;
    pointer-events: none;
    z-index: 5;
    background:
        linear-gradient(to right, rgba(43, 24, 16, 0.06), transparent),
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 14px,
            rgba(43, 24, 16, 0.55) 14px,
            rgba(43, 24, 16, 0.55) 15px,
            transparent 15px,
            transparent 28px
        );
}

.tractor-feed.left-feed {
    left: 0;
    border-right: 1px dashed rgba(43, 24, 16, 0.25);
}

.tractor-feed.right-feed {
    right: 0;
    transform: scaleX(-1);
    border-right: 1px dashed rgba(43, 24, 16, 0.25);
}

/* draw the punched holes on top of the strip */
.tractor-feed::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--c-mahogany) 0 2.5px, transparent 3px);
    background-repeat: repeat-y;
    background-size: 22px 28px;
    background-position: 11px 14px;
    opacity: 0.55;
}

@media (max-width: 720px) {
    .tractor-feed { width: 14px; }
    .tractor-feed::before {
        background-size: 14px 22px;
        background-position: 7px 11px;
        background-image: radial-gradient(circle, var(--c-mahogany) 0 1.5px, transparent 2px);
    }
}

/* ============================================================
   CERTIFICATE CONTAINER
   ============================================================ */
.certificate {
    position: relative;
    margin: 0 22px;
    z-index: 1;
}

@media (max-width: 720px) {
    .certificate { margin: 0 14px; }
}

/* ============================================================
   GUILLOCHE BORDER  --  cross-hatched gradient pattern
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 6rem 4rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* dot-matrix paper micro-perforation pattern */
    background:
        radial-gradient(circle at 1px 1px, rgba(43, 24, 16, 0.04) 1px, transparent 1.5px),
        radial-gradient(ellipse at 50% 0%, rgba(196, 89, 58, 0.06), transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(184, 148, 46, 0.05), transparent 60%);
    background-size: 4px 4px, 100% 100%, 100% 100%;
}

.guilloche-border {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    /* layered repeating gradients = guilloche cross-hatch */
    background:
        repeating-linear-gradient(45deg,
            transparent 0, transparent 2px,
            rgba(184, 148, 46, 0.55) 2px, rgba(184, 148, 46, 0.55) 3px),
        repeating-linear-gradient(-45deg,
            transparent 0, transparent 2px,
            rgba(196, 89, 58, 0.35) 2px, rgba(196, 89, 58, 0.35) 3px),
        repeating-linear-gradient(0deg,
            transparent 0, transparent 6px,
            rgba(43, 24, 16, 0.18) 6px, rgba(43, 24, 16, 0.18) 7px),
        linear-gradient(to right, rgba(245, 230, 200, 0.4), rgba(237, 217, 181, 0.4));
}

.guilloche-top, .guilloche-bottom {
    left: 0; right: 0;
    height: 40px;
    border-top: 2px double var(--c-burnt-umber);
    border-bottom: 2px double var(--c-burnt-umber);
}
.guilloche-top { top: 0; }
.guilloche-bottom { bottom: 0; }

.guilloche-left, .guilloche-right {
    top: 0; bottom: 0;
    width: 40px;
    border-left: 2px double var(--c-burnt-umber);
    border-right: 2px double var(--c-burnt-umber);
}
.guilloche-left { left: 0; }
.guilloche-right { right: 0; }

@media (max-width: 720px) {
    .hero { padding: 5rem 1.5rem 3rem; }
    .guilloche-top, .guilloche-bottom { height: 16px; }
    .guilloche-left, .guilloche-right { width: 16px; }
}

/* ============================================================
   HERO INNER CONTENT
   ============================================================ */
.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1080px;
    text-align: center;
    padding: 2rem;
}

.hero-overline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-family: var(--f-typewriter);
    font-size: clamp(0.72rem, 1.2vw, 0.9rem);
    letter-spacing: 0.18em;
    color: var(--c-typewriter);
    text-shadow: 1px 1px 0 rgba(107, 78, 61, 0.3);
    margin-bottom: 1.25rem;
}

.hero-overline .ornament {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 1.5em;
    color: var(--c-aged-gilt);
}

.hero-eyebrow {
    font-family: var(--f-typewriter);
    font-size: clamp(0.7rem, 1.1vw, 0.85rem);
    letter-spacing: 0.22em;
    color: var(--c-terracotta);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 0 rgba(196, 89, 58, 0.2);
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.95;
    letter-spacing: 0.06em;
    color: var(--c-burnt-umber);
    margin-bottom: 1.75rem;
    text-shadow:
        1px 1px 0 rgba(43, 24, 16, 0.15),
        0 0 30px rgba(196, 89, 58, 0.08);
    word-spacing: -0.05em;
}

.title-segment { display: inline-block; }
.title-dot {
    color: var(--c-terracotta);
    margin: 0 -0.05em;
    transform: translateY(-0.05em);
}
.title-tld {
    color: var(--c-aged-gilt);
    font-style: italic;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(0.85rem, 1.6vw, 1.15rem);
    letter-spacing: 0.28em;
    color: var(--c-sepia-ink);
    margin-bottom: 2.25rem;
}

.subtitle-text { white-space: nowrap; }

.rule {
    display: inline-block;
    height: 1px;
    flex: 1;
    max-width: 120px;
    background: linear-gradient(to right, transparent, var(--c-aged-gilt), transparent);
}

.hero-attestation {
    font-family: var(--f-body);
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--c-sepia-ink);
    max-width: 680px;
    margin: 0 auto 3rem;
    font-style: italic;
}

/* ============================================================
   THE SEAL
   ============================================================ */
.seal-wrapper {
    display: flex;
    justify-content: center;
    margin: 3rem 0 2.5rem;
    perspective: 800px;
}

.seal {
    position: relative;
    width: clamp(190px, 24vw, 280px);
    height: clamp(190px, 24vw, 280px);
    cursor: pointer;
    transition: transform 0.4s var(--ease-out);
}

.seal.is-pressed {
    transform: scale(0.95);
}

.seal-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.seal-ring-outer {
    border: 2px dashed var(--c-terracotta);
    box-shadow:
        inset 0 0 0 8px rgba(245, 230, 200, 0.5),
        inset 0 0 0 9px rgba(196, 89, 58, 0.3),
        0 0 0 0 rgba(196, 89, 58, 0);
    animation: seal-rotate 120s linear infinite;
    transition: box-shadow 0.4s var(--ease-out);
}

.seal.is-pressed .seal-ring-outer {
    box-shadow:
        inset 0 0 0 8px rgba(245, 230, 200, 0.5),
        inset 0 0 0 9px rgba(196, 89, 58, 0.3),
        0 0 28px 4px rgba(196, 89, 58, 0.5);
}

.seal-ring-mid {
    inset: 14%;
    border: 1px solid var(--c-terracotta);
    box-shadow: inset 0 0 0 1px rgba(196, 89, 58, 0.25);
}

.seal-ring-inner {
    inset: 22%;
    border: 1px dashed rgba(196, 89, 58, 0.6);
}

.seal-text-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.seal-circular-text {
    font-family: var(--f-typewriter);
    font-size: 9px;
    letter-spacing: 0.12em;
    fill: var(--c-terracotta);
}

.seal-glyph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-terracotta);
    animation: seal-counter-rotate 120s linear infinite;
}

.seal-glyph svg {
    width: 38%;
    height: auto;
    transform: rotate(-10deg);
    filter: drop-shadow(1px 1px 0 rgba(43, 24, 16, 0.15));
}

.seal-caption {
    margin-top: 0.3rem;
    font-family: var(--f-typewriter);
    font-size: 0.66rem;
    letter-spacing: 0.32em;
    color: var(--c-burnt-umber);
    transform: rotate(-10deg);
}

.seal-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.seal-star {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--c-aged-gilt);
    font-size: 1rem;
    transform-origin: 0 0;
    transform: rotate(var(--angle)) translate(0, calc(-50% - 6vw)) translate(-50%, -50%);
}

@keyframes seal-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes seal-counter-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}

/* ============================================================
   ISSUED ROWS
   ============================================================ */
.hero-issued {
    max-width: 640px;
    margin: 1rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.issued-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-family: var(--f-typewriter);
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
    color: var(--c-typewriter);
    text-shadow: 1px 1px 0 rgba(107, 78, 61, 0.25);
}

.issued-label {
    flex: 0 0 auto;
    letter-spacing: 0.18em;
    color: var(--c-terracotta);
    min-width: 5.5rem;
    text-align: left;
}

.issued-rule {
    flex: 1;
    height: 0;
    border-bottom: 1px dotted rgba(74, 55, 40, 0.55);
    transform: translateY(-3px);
}

.issued-value {
    flex: 0 0 auto;
    color: var(--c-burnt-umber);
    text-align: right;
}

.issued-value.signed {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--c-burnt-umber);
}

/* ============================================================
   SCROLL HINT
   ============================================================ */
.hero-scroll-hint {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--f-typewriter);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    color: var(--c-typewriter);
    text-transform: uppercase;
}

.scroll-glyph {
    color: var(--c-aged-gilt);
    font-size: 1rem;
    animation: scroll-bob 2.4s ease-in-out infinite;
}

@keyframes scroll-bob {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%      { transform: translateY(6px); opacity: 1; }
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 4rem 6rem;
    color: var(--c-aged-gilt);
}

.divider-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--c-aged-gilt), transparent);
    position: relative;
}

.divider-rule::before {
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: 4px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(184, 148, 46, 0.4), transparent);
}

.divider-mark {
    font-family: var(--f-body);
    font-size: 1.6rem;
    color: var(--c-aged-gilt);
    letter-spacing: 0.2em;
}

@media (max-width: 720px) {
    .divider { padding: 2.5rem 1.5rem; }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.section-eyebrow {
    font-family: var(--f-typewriter);
    font-size: clamp(0.8rem, 1.3vw, 1rem);
    letter-spacing: 0.28em;
    color: var(--c-terracotta);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 0 rgba(196, 89, 58, 0.2);
}

.section-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    letter-spacing: 0.08em;
    color: var(--c-burnt-umber);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.section-lede {
    font-family: var(--f-body);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--c-sepia-ink);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

/* ============================================================
   PROVISIONS
   ============================================================ */
.provisions {
    position: relative;
    padding: 6rem 4rem;
    /* warm band: #5C3A1E at ~8% over parchment */
    background-color: color-mix(in srgb, #5C3A1E 8%, transparent);
    background-image:
        linear-gradient(to bottom,
            rgba(92, 58, 30, 0.0) 0%,
            rgba(92, 58, 30, 0.08) 12%,
            rgba(92, 58, 30, 0.08) 88%,
            rgba(92, 58, 30, 0.0) 100%);
}

.clauses {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.clause {
    position: relative;
    padding: 2.5rem 2rem 2.25rem;
    background: rgba(255, 243, 224, 0.55);
    border: 1px solid rgba(43, 24, 16, 0.18);
    box-shadow:
        inset 0 0 0 1px rgba(245, 230, 200, 0.6),
        0 1px 0 0 rgba(43, 24, 16, 0.06),
        2px 4px 0 0 rgba(43, 24, 16, 0.06);
}

.clause::before {
    /* faint guilloche corner */
    content: "";
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1px dashed rgba(184, 148, 46, 0.4);
    pointer-events: none;
}

.clause-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--c-terracotta);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.clause-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    color: var(--c-burnt-umber);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.clause-body {
    font-family: var(--f-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--c-sepia-ink);
}

.clause-body em {
    font-family: var(--f-typewriter);
    font-style: normal;
    font-size: 0.85em;
    letter-spacing: 0.1em;
    color: var(--c-terracotta);
    margin: 0 0.15em;
    text-shadow: 1px 1px 0 rgba(196, 89, 58, 0.15);
}

.clause-stamp {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: var(--c-burnt-umber);
    color: var(--c-parchment);
    font-family: var(--f-typewriter);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    padding: 0.45rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1;
    transform: rotate(-2deg);
    transform-origin: bottom right;
}

.clause-stamp-no {
    color: var(--c-aged-gilt);
}

.provisions-footer {
    margin-top: 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.ornament-large {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 2rem;
    color: var(--c-aged-gilt);
}

.provisions-attest {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--c-sepia-ink);
    max-width: 560px;
}

@media (max-width: 960px) {
    .clauses { grid-template-columns: 1fr; gap: 2rem; }
    .provisions { padding: 4rem 1.5rem; }
}

/* ============================================================
   ENDORSEMENT  --  stamps row
   ============================================================ */
.endorsement {
    padding: 6rem 4rem;
    position: relative;
}

.stamps {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem;
}

.stamp {
    display: flex;
    justify-content: center;
}

.stamp-border {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 160px;
    border: 2px dashed var(--c-terracotta);
    border-radius: 50%;
    color: var(--c-terracotta);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transform: rotate(-12deg);
    transition:
        transform 0.4s var(--ease-out),
        box-shadow 0.4s var(--ease-out),
        color 0.4s var(--ease-out);
    background: rgba(255, 243, 224, 0.4);
}

.stamp-border::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid var(--c-terracotta);
    border-radius: 50%;
    opacity: 0.55;
}

.stamp-border.notary {
    color: var(--c-notary-green);
    border-color: var(--c-notary-green);
}

.stamp-border.notary::before { border-color: var(--c-notary-green); }

.stamp-border svg {
    width: 50%;
    height: auto;
    flex: 0 0 auto;
}

.stamp-label {
    font-family: var(--f-typewriter);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    margin-top: 0.4rem;
    color: inherit;
    text-shadow: 1px 1px 0 rgba(43, 24, 16, 0.1);
}

.stamp-sub {
    font-family: var(--f-body);
    font-size: 0.7rem;
    font-style: italic;
    letter-spacing: 0.1em;
    color: rgba(43, 24, 16, 0.6);
    margin-top: 0.15rem;
}

.stamp-border:hover {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 0 24px rgba(196, 89, 58, 0.35);
}

.stamp-border.notary:hover {
    box-shadow: 0 0 24px rgba(74, 103, 65, 0.35);
}

.stamp-border.is-pressed {
    transform: rotate(-12deg) scale(0.94);
    box-shadow: 0 0 30px rgba(196, 89, 58, 0.5);
}

@media (max-width: 960px) {
    .endorsement { padding: 4rem 1.5rem; }
    .stamps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

@media (max-width: 520px) {
    .stamps { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SIGNATURE LINE
   ============================================================ */
.signature-line {
    max-width: 1080px;
    margin: 5rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 0 1rem;
}

.sig-block {
    text-align: center;
}

.sig-script {
    font-family: var(--f-body);
    font-style: italic;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--c-burnt-umber);
    transform: rotate(-3deg);
    margin-bottom: 0.25rem;
}

.sig-rule {
    height: 1px;
    background: var(--c-burnt-umber);
    margin: 0 1rem 0.5rem;
}

.sig-label {
    font-family: var(--f-typewriter);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: var(--c-typewriter);
    text-shadow: 1px 1px 0 rgba(107, 78, 61, 0.25);
}

@media (max-width: 720px) {
    .signature-line { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   REGISTRY FOOTER  --  back of certificate
   ============================================================ */
.registry {
    position: relative;
    margin-top: 4rem;
    background: var(--c-mahogany);
    color: var(--c-parchment);
    padding: 6rem 4rem 4rem;
    overflow: hidden;
}

.watermark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='180' viewBox='0 0 420 180'><text x='0' y='80' font-family='Georgia,serif' font-size='52' font-weight='700' fill='%23F5E6C8' fill-opacity='0.06' letter-spacing='12'>GAMELICEN.SE</text><text x='40' y='150' font-family='Georgia,serif' font-size='32' font-style='italic' fill='%23B8942E' fill-opacity='0.05' letter-spacing='8'>bureau of interactive entertainment</text></svg>");
    background-repeat: repeat;
    background-size: 420px 180px;
    transform: rotate(-30deg) scale(1.4);
    transform-origin: center;
    opacity: 0.95;
}

.registry-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.registry-eyebrow {
    font-family: var(--f-typewriter);
    font-size: 0.85rem;
    letter-spacing: 0.32em;
    color: var(--c-aged-gilt);
    margin-bottom: 1rem;
}

.registry-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    letter-spacing: 0.1em;
    color: var(--c-warm-cream);
    margin-bottom: 3rem;
    line-height: 1.25;
}

.registry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: left;
}

.registry-cell {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.25rem;
    border: 1px dashed rgba(245, 230, 200, 0.25);
    background: rgba(43, 24, 16, 0.4);
}

.reg-key {
    font-family: var(--f-typewriter);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--c-aged-gilt);
}

.reg-val {
    font-family: var(--f-body);
    font-size: 1.05rem;
    color: var(--c-parchment);
    letter-spacing: 0.04em;
}

.fine-print {
    max-width: 720px;
    margin: 0 auto;
    border-top: 1px dashed rgba(245, 230, 200, 0.25);
    padding-top: 2rem;
    color: rgba(245, 230, 200, 0.7);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: left;
}

.fine-print p { margin-bottom: 1rem; font-style: italic; }

.fine-print-tail {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-family: var(--f-typewriter);
    font-style: normal;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--c-aged-gilt);
    border-top: 1px solid rgba(184, 148, 46, 0.3);
    padding-top: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .registry { padding: 4rem 1.5rem 3rem; }
    .registry-grid { grid-template-columns: 1fr; gap: 1rem; }
    .fine-print-tail { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REVEAL ANIMATIONS  --  IntersectionObserver hook
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s var(--ease-out) var(--reveal-delay, 0s),
        transform 0.8s var(--ease-out) var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   PRESS PULSE
   ============================================================ */
@keyframes seal-press-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(196, 89, 58, 0.55); }
    70%  { box-shadow: 0 0 0 28px rgba(196, 89, 58, 0); }
    100% { box-shadow: 0 0 0 0 rgba(196, 89, 58, 0); }
}

.seal.is-pressed::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: seal-press-pulse 0.8s var(--ease-out) forwards;
    pointer-events: none;
}
