/*
 * Carnet — feuille de style des pages publiques (sans build, sans framework).
 *
 * Principes (PROMPT.md §3) :
 * - le cuir habille seulement la couverture, la reliure et le fond ;
 * - les pages sont en papier crème, lignes très légères ;
 * - l'or est décoratif : jamais pour du texte sur papier ;
 * - aucun style inline (CSP stricte) : tout passe par des classes.
 *
 * Contrastes vérifiés (WCAG AA) : encre/papier 13.3:1, encre bleue/papier 10.2:1,
 * lien/papier 5.5:1, or texte/cuir 5.8:1, encre sur fonds d'onglets éclaircis ≥ 8:1,
 * tampons d'état assombris ≥ 5:1.
 */

/* ---------- Polices (OFL, sous-ensemble latin, auto-hébergées) ---------- */

@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4/source-serif-4-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4/source-serif-4-latin-wght-italic.woff2") format("woff2");
    font-weight: 200 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Caveat";
    src: url("../fonts/caveat/caveat-latin-wght-normal.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

/* ---------- Palette et mesures ---------- */

:root {
    --leather: #4a3326;
    --leather-dark: #2a1d16;
    --paper: #f7f1e3;
    --paper-light: #fcf9f1;
    --lines: #d9cfb8;
    --ink: #2b2620;
    --ink-blue: #1f3a5f;
    --gold: #b8913a;          /* décoratif uniquement */
    --gold-text: #d4b26a;     /* texte sur cuir uniquement */
    --link: #7a5c1e;

    --sage: #7d8f69;
    --terracotta: #b5643c;
    --slate: #4f6475;
    --mustard: #c9a227;

    /* Fonds éclaircis (35 % de couleur) : texte encre ≥ 8:1. */
    --sage-light: #cccfb8;
    --terracotta-light: #e0c0a9;
    --slate-light: #bcc0bc;
    --mustard-light: #e7d5a1;
    --leather-light: #d8c8b4;

    /* Variantes assombries pour du texte sur papier : ≥ 5:1. */
    --sage-dark: #545a44;
    --terracotta-dark: #70452e;
    --slate-dark: #3d454a;
    --mustard-dark: #7a6424;

    --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

    --line: 1.75rem;          /* interligne = espacement des lignes du cahier */
    --radius: 3px;
    --shadow: 0 1px 2px rgb(0 0 0 / .18), 0 8px 24px rgb(0 0 0 / .28);
    --margin-notes: 12rem;    /* largeur des marges d'annotations (grand écran) */
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font: 1.0625rem/var(--line) var(--font-text);
    /* Fond de cuir foncé : grain léger en dégradés, aucune image. */
    background-color: var(--leather-dark);
    background-image:
        radial-gradient(ellipse at 20% 10%, rgb(255 255 255 / .05), transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgb(0 0 0 / .35), transparent 60%),
        repeating-radial-gradient(circle at 30% 40%, rgb(255 255 255 / .015) 0 1px, transparent 1px 3px);
}

a { color: var(--link); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
    outline: 3px solid var(--ink-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

h1, h2, h3 { line-height: 1.2; margin: var(--line) 0 calc(var(--line) / 2); }
p, ul, ol, dl { margin: 0 0 var(--line); }

/* Titres courts : écriture manuscrite. */
.page-title, .sheet h2 {
    font-family: var(--font-hand);
    font-weight: 700;
    color: var(--ink-blue);
}
.page-title { font-size: clamp(2.25rem, 6vw, 3rem); margin-top: 0; }
.sheet h2 { font-size: 1.9rem; }
.sheet h3 { font-size: 1.1rem; }

/* ---------- Accessibilité ---------- */

.print-only { display: none; }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -10rem;
    z-index: 10;
    padding: .5rem 1rem;
    background: var(--paper);
    color: var(--ink);
    font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.visually-hidden, .honeypot {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

main:focus { outline: none; }

/* ---------- Bureau, en-tête et onglets ---------- */

.desk {
    max-width: calc(48rem + 2 * var(--margin-notes) + 6rem);
    margin: 0 auto;
    padding: 1rem .75rem 2rem;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: .5rem 1rem;
    view-transition-name: site-header;
}

.site-name {
    color: var(--gold-text);
    font-family: var(--font-hand);
    font-size: 1.75rem;
    font-weight: 700;
    text-decoration: none;
    padding-bottom: .4rem;
}

.tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

/* Intercalaire : fond éclairci, bande de couleur pleine en haut. */
.tab a {
    display: block;
    padding: .35rem 1rem .25rem;
    border-top: 5px solid var(--tab-color);
    border-radius: 8px 8px 0 0;
    background: var(--tab-light);
    color: var(--ink);
    font-family: var(--font-hand);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: inset 0 -6px 8px -6px rgb(0 0 0 / .25);
}
.tab a:hover { filter: brightness(1.05); }

/* Onglet actif : se fond dans la page, filet d'or décoratif. */
.tab a[aria-current="page"] {
    background: var(--paper);
    box-shadow: inset 0 2px 0 var(--gold);
    padding-bottom: .5rem;
    margin-bottom: -.25rem;
}

.tab--leather { --tab-color: var(--leather); --tab-light: var(--leather-light); }
.tab--sage { --tab-color: var(--sage); --tab-light: var(--sage-light); }
.tab--terracotta { --tab-color: var(--terracotta); --tab-light: var(--terracotta-light); }
.tab--slate { --tab-color: var(--slate); --tab-light: var(--slate-light); }
.tab--mustard { --tab-color: var(--mustard); --tab-light: var(--mustard-light); }

.tabs-toggle {
    padding: .4rem 1rem;
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    background: transparent;
    color: var(--gold-text);
    font: 700 1.4rem/1.2 var(--font-hand);
    cursor: pointer;
}

/* Mobile : avec JS, le menu se replie derrière le bouton. */
@media (max-width: 40rem) {
    .js .tabs ul { display: none; flex-direction: column; padding-top: .5rem; }
    .js .tabs ul.is-open { display: flex; }
    .js .tab a { border-radius: var(--radius); border-top: 0; border-left: 6px solid var(--tab-color); }
    .js .tab a[aria-current="page"] { margin-bottom: 0; padding-bottom: .25rem; }
    .js .tabs { width: 100%; }
    .js .site-header { align-items: center; }
}

@media (min-width: 40.01rem) {
    .tabs-toggle { display: none; }
}

/* ---------- Carnet, reliure et feuille ---------- */

.notebook {
    position: relative;
    border-radius: 4px 10px 10px 4px;
    box-shadow: var(--shadow);
}

.sheet {
    display: block;
    position: relative;
    min-height: 60vh;
    padding: calc(var(--line) * 1.5) 1.25rem calc(var(--line) * 2) 1.25rem;
    border-radius: 2px 8px 8px 2px;
    background-color: var(--paper);
    /* Lignes du cahier, alignées sur l'interligne. */
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0 calc(var(--line) - 1px),
        rgb(217 207 184 / .55) calc(var(--line) - 1px) var(--line)
    );
    background-position: 0 calc(var(--line) * 1.5 - 1px);
    overflow-wrap: break-word;
}

/* Mobile : reliure cousue en haut de la feuille (filet d'or pointillé). */
.notebook::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: .75rem;
    border-radius: 2px 8px 0 0;
    background: var(--leather-dark);
    border-bottom: 2px dashed var(--gold);
    z-index: 1;
}
.sheet { padding-top: calc(var(--line) * 1.5 + .75rem); }

@media (min-width: 48rem) {
    .sheet {
        padding: calc(var(--line) * 2) 3rem calc(var(--line) * 2) 4.5rem;
    }

    /* Grand écran : spirale de reliure sur le bord gauche. */
    .notebook::before {
        inset: 0 auto 0 0;
        width: 2.75rem;
        height: auto;
        border-radius: 4px 0 0 4px;
        border-bottom: 0;
        background:
            radial-gradient(circle at 70% 50%, transparent 0 .32rem, var(--gold) .32rem .45rem, transparent .46rem) 0 0 / 100% 1.75rem repeat-y,
            linear-gradient(to right, var(--leather-dark), var(--leather) 65%, transparent);
        z-index: 1;
    }
}

/* Très grand écran : marges latérales pour les annotations. */
@media (min-width: 80rem) {
    .sheet {
        padding-left: calc(4.5rem + var(--margin-notes));
        padding-right: calc(2rem + var(--margin-notes));
    }
}

/* ---------- Pages d'erreur ---------- */

.error-page { text-align: center; }
.error-code {
    margin: 0;
    color: var(--terracotta-dark);
    font-family: var(--font-hand);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

/* ---------- Pied de page ---------- */

.site-footer {
    color: var(--paper);
    font-size: .95rem;
    text-align: center;
    padding-top: 1rem;
}
.site-footer a { color: var(--gold-text); }

/* ---------- Couverture (cuir) ---------- */

.is-cover .sheet {
    color: var(--paper);
    text-align: center;
    background-color: var(--leather);
    background-image:
        radial-gradient(ellipse at 30% 20%, rgb(255 255 255 / .07), transparent 60%),
        radial-gradient(ellipse at 70% 85%, rgb(0 0 0 / .3), transparent 65%);
    background-position: 0 0;
    /* Double filet d'or décoratif. */
    box-shadow: inset 0 0 0 .75rem var(--leather), inset 0 0 0 calc(.75rem + 2px) var(--gold),
                inset 0 0 0 calc(1.1rem + 2px) var(--leather), inset 0 0 0 calc(1.1rem + 3px) var(--gold);
}
.is-cover .notebook::before { display: none; }

.is-cover .sheet {
    padding: calc(var(--line) * 3) 2rem calc(var(--line) * 2);
}

.cover-name {
    margin: 0 0 1rem;
    color: var(--gold-text);
    font-family: var(--font-text);
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    /* Effet « gravé » dans le cuir. */
    text-shadow: 0 -1px 0 rgb(0 0 0 / .6), 0 1px 0 rgb(255 255 255 / .12);
}

.cover-photo {
    display: block;
    width: 10rem;
    height: 10rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 6px var(--leather-dark);
}

.cover-title { font-size: 1.2rem; font-weight: 600; }
.cover-tagline { font-style: italic; max-width: 32rem; margin-inline: auto; }

.cover-availability {
    display: inline-block;
    padding: .2rem 1rem;
    border: 1px solid var(--gold);
    border-radius: 999px;
    color: var(--gold-text);
}

.cover-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

.is-cover .sheet a { color: var(--gold-text); }

.cover .profile-links { justify-content: center; }

.cover-featured {
    margin-top: calc(var(--line) * 2);
    padding-top: var(--line);
    border-top: 1px solid var(--gold);
}
.cover-featured h2 {
    color: var(--gold-text);
    font-family: var(--font-hand);
    font-size: 1.75rem;
}
.cover-featured ul { list-style: none; padding: 0; }

/* ---------- Boutons et liens du profil ---------- */

.button {
    display: inline-block;
    padding: .45rem 1.25rem;
    border: 2px solid currentColor;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}
.button:hover { background: rgb(0 0 0 / .08); }
.is-cover .button:hover { background: rgb(255 255 255 / .08); }

.sheet .button { color: var(--ink-blue); }
/* Action principale : encre bleue pleine sur papier (texte papier : 10.2:1). */
.sheet .button--primary { background: var(--ink-blue); border-color: var(--ink-blue); color: var(--paper); }
.sheet .button--primary:hover { background: #2a4a73; }
.is-cover .sheet .button { color: var(--gold-text); }

.profile-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
}

/* ---------- CV ---------- */

.page-actions { margin-top: calc(-1 * var(--line) / 2); }

.cv-section > h2 {
    border-bottom: 2px solid var(--sage);
    padding-bottom: .1rem;
}
.cv-item h3 { margin-top: calc(var(--line) / 2); }
.cv-period { font-weight: 400; font-style: italic; white-space: nowrap; }
.cv-item ul { padding-left: 1.25rem; }

/* ---------- Projets ---------- */

.project-sheets {
    display: grid;
    gap: var(--line);
}

/* Feuille volante posée sur la page. */
.project-sheet {
    position: relative;
    padding: var(--line) 1.25rem calc(var(--line) / 2);
    background: var(--paper-light);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgb(0 0 0 / .2);
}
.project-sheet h2 { margin-top: 0; }
.project-sheet h2 a { color: var(--ink-blue); text-decoration: none; }
.project-sheet h2 a:hover { text-decoration: underline; }

@media (min-width: 64rem) {
    .project-sheets { grid-template-columns: repeat(2, 1fr); }
}

.project-meta dl { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.project-meta dt { font-weight: 700; display: inline; }
.project-meta dt::after { content: " :"; }
.project-meta dd { display: inline; margin: 0 0 0 .3em; }

.stack { display: inline; list-style: none; padding: 0; }
.stack li { display: inline; }
.stack li + li::before { content: " · "; }

/* Tampon d'état du projet. */
.stamp {
    display: inline-block;
    margin: 0 0 calc(var(--line) / 2);
    padding: .1rem .6rem;
    border: 2px solid var(--stamp-color);
    border-radius: var(--radius);
    color: var(--stamp-text);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transform: rotate(-3deg);
}
.stamp--completed { --stamp-color: var(--sage); --stamp-text: var(--sage-dark); }
.stamp--prototype { --stamp-color: var(--slate); --stamp-text: var(--slate-dark); }
.stamp--in_progress { --stamp-color: var(--terracotta); --stamp-text: var(--terracotta-dark); }

.example-flag {
    display: inline-block;
    padding: 0 .5rem;
    background: var(--mustard-light);
    font-size: .9rem;
}

.back-link { font-size: .95rem; }

/* ---------- Galerie : captures « scotchées » ---------- */

.gallery-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: calc(var(--line) * 1.25) 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.snapshot {
    position: relative;
    margin: .75rem 0 0;
    padding: .5rem .5rem .25rem;
    background: #fff;
    box-shadow: 0 2px 6px rgb(0 0 0 / .25);
}
.snapshot img { display: block; width: 100%; height: auto; }
.snapshot a:focus-visible { outline-offset: 4px; }
.snapshot figcaption {
    padding-top: .25rem;
    font-family: var(--font-hand);
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--ink-blue);
    text-align: center;
}

/* Ruban adhésif translucide en haut de la photo. */
.snapshot::before {
    content: "";
    position: absolute;
    top: -.75rem;
    left: 50%;
    width: 5.5rem;
    height: 1.5rem;
    translate: -50% 0;
    rotate: -4deg;
    background: rgb(233 222 190 / .75);
    box-shadow: 0 1px 2px rgb(0 0 0 / .15);
}

/* Rotation stable dérivée de l'identifiant (ProjectImage::rotationClass()). */
.rot-m3 { rotate: -3deg; }
.rot-m2 { rotate: -2deg; }
.rot-m1 { rotate: -1deg; }
.rot-0 { rotate: 0deg; }
.rot-1 { rotate: 1deg; }
.rot-2 { rotate: 2deg; }
.rot-3 { rotate: 3deg; }

/* ---------- Annotations et post-it ---------- */

.note p { margin: 0; }

.note--sage { --note-color: var(--sage); --note-light: var(--sage-light); }
.note--terracotta { --note-color: var(--terracotta); --note-light: var(--terracotta-light); }
.note--slate { --note-color: var(--slate); --note-light: var(--slate-light); }
.note--mustard { --note-color: var(--mustard); --note-light: var(--mustard-light); }
.note--blue_ink { --note-color: var(--ink-blue); --note-light: #c9d0d6; }

/* Annotation : écriture manuscrite à l'encre bleue, trait de couleur. */
.note--annotation {
    margin: 0 0 var(--line);
    padding-left: .75rem;
    border-left: 3px solid var(--note-color);
    color: var(--ink-blue);
    font-family: var(--font-hand);
    font-size: 1.35rem;
    line-height: var(--line);
}

/* Post-it : papier coloré éclairci, encre noire. */
.note--post_it {
    max-width: 16rem;
    margin: 0 0 var(--line);
    padding: .75rem 1rem;
    background: var(--note-light);
    color: var(--ink);
    font-family: var(--font-hand);
    font-size: 1.3rem;
    line-height: 1.3;
    box-shadow: 0 2px 4px rgb(0 0 0 / .2);
    transform: rotate(-1.5deg);
}
.note--post_it.note--margin_right, .note--post_it.note--bottom { transform: rotate(1.5deg); }

/*
 * Notes de marge : dans le flux sous 80rem (mobile, tablette),
 * flottantes dans les marges latérales au-delà.
 */
@media (min-width: 80rem) {
    .note--margin_left, .note--margin_right {
        width: calc(var(--margin-notes) - 1.5rem);
        max-width: none;
    }
    .note--margin_left {
        float: left;
        clear: left;
        margin-left: calc(-1 * var(--margin-notes));
    }
    .note--margin_right {
        float: right;
        clear: right;
        margin-right: calc(-1 * var(--margin-notes));
    }
}

/* ---------- Page de candidature (lien secret) ---------- */

.application-company { font-size: 1.15rem; font-style: italic; }
.application-hook {
    padding: .75rem 1rem;
    border-left: 4px solid var(--terracotta);
    background: var(--paper-light);
}
.sheet .project-sheet-title { margin-top: 0; font-family: var(--font-hand); font-size: 1.7rem; color: var(--ink-blue); }
.project-sheet-title a { color: inherit; text-decoration: none; }
.project-sheet-title a:hover { text-decoration: underline; }
.application .page-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 0; }

/* Bandeau d'aperçu (admin connecté uniquement). */
.preview-banner {
    margin: 0 0 var(--line);
    padding: .75rem 1rem;
    border: 2px dashed var(--slate);
    background: var(--slate-light);
    color: var(--ink);
}
.preview-banner p, .preview-banner ul { margin: 0 0 .5rem; }
.preview-banner p:last-child { margin-bottom: 0; }

/* ---------- Lettre : feuille posée dans le carnet ---------- */

.letter {
    max-width: 40rem;
    margin: 0 auto;
    padding: calc(var(--line) * 1.5) 1.5rem;
    background: var(--paper-light);
    /* Pas de rotation : elle rendrait le texte long moins net. */
    box-shadow: 0 2px 8px rgb(0 0 0 / .25);
}
.letter-recipient { text-align: right; }
.letter-body ul { padding-left: 1.25rem; }
.letter-signature {
    font-family: var(--font-hand);
    font-size: 1.8rem;
    color: var(--ink-blue);
    text-align: right;
}

@media (min-width: 48rem) {
    .letter { padding: calc(var(--line) * 2) 3rem; }
}

/* ---------- Formulaire de contact ---------- */

.contact-form { max-width: 34rem; }
.contact-form label { display: block; font-weight: 700; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: .45rem .6rem;
    border: 1px solid #8c8270;
    border-radius: var(--radius);
    background: var(--paper-light);
    color: var(--ink);
    font: inherit;
}
.contact-form [aria-invalid="true"] { border: 2px solid #8a1c1c; }
.field-error, .form-errors { color: #8a1c1c; font-weight: 600; }
.field-error { display: block; }
.form-status {
    padding: .5rem 1rem;
    border-left: 4px solid var(--sage);
    background: var(--sage-light);
}
.form-privacy { font-size: .9rem; }

/* ---------- Tourner la page : View Transitions (CSS seul) ---------- */

@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }

    ::view-transition-old(root) { animation: page-out .28s ease-in both; }
    ::view-transition-new(root) { animation: page-in .32s ease-out both; }

    @keyframes page-out {
        to { opacity: 0; transform: perspective(1200px) rotateY(-8deg) translateX(-2%); transform-origin: left center; }
    }
    @keyframes page-in {
        from { opacity: 0; transform: perspective(1200px) rotateY(6deg) translateX(2%); transform-origin: left center; }
    }
}

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

/* ---------- Impression : version sobre (CV, lettre) ---------- */

@media print {
    @page { margin: 1.5cm; }

    body { background: #fff; color: #000; font-size: 11pt; line-height: 1.45; }
    .skip-link, .site-header, .site-footer, .note, .back-link,
    .contact-form, .project-sheet-more, .cover-actions, .gallery, .page-actions { display: none !important; }

    .desk { max-width: none; padding: 0; }
    .notebook, .sheet, .letter, .project-sheet, .is-cover .sheet {
        box-shadow: none;
        background: #fff;
        color: #000;
        padding: 0;
        transform: none;
        min-height: 0;
    }
    .notebook::before { display: none; }

    h1, h2, h3, p, li { break-inside: avoid; }
    h2, h3 { break-after: avoid; }

    .print-only { display: block; }
    .cv-print-header { margin-bottom: 12pt; }
    .cv-print-header p, .cv-print-header ul { margin: 0; }
    .cv-print-name { font-size: 20pt; font-weight: 700; }
    /* Sur papier, un lien n'a de valeur qu'avec son adresse. */
    .cv-print-header a[href^="http"]::after { content: " (" attr(href) ")"; }
    .cv .page-title { display: none; }

    .page-title, .sheet h2 { font-family: var(--font-text); color: #000; }
    .sheet h2 { font-size: 14pt; margin: 12pt 0 4pt; }
    .sheet h3 { font-size: 11pt; margin: 6pt 0 2pt; }
    p, ul, dl { margin-bottom: 6pt; }
    /* Un seul accent conservé : le filet sous les titres de section du CV. */
    .cv-section > h2 { border-color: var(--sage); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    a { color: #000; text-decoration: none; }
    .stamp { transform: none; border-color: #000; color: #000; }
}
