:root {
    --bg: #ede0cf;
    --bg-card: #e3d0b5;
    --text-primary: #3a2a1e;
    --text-secondary: #6b543f;
    --text-tertiary: #8a7157;
    --border: #d4bb98;
    --border-soft: #b99b74;
    --accent: #b5643f;
    --stamp-ink: #2e3b52;
    --paper: #faf5e8;
}

html.theme-wine {
    --bg: #2a0f14;
    --bg-card: #3d151c;
    --text-primary: #f3e3e1;
    --text-secondary: #d1a8a8;
    --text-tertiary: #a3777a;
    --border: #5c2530;
    --border-soft: #7a3540;
    --accent: #c9575a;
    --stamp-ink: #f3e3e1;
    --paper: #3d151c;
}

html.theme-ink {
    --bg: #161b26;
    --bg-card: #1f2636;
    --text-primary: #e8e3d5;
    --text-secondary: #b7b2a2;
    --text-tertiary: #86816f;
    --border: #2c3650;
    --border-soft: #3a4666;
    --accent: #c9a24a;
    --stamp-ink: #e8e3d5;
    --paper: #232b3d;
}

@keyframes color-recover {
    0%   { filter: grayscale(0.85); }   /* was grayscale(1) */
    100% { filter: grayscale(0); }
}

html.is-recovering-color {
    animation: color-recover 3s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {

    html.is-recovering-color {
        animation: none;
        filter: none;
    }

}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, Helvetica, sans-serif;
    background-color: var(--bg);
    background-image: radial-gradient(
        circle,
        rgba(23, 23, 21, 0.05) 1px,
        transparent 1px
    );
    background-size: 22px 22px;
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
    padding-top: 80px;
}

body.menu-active {
    overflow: hidden;
}

img {
    max-width: 100%;
}

button {
    font-family: inherit;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

header {
    height: 80px;
    padding: 0 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: color-mix(in srgb, var(--bg) 85%, var(--text-primary) 15%);

    border-bottom: 1px solid var(--border);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    transition: transform 0.35s ease;
}

header.header-hidden {
    transform: translateY(-100%);
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.logo {
    color: var(--text-primary);
    text-decoration: none;

    font-size: 32px;
    font-weight: 800;
    letter-spacing: -4px;

    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.5;
}

.brand-label {
    color: var(--text-tertiary);

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.brand::after {
    content: "";

    width: 1px;
    height: 18px;

    margin-left: 10px;

    background: #d5d5d0;
}

nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

nav a {
    position: relative;

    padding: 8px 0;

    color: var(--text-primary);
    text-decoration: none;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    transition: opacity 0.3s ease;
}

nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 2px;

    width: 0;
    height: 1px;

    background: var(--text-primary);

    transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

nav a:hover {
    opacity: 0.65;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.active {
    opacity: 0.65;
}

.menu-button {
    display: none;

    border: none;
    background: none;

    color: var(--text-primary);

    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;

    cursor: pointer;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--text-primary);
    outline-offset: 5px;
}

.hero {
    position: relative;

    min-height: calc(100vh - 80px);

    padding: 0 8%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    position: relative;
}

.hero-heading {
    width: fit-content;
    position: relative;
}

.hero-label {
    width: max-content;

    position: absolute;

    left: 50%;
    bottom: 100%;

    transform: translateX(-50%);

    margin-bottom: 15px;

    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
}

.hero-heading h1,
.hero-title h1 {
    position: relative;
    z-index: 1;
}

.hero-title h1 {
    margin-left: -0.07em;

    font-size: clamp(120px, 21vw, 280px);
    font-weight: 700;
    line-height: 0.72;

    letter-spacing: -0.09em;
}

.small-text {
    margin-bottom: 15px;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.hero-photo {
    position: relative;

    display: block;

    width: 100%;

    padding: 10px 10px 18px;

    background: var(--bg-card);
    color: var(--text-primary);

    text-decoration: none;

    transform-origin: top center;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.14),
        0 3px 8px rgba(0, 0, 0, 0.08);

    cursor: pointer;

    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.5s ease;
}

.hero-photo:hover {
    transform:
        perspective(900px)
        rotateX(22deg)
        translateY(-10px)
        scale(1.03);

    box-shadow:
        0 36px 60px rgba(0, 0, 0, 0.24),
        0 10px 18px rgba(0, 0, 0, 0.14);
}

.bio-intro .hero-photo:hover {
    transform: translateY(-14px) scale(1.05);

    box-shadow:
        0 30px 50px rgba(0, 0, 0, 0.2),
        0 8px 14px rgba(0, 0, 0, 0.12);
}

.polaroid-wrap {
    position: absolute;
    z-index: 3;

    transform: rotate(var(--rot, 0deg));
}

.polaroid-wrap-one {
    width: 220px;

    top: 12%;
    right: 19%;

    --rot: 3deg;

    animation: fly-in-right 1.8s linear both;
    animation-delay: 0.4s;
}

.polaroid-wrap-two {
    width: 170px;

    top: 48%;
    right: 4%;

    --rot: -6deg;

    animation: fly-in-left 1.8s linear both;
    animation-delay: 0.7s;
}

@keyframes fly-in-right {

    0% {
        opacity: 0;
        transform: translateX(15vw) translateY(-140vh) rotate(50deg) scale(0.92);
        animation-timing-function: cubic-bezier(0.34, 0, 0.2, 1);
    }

    55% {
        opacity: 1;
        transform: translateX(-1vw) translateY(12px) rotate(calc(var(--rot) + 10deg)) scale(1);
        animation-timing-function: ease-out;
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(var(--rot)) scale(1);
    }

}

@keyframes fly-in-left {

    0% {
        opacity: 0;
        transform: translateX(-15vw) translateY(-140vh) rotate(-50deg) scale(0.92);
        animation-timing-function: cubic-bezier(0.34, 0, 0.2, 1);
    }

    55% {
        opacity: 1;
        transform: translateX(1vw) translateY(12px) rotate(calc(var(--rot) - 10deg)) scale(1);
        animation-timing-function: ease-out;
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(var(--rot)) scale(1);
    }

}

.polaroid-image {
    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: var(--border);
}

.polaroid-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.hero-photo:hover .polaroid-image img {
    transform: scale(1.04);
}

.polaroid-tape {
    position: absolute;
    z-index: 5;

    top: -20px;
    left: 50%;

    width: 55px;
    height: 30px;

    background: rgba(220, 215, 195, 0.85);

    --tape-rot: calc(var(--rot, 0deg) - 5deg);

    transform-origin: top center;
    transform: translateX(-50%) rotate(var(--tape-rot));

    opacity: 0.9;

    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.polaroid-wrap-two .polaroid-tape {
    --tape-rot: calc(var(--rot, 0deg) + 10deg);
    transform: translateX(-50%) rotate(calc(var(--rot, 0deg) + 10deg));
}

.polaroid-wrap:hover .polaroid-tape {
    transform: translateX(-50%) rotate(var(--tape-rot)) perspective(900px) rotateX(20deg) translateY(-3px);
}

@keyframes photo-pulled-off {

    0% {
        transform: perspective(900px) rotateX(22deg) translateY(-10px) scale(1.03);
        opacity: 1;
    }

    100% {
        transform: perspective(900px) rotateX(-8deg) translateY(60px) scale(1.6);
        opacity: 0;
    }

}

@keyframes tape-fall {

    0% {
        transform: translateX(-50%) translateY(0) rotate(var(--tape-rot));
        opacity: 0.9;
    }

    50% {
        transform: translateX(calc(-50% - 8px)) translateY(38px) rotate(calc(var(--tape-rot) + 14deg));
        opacity: 0.85;
    }

    100% {
        transform: translateX(calc(-50% - 18px)) translateY(85px) rotate(calc(var(--tape-rot) + 28deg));
        opacity: 0.75;
    }

}

.polaroid-wrap.is-leaving {
    z-index: 10;
}

.polaroid-wrap.is-leaving .polaroid-tape {
    transform: translateX(-50%) rotate(var(--tape-rot)) !important;

    transition: transform 0.2s ease;

    animation: none;
}

.polaroid-wrap.is-leaving .hero-photo {
    animation: photo-pulled-off 0.55s cubic-bezier(0.4, 0, 0.7, 1) 0.1s forwards;
}

.polaroid-name {
    display: block;

    margin-top: 10px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.polaroid-role {
    display: block;

    margin-top: 4px;

    color: var(--text-tertiary);

    font-size: 7px;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.hero-annotation {
    position: absolute;

    right: 25%;
    bottom: 5%;

    display: flex;
    flex-direction: column;

    color: var(--text-tertiary);

    font-size: 10px;
    line-height: 1.5;

    transform: rotate(-4deg);
}

.hero-bottom {
    max-width: 900px;

    position: relative;
    z-index: 4;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;
}

.hero-cta {
    margin-top: 35px;

    position: relative;
    z-index: 4;
}

.description {
    max-width: 420px;

    margin-top: 55px;

    color: var(--text-secondary);

    font-size: 17px;
    line-height: 1.7;
}

.button {
    display: inline-block;

    width: fit-content;

    padding: 15px 24px;

    background: var(--accent);
    color: var(--bg);

    text-decoration: none;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.button:hover {
    background: #954f30;
    transform: translateY(-3px);
}

.about {
    min-height: 90vh;

    padding: 120px 8%;

    border-top: 1px solid var(--border);
}

.about-top {
    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.25em;
}

.about-main {
    margin-top: 120px;

    display: grid;
    grid-template-columns: 1.5fr 1fr;

    gap: 100px;

    align-items: center;
}

.about-title {
    position: relative;
}

.about-main h2 {
    max-width: 850px;

    font-size: clamp(55px, 7.5vw, 120px);
    font-weight: 600;
    line-height: 0.88;

    letter-spacing: -0.08em;
}

.about-main h2 span {
    display: inline-block;

    color: var(--accent);

    transform: translateX(0.08em) rotate(-1deg);
}

.about-stamp {
    position: absolute;

    left: 45%;
    bottom: -20px;

    padding: 9px 13px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.2em;

    transform: rotate(-7deg);
}

.about-text {
    max-width: 430px;
}

.about-text > p {
    color: var(--text-secondary);

    font-size: 16px;
    line-height: 1.8;
}

.about-text > p + p {
    margin-top: 22px;
}

.about-person {
    position: relative;

    margin-top: 35px;
    padding: 18px 0;

    display: grid;
    grid-template-columns: 35px 1fr auto;

    align-items: center;
    gap: 15px;

    color: var(--text-primary);
    border-top: 1px solid var(--border);

    text-decoration: none;

    transition:
        padding 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.4s ease;
}

.about-person + .about-person {
    margin-top: 0;
}

.about-person:last-child {
    border-bottom: 1px solid var(--border);
}

.about-person:hover {
    padding-left: 15px;
    padding-right: 15px;

    background: #e9e6df;
}

.about-person span {
    color: var(--border-soft);

    font-size: 9px;
    letter-spacing: 0.1em;

    transition: color 0.3s ease;
}

.about-person strong {
    font-size: 18px;
    font-weight: 500;

    transition: transform 0.4s ease;
}

.about-person small {
    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.15em;
}

.about-person:hover strong {
    transform: translateX(5px);
}

.about-person:hover span {
    color: var(--text-primary);
}

.work {
    padding: 140px 8% 160px;

    border-top: 1px solid var(--border);
}

.work-header {
    margin-bottom: 100px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.work-header p {
    margin-bottom: 22px;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.3em;
}

.work-header h2 {
    font-size: clamp(70px, 10vw, 140px);
    font-weight: 600;
    line-height: 0.78;

    letter-spacing: -0.09em;
}

.work-count {
    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.15em;
}

.journal-grid {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 1fr;

    column-gap: 8%;
    row-gap: 150px;

    align-items: start;

    margin-bottom: -250px;
}

.journal-card {
    position: relative;
}

.journal-featured {
    grid-column: 1 / -1;
}

.journal-card-right {
    grid-column: 2;
    width: 100%;
    margin-left: auto;
}

.journal-card-left {
    grid-column: 1;
    width: 100%;
}

.journal-card.journal-tilt {
    transform: translateY(-80px) rotate(2deg);
}

.journal-card.journal-last {
    transform: translateY(-300px) rotate(-2.5deg);
}

.journal-card-right:nth-child(4) {
    transform: rotate(1.2deg);
}

.journal-card-left:nth-child(3) {
    transform: rotate(-0.7deg);
}

.journal-card:hover {
    z-index: 5;
}

.journal-image {
    position: relative;

    display: block;

    width: 100%;
    height: 520px;

    overflow: hidden;

    background: var(--bg-card);

    text-decoration: none;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

.journal-featured .journal-image {
    height: 680px;
}

.journal-card-right .journal-image {
    height: 560px;
}

.journal-card-left .journal-image {
    height: 500px;
}

.journal-card.journal-tilt .journal-image {
    height: 800px;
}

.journal-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter: saturate(0.9);

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.journal-card:hover .journal-image {
    transform: translateY(-6px);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.12);
}

.journal-card:hover .journal-image img {
    transform: scale(1.045);
}

.journal-number {
    position: absolute;

    left: 25px;
    bottom: 25px;

    z-index: 2;

    color: #fff;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;

    mix-blend-mode: difference;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.journal-card:hover .journal-number {
    transform: translate(5px, -5px);
}

.journal-note {
    position: absolute;

    top: 25px;
    right: 25px;

    z-index: 2;

    padding: 8px 11px;

    background: var(--bg);
    color: var(--text-primary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;

    transform: rotate(3deg);

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.journal-card-left .journal-note {
    transform: rotate(-4deg);
}

.journal-card:hover .journal-note {
    transform: rotate(0deg) translateY(-4px);
}

.journal-info {
    padding-top: 22px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;
}

.journal-info h3 {
    font-size: 22px;
    font-weight: 500;

    letter-spacing: -0.03em;

    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.journal-card:hover .journal-info h3 {
    transform: translateX(6px);
}

.journal-info p {
    max-width: 400px;

    margin-top: 10px;

    color: var(--text-tertiary);

    font-size: 12px;
    line-height: 1.6;
}

.journal-info > span {
    flex-shrink: 0;

    padding-top: 5px;

    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.12em;
}

.journal-featured .journal-info h3 {
    font-size: clamp(32px, 4vw, 55px);
    letter-spacing: -0.05em;
}

.journal-field-note {
    grid-column: 1;

    width: 220px;

    margin-top: -80px;
    margin-left: 12%;

    position: relative;

    padding: 25px 0;

    border-top: 1px solid var(--border-soft);
}

.field-note-label {
    display: block;

    margin-bottom: 22px;

    color: var(--text-tertiary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.journal-field-note p {
    color: var(--text-secondary);

    font-family: Georgia, serif;

    font-size: 17px;
    font-style: italic;
    line-height: 1.5;
}

.field-note-location {
    display: block;

    margin-top: 25px;

    color: var(--border-soft);

    font-size: 8px;
    letter-spacing: 0.12em;
}

.journal-writing {
    width: 75%;

    margin-top: 100px;
    margin-left: auto;

    padding-top: 22px;

    border-top: 1px solid var(--border-soft);
}

.journal-writing-label {
    display: block;

    margin-bottom: 20px;

    color: var(--text-tertiary);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.journal-writing p {
    color: var(--text-secondary);

    font-family: Georgia, serif;

    font-size: 18px;
    font-style: italic;
    line-height: 1.65;
}

.journal-writing-signature {
    display: block;

    margin-top: 20px;

    color: var(--text-tertiary);

    font-family: Georgia, serif;

    font-size: 14px;
    font-style: italic;
}

.journal-interactive {
    position: relative;

    margin-top: 70px;
    padding: 35px 40px 40px;

    background: var(--bg-card);

    border: 1px solid var(--border-soft);

    transform: rotate(-0.7deg);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.journal-interactive:hover {
    transform: rotate(0deg) translateY(-3px);

    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08);
}

.journal-interactive-top,
.journal-interactive-header {
    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.journal-interactive-title {
    margin-top: 35px;

    display: flex;
    flex-direction: column;

    line-height: 0.8;
}

.journal-interactive-title span {
    color: var(--text-tertiary);

    font-size: 12px;
    letter-spacing: 0.12em;
}

.journal-interactive-title strong {
    margin-top: 5px;

    font-size: clamp(45px, 5vw, 70px);
    font-weight: 600;

    letter-spacing: -0.08em;
}

.journal-destinations {
    margin-top: 45px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.destination {
    padding: 0;

    border: none;
    background: none;

    color: var(--text-tertiary);

    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;

    text-align: left;

    cursor: pointer;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.destination:hover,
.destination.active {
    color: var(--text-primary);
}

.destination:hover {
    transform: translateY(-3px);
}

.destination-number {
    display: block;

    margin-bottom: 8px;

    color: var(--border-soft);

    font-size: 8px;
}

.journal-route {
    position: relative;

    height: 25px;

    margin: 10px 8% 0;
}

.route-line {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 1px;

    background: var(--border-soft);
}

.route-dot {
    position: absolute;

    top: 50%;
    left: 16.5%;

    width: 7px;
    height: 7px;

    background: var(--text-primary);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    transition:
        left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.journal-interactive-bottom {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #c3beb3;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;
}

.destination-caption {
    margin: 0;

    color: var(--text-secondary);

    font-family: Georgia, serif;

    font-size: 17px;
    font-style: italic;
    line-height: 1.5;

    transition: opacity 0.2s ease;
}

.journal-explore {
    flex-shrink: 0;

    display: inline-block;

    color: var(--text-primary);

    border-bottom: 1px solid var(--text-primary);

    padding-bottom: 5px;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;

    text-decoration: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.journal-explore:hover {
    opacity: 0.5;
    transform: translateX(4px);
}

.journal-ticket {
    position: relative;

    width: 280px;

    margin-top: 40px;
    margin-left: 40px;

    padding: 24px 22px 20px;

    background: var(--bg-card);

    border: 1px solid var(--border-soft);

    transform: rotate(3deg);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.08);

    overflow: hidden;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.journal-ticket:hover {
    transform: rotate(0deg) translateY(-5px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.12);
}

.ticket-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 15px;

    border-bottom: 1px dashed var(--border-soft);

    color: var(--text-tertiary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.ticket-main {
    padding: 25px 0 30px;
}

.ticket-label {
    display: block;

    margin-bottom: 12px;

    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.2em;
}

.ticket-main strong {
    display: block;

    color: var(--text-primary);

    font-size: 34px;
    font-weight: 600;
    line-height: 0.9;

    letter-spacing: -0.06em;
}

.ticket-bottom {
    padding-top: 15px;

    display: flex;
    justify-content: space-between;

    border-top: 1px dashed var(--border-soft);

    color: var(--text-tertiary);

    font-size: 7px;
    letter-spacing: 0.16em;
}

.ticket-airports {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 22px;
}

.ticket-airport {
    display: flex;
    flex-direction: column;
}

.ticket-airport-right {
    align-items: flex-end;
    text-align: right;
}

.ticket-airport strong {
    font-size: 26px;
    font-weight: 700;

    letter-spacing: 0.02em;

    color: var(--text-primary);
}

.ticket-airport span {
    margin-top: 4px;

    color: var(--text-tertiary);

    font-size: 7px;
    letter-spacing: 0.18em;
}

.ticket-plane {
    color: var(--text-tertiary);

    font-size: 14px;

    transform: rotate(90deg);
}

.ticket-perforation {
    position: relative;

    margin: 20px -22px 0;

    height: 1px;
}

.perf-line {
    position: absolute;

    top: 50%;
    left: 22px;
    right: 22px;

    border-top: 1px dashed var(--border-soft);
}

.perf-notch {
    position: absolute;

    top: 50%;

    width: 16px;
    height: 16px;

    background: var(--bg);

    border-radius: 50%;

    transform: translateY(-50%);
}

.perf-notch-left {
    left: -8px;
}

.perf-notch-right {
    right: -8px;
}

.ticket-barcode {
    height: 32px;

    margin: 20px 0 15px;

    background: repeating-linear-gradient(
        90deg,
        var(--text-primary) 0,
        var(--text-primary) 2px,
        transparent 2px,
        transparent 5px,
        var(--text-primary) 5px,
        var(--text-primary) 6px,
        transparent 6px,
        transparent 10px
    );

    opacity: 0.75;
}

.journal-feature-extra {
    display: flex;
    flex-direction: column;

    gap: 70px;
}

.journal-compass {
    margin-top: 75px;

    padding: 30px 0 10px;

    border-top: 1px solid var(--border-soft);

    cursor: pointer;
}

.compass-label {
    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.compass {
    position: relative;

    width: 190px;
    height: 190px;

    margin: 45px auto 25px;

    transition: transform 0.4s ease;
}

.compass-ring {
    position: absolute;

    inset: 20px;

    border: 1px solid var(--border-soft);

    border-radius: 50%;
}

.compass-ring::before {
    content: "";

    position: absolute;

    inset: 8px;

    border: 1px dashed var(--border-soft);

    border-radius: 50%;
}

.journal-compass:hover .compass-ring {
    border-color: var(--text-tertiary);
}

.journal-compass:hover .compass-ring::before {
    border-color: var(--border-soft);
}

.compass-direction {
    position: absolute;

    color: var(--text-tertiary);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.compass-n {
    top: 0;
    left: 50%;

    transform: translateX(-50%);
}

.compass-e {
    top: 50%;
    right: 0;

    transform: translateY(-50%);
}

.compass-s {
    bottom: 0;
    left: 50%;

    transform: translateX(-50%);
}

.compass-w {
    top: 50%;
    left: 0;

    transform: translateY(-50%);
}

.compass-cross {
    position: absolute;

    inset: 50%;

    width: 100px;
    height: 100px;

    transform: translate(-50%, -50%);
}

.compass-cross span {
    position: absolute;

    top: 50%;
    left: 0;

    width: 100%;
    height: 1px;

    background: var(--border);
}

.compass-cross span:last-child {
    transform: rotate(90deg);
}

.compass-needle {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 2px;
    height: 75px;

    background: var(--text-primary);

    transform-origin: center bottom;
    transform: translate(-50%, -100%) rotate(25deg);

    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

    z-index: 3;
}

.compass-needle::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 5px;
    height: 25px;

    background: var(--text-primary);

    transform: translateX(-50%);

    clip-path: polygon(
        50% 0,
        100% 100%,
        50% 80%,
        0 100%
    );
}

.compass-center {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 9px;
    height: 9px;

    background: var(--text-primary);

    border: 3px solid var(--bg);
    border-radius: 50%;

    box-shadow: 0 0 0 1px var(--text-primary);

    transform: translate(-50%, -50%);
}

.compass-location {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.compass-location strong {
    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.08em;
}

.compass-location span {
    margin-top: 6px;

    color: var(--text-tertiary);

    font-size: 9px;
    letter-spacing: 0.2em;
}

.journal-map {
    width: 240px;

    padding: 18px 15px 15px;

    background: var(--bg-card);
    border: 1px solid var(--border-soft);

    color: var(--text-secondary);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.08);

    transform: rotate(-2deg);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.journal-map:hover {
    transform: rotate(0deg) translateY(-5px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.12);
}

.map-label {
    display: flex;
    justify-content: space-between;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.map-drawing {
    position: relative;

    width: 100%;
    height: 125px;

    margin-top: 15px;

    overflow: hidden;
}

.map-line {
    position: absolute;

    display: block;

    height: 1px;

    background: var(--border-soft);

    transform-origin: left center;
}

.map-line-one {
    width: 155px;

    top: 35px;
    left: 15px;

    transform: rotate(18deg);
}

.map-line-two {
    width: 115px;

    top: 75px;
    left: 45px;

    transform: rotate(-28deg);
}

.map-line-three {
    width: 85px;

    top: 92px;
    left: 115px;

    transform: rotate(42deg);
}

.map-point {
    position: absolute;

    top: 47px;
    left: 151px;

    width: 9px;
    height: 9px;

    background: var(--text-primary);

    border: 2px solid var(--bg);
    border-radius: 50%;

    box-shadow: 0 0 0 1px var(--text-primary);
}

.map-location {
    display: flex;
    flex-direction: column;

    gap: 5px;

    padding-top: 10px;

    border-top: 1px dashed var(--border-soft);
}

.map-location span {
    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.15em;
}

.map-location small {
    color: var(--text-tertiary);

    font-size: 7px;
    letter-spacing: 0.12em;
}

.journal-lower-collage {
    margin-top: -90px;

    display: flex;
    flex-direction: row;
    align-items: flex-start;

    gap: 25px;
}

.contact {
    position: relative;

    overflow: hidden;   /* ← add this line */

    min-height: 80vh;

    padding: 120px 8%;

    border-top: 1px solid var(--border);
}

.contact-top {
    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.25em;
}

.contact-main {
    margin-top: 140px;

    display: grid;
    grid-template-columns: 1.4fr 1fr;

    gap: 60px;

    align-items: center;
}

.contact-main h2 {
    font-size: clamp(70px, 11vw, 160px);
    font-weight: 600;
    line-height: 0.85;

    letter-spacing: -0.09em;
}

.contact-main h2 span {
    color: var(--accent);
}

.contact-note {
    max-width: 380px;

    margin-top: 30px;

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 1.7;
}

.contact-email {
    position: relative;
    width: fit-content;

    margin-top: 40px;
    padding-bottom: 8px;

    display: flex;
    align-items: center;

    gap: 20px;

    color: var(--text-primary);

    border-bottom: 1px solid var(--text-primary);

    font-size: 18px;

    text-decoration: none;

    transition: gap 0.3s ease;
}

.contact-email span {
    font-size: 20px;
}

.contact-email:hover {
    gap: 30px;
}

.contact-email .email-copied-note {
    position: absolute;

    left: 90%;
    bottom: 90%;

    margin-bottom: 8px;

    padding: 3px 7px;

    background: var(--bg);
    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 9px;
    letter-spacing: 0.03em;
    white-space: nowrap;

    transform: translate(-50%, 4px) rotate(-2deg);

    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.email-copied-note.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) rotate(-2deg);
}

.contact-social {
    margin-top: 35px;

    display: flex;
    gap: 30px;
}

.contact-social-link {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--text-tertiary);

    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.contact-social-link:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.contact-stamp {
    position: absolute;
    top: 370px;
    right: 8%;
}

.stamp-ring {
    position: relative;

    width: 200px;
    height: 200px;

    transform: rotate(-6deg);
}

.stamp-ring::before {
    content: "";

    position: absolute;
    inset: 0;

    border: 1.5px solid var(--border-soft);
    border-radius: 50%;
}

.stamp-ring::after {
    content: "";

    position: absolute;
    inset: 14px;

    border: 1px dashed var(--border-soft);
    border-radius: 50%;
}

.stamp-text {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.stamp-center {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 6px;

    color: var(--text-primary);

    transform: translate(-50%, -50%);
}

.stamp-center span {
    font-size: 22px;

    transform: rotate(45deg);
}

.stamp-center strong {
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.15em;
}

footer {
    padding: 40px 8%;

    border-top: 1px solid var(--border);

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 13px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;

    letter-spacing: -3px;
}

footer p {
    color: var(--text-tertiary);
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--text-primary);

    text-decoration: none;

    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.5;
}

.project-image,
.photo,
.travel-image,
.life-card a,
.article-image {
    background: var(--bg-card);
}

.project-image img,
.photo img,
.travel-image img,
.life-card img,
.article-image img {
    filter: saturate(0.9);
}

.back-link {
    color: var(--text-primary);

    font-size: 11px;
    letter-spacing: 0.15em;

    text-decoration: none;
}

.article {
    padding: 100px 8% 140px;
}

.article-header {
    max-width: 1000px;
}

.article-category {
    margin-bottom: 35px;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.25em;
}

.article-header h1 {
    margin: 0;

    font-size: clamp(80px, 12vw, 180px);
    line-height: 0.82;

    letter-spacing: -0.09em;
}

.article-intro {
    max-width: 500px;

    margin-top: 60px;

    color: var(--text-secondary);

    font-size: 20px;
    line-height: 1.6;
}

.article-image {
    width: 100%;

    margin-top: 120px;

    overflow: hidden;
}

.article-image img {
    width: 100%;

    display: block;

    aspect-ratio: 16 / 9;

    object-fit: cover;
}

.article-content {
    margin-top: 100px;

    display: grid;
    grid-template-columns: 1fr 2fr;

    gap: 60px;
}

.article-meta {
    display: flex;
    flex-direction: column;

    gap: 10px;

    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.2em;
}

.article-text p {
    margin-bottom: 30px;
    grid-area: text;

     max-width: none;


    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.9;
}

.article-footer a {
    color: var(--text-primary);

    font-size: 13px;

    text-decoration: none;
}

.photo-page {
    padding: 100px 8% 140px;
}

.photo-intro {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.photo-intro h1 {
    margin: 30px 0 50px;

    font-size: clamp(90px, 13vw, 190px);
    line-height: 0.8;

    letter-spacing: -0.09em;
}

.photo-intro > p:last-child {
    max-width: 420px;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.7;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 60px;
    align-items: start;
}

.photo {
    height: 600px;
    overflow: hidden;
}

.photo-large {
    grid-column: span 2;
    height: 750px;
    transform: rotate(0.3deg);
}

.photo-wide {
    grid-column: span 2;
    height: 600px;
    transform: rotate(-0.5deg);
}

.photo-tilt-a {
    height: 560px;
    transform: rotate(1.3deg) translateY(22px);
}

.photo-tilt-b {
    height: 500px;
    transform: rotate(-1.5deg) translateY(-14px);
}

.photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.photo:hover img {
    transform: scale(1.04);
}

.travel-page {
    padding: 100px 8% 140px;
}

.travel-intro {
    position: relative;

    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.travel-top {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.25em;
}

.travel-heading {
    position: relative;

    width: fit-content;
}

.travel-intro h1 {
    position: relative;
    z-index: 1;

    margin: 30px 0 50px;

    font-size: clamp(90px, 13vw, 190px);
    line-height: 0.8;

    letter-spacing: -0.09em;
}

.travel-intro > p:last-child {
    position: relative;
    z-index: 1;

    max-width: 430px;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.7;
}

.travel-stamp {
    position: absolute;

    top: 6%;
    right: 4%;

    padding: 9px 13px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.2em;

    transform: rotate(6deg);
}

.travel-annotation {
    position: absolute;

    right: 6%;
    bottom: 6%;

    display: flex;
    flex-direction: column;

    color: var(--text-tertiary);

    font-size: 10px;
    line-height: 1.5;
    text-align: right;

    transform: rotate(-4deg);
}

.travel-filters {
    position: relative;
    z-index: 1;

    margin-top: 20px;
    margin-bottom: 60px;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-chip {
    padding: 9px 18px;

    background: none;
    border: 1px solid var(--border-soft);
    border-radius: 999px;

    color: var(--text-tertiary);

    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.filter-chip:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.travel-story.hidden {
    display: none;
}

.travel-stories {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    column-gap: 7%;
    row-gap: 100px;

    align-items: start;
}

.travel-story {
    position: relative;
}

.travel-story.featured {
    grid-column: 1 / -1;
}

.travel-story:not(.featured):nth-child(3n+2) {
    transform: rotate(-1.6deg);
}

.travel-story:not(.featured):nth-child(3n+3) {
    margin-top: 70px;

    transform: rotate(1.8deg);
}

.travel-story:not(.featured):nth-child(3n+4) {
    margin-top: 30px;

    transform: rotate(-1.1deg);
}

.travel-story:hover {
    z-index: 5;
}

.travel-image {
    position: relative;

    display: block;

    width: 100%;
    height: 480px;

    overflow: hidden;

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

.travel-story.featured .travel-image {
    height: 640px;
}

.travel-story:not(.featured):nth-child(4n) .travel-image {
    height: 560px;
}

.travel-story:not(.featured):nth-child(4n+2) .travel-image {
    height: 620px;
}

.travel-story:not(.featured):nth-child(4n+3) .travel-image {
    height: 420px;
}

.travel-story:hover .travel-image {
    transform: translateY(-6px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.travel-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.travel-story:hover .travel-image img {
    transform: scale(1.04);
}

.travel-number {
    position: absolute;

    left: 22px;
    bottom: 22px;

    z-index: 2;

    color: #fff;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;

    mix-blend-mode: difference;

    transition: transform 0.4s ease;
}

.travel-story:hover .travel-number {
    transform: translate(5px, -5px);
}

.travel-note {
    position: absolute;

    top: 22px;
    right: 22px;

    z-index: 2;

    padding: 8px 11px;

    background: var(--bg);
    color: var(--text-primary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;

    transform: rotate(3deg);

    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.travel-story:not(.featured):nth-child(even) .travel-note {
    left: 22px;
    right: auto;

    transform: rotate(-4deg);
}

.travel-story:hover .travel-note {
    transform: rotate(0deg) translateY(-4px);
}

.travel-info {
    padding-top: 25px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.story-number {
    margin-bottom: 12px;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.15em;
}

.travel-info h2 {
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 500;

    letter-spacing: -0.05em;
}

.travel-story.featured .travel-info h2 {
    font-size: clamp(34px, 4.2vw, 58px);
}

.travel-info > p {
    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.1em;
}

.travel-layout {
    position: relative;

    display: grid;

    grid-template-columns: 1fr 300px;
    grid-template-areas: "stories sidebar";

    gap: 90px;

    align-items: start;
}

.travel-layout .travel-stories {
    grid-area: stories;
}

.travel-sidebar {
    grid-area: sidebar;

    position: sticky;
    top: 110px;
}

.trip-log {
    position: relative;

    padding: 32px 26px 26px;

        background: var(--bg-card);
            background-image:
        repeating-linear-gradient(
            37deg,
            rgba(46, 59, 82, 0.09) 0px,
            rgba(46, 59, 82, 0.09) 0.5px,
            transparent 0.5px,
            transparent 3px
        ),
        repeating-linear-gradient(
            -52deg,
            rgba(46, 59, 82, 0.07) 0px,
            rgba(46, 59, 82, 0.07) 0.5px,
            transparent 0.5px,
            transparent 4px
        ),
        repeating-linear-gradient(
            8deg,
            rgba(46, 59, 82, 0.06) 0px,
            rgba(46, 59, 82, 0.06) 0.5px,
            transparent 0.5px,
            transparent 2.5px
        );
    background-blend-mode: multiply;

    border: 2px solid var(--stamp-ink);
    outline: 1px solid var(--stamp-ink);

    outline-offset: -7px;

    border-radius: 3px 14px 5px 16px / 12px 4px 18px 3px;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.1);

        transform: rotate(var(--tilt, -4deg)) scale(1.02);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.trip-log-badge {
    position: absolute;

    top: -12px;
    left: 18px;

    padding: 5px 10px;

    background: var(--bg);
    border: 1.5px solid var(--stamp-ink);

    color: var(--stamp-ink);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.2em;

    transform: rotate(-16deg);
}

.trip-log-keychain {
    position: absolute;

    top: 100%;
    right: 20px;

    width: 190px;
    margin-top: -4px;

    z-index: 6;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform-origin: 50% 0;

    cursor: pointer;
}
.keychain-loop {
    width: 12px;
    height: 12px;

    border: 2px solid var(--stamp-ink);
    border-radius: 50%;

    background: var(--bg-card);
}

.keychain-chain {
    width: 0;
    height: 52px;

    margin: -1px 0;

    border-left: 2px dashed var(--stamp-ink);
}

.paper-window {
    overflow: hidden;

    width: 190px;
    height: 0;
}

.paper {
    position: relative;

    width: 190px;
    height: 420px;

    padding: 18px 20px 16px;

    background: var(--paper);

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);

    display: flex;
    flex-direction: column;
    align-items: center;
}
.paper::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 16px;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.18),
        transparent
    );
}

.paper-label {
    flex-shrink: 0;

    margin-bottom: 14px;

    color: var(--text-tertiary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-align: center;
}

.paper-note {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg) translateZ(0);
    backface-visibility: hidden;

    color: var(--text-secondary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 15px;
    letter-spacing: 0.07em;
    line-height: 1.7;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;

    transition: opacity 0.2s ease;
}

.paper-word {
    flex-shrink: 0;

    margin-bottom: 14px;

    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg) translateZ(0);
    backface-visibility: hidden;

    color: var(--accent);

    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    font-style: italic;

    letter-spacing: 0.02em;
    line-height: 1;

    transition: opacity 0.2s ease;
}

.paper-roll {
    flex-shrink: 0;

    width: 190px;
    height: 12px;

    border-radius: 6px;

    background: repeating-linear-gradient(
        90deg,
        var(--stamp-ink) 0px,
        var(--stamp-ink) 3px,
        #4a5a78 3px,
        #4a5a78 6px
    );
    background-size: 12px 100%;

    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.paper-string {
    width: 0;
    height: 22px;

    border-left: 2px dashed var(--stamp-ink);
}

.pull-hint {
    margin-top: 8px;

    color: var(--text-tertiary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;

    opacity: 0.8;

    transition: opacity 0.3s ease;

    pointer-events: none;
}

.keychain-tag {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    background: var(--stamp-ink);
    color: var(--bg-card);

    border-radius: 50%;
    border: 2px solid var(--bg-card);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    font-size: 14px;

    cursor: grab;
    touch-action: none;
    user-select: none;

    transform: rotate(-6deg);

    transition: transform 0.15s ease;
}

.keychain-tag:active {
    cursor: grabbing;

    transform: rotate(-6deg) scale(0.95);
}

.trip-log:hover {
    transform: rotate(0deg) translateY(-3px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.12);
}

.trip-log-top {
    display: flex;
    justify-content: space-between;

    padding: 4px 68px 12px 0;

    border-bottom: 1px solid var(--border-soft);

    color: color-mix(in srgb, var(--stamp-ink) 65%, transparent);

    font-family: Georgia, serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.tl-compass {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 54px;
    height: 54px;

    margin: 0;

    background: var(--bg-card);

    border-radius: 50%;

    transform: rotate(-8deg);

    z-index: 2;
}

.tl-ring {
    position: absolute;

    inset: 3px;

    border: 1.5px solid var(--stamp-ink);
    border-radius: 50%;

    box-shadow:
        0 0 0 2px var(--bg-card),
        0 0 0 3px var(--stamp-ink);
}

.tl-ring::before {
    content: "";

    position: absolute;

    inset: 4px;

    border: 1px dashed var(--border-soft);
    border-radius: 50%;
}

.tl-needle {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 1.5px;
    height: 18px;

    background: var(--accent);

    transform-origin: center bottom;
    transform: translate(-50%, -100%) rotate(25deg);

    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);

    z-index: 2;
}

.tl-needle::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 3px;
    height: 7px;

    background: var(--accent);

    transform: translateX(-50%);

    clip-path: polygon(50% 0, 100% 100%, 50% 80%, 0 100%);
}

.tl-center {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 4px;
    height: 4px;

    background: var(--text-primary);

    border: 1.5px solid var(--bg-card);
    border-radius: 50%;

    box-shadow: 0 0 0 1px var(--text-primary);

    transform: translate(-50%, -50%);
}

.trip-log-place {
    margin-top: 22px;

    text-align: left;
}

.trip-log-place strong {
    display: block;

    color: var(--stamp-ink);

    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 700;

    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.05;

    transition: opacity 0.2s ease;
}

.trip-log-place span {
    display: block;

    margin-top: 8px;

    color: var(--text-tertiary);

    font-size: 9px;
    letter-spacing: 0.2em;

    transition: opacity 0.2s ease;
}

.trip-log-meta {
    margin-top: 26px;
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    border-top: 3px double var(--stamp-ink);

    color: var(--text-secondary);

    font-family: "Courier New", monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trip-log-meta span:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.lifestyle-page {
    padding: 100px 8% 140px;
}

.lifestyle-intro {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lifestyle-intro h1 {
    margin: 30px 0 50px;

    font-size: clamp(90px, 13vw, 190px);
    line-height: 0.8;

    letter-spacing: -0.09em;
}

.lifestyle-intro > p:last-child {
    max-width: 450px;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.7;
}

.lifestyle-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 80px 30px;
}

.life-card-large {
    grid-column: span 2;
}

.life-card a {
    display: block;

    height: 600px;

    overflow: hidden;
}

.life-card-large a {
    height: 750px;
}

.life-card img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.life-card:hover img {
    transform: scale(1.04);
}

.life-info {
    padding-top: 20px;
}

.life-info p {
    margin-bottom: 12px;

    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.15em;
}

.life-info h2 {
    font-size: clamp(30px, 4vw, 55px);
    font-weight: 500;

    letter-spacing: -0.05em;
}

.bio-page {
    padding: 100px 8% 140px;
}

.bio-intro {
    position: relative;

    min-height: 55vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-intro h1 {
    margin: 25px 0 20px;

    font-size: clamp(100px, 16vw, 220px);
    line-height: 0.75;

    letter-spacing: -0.1em;
}

.bio-intro .polaroid-wrap-one {
    top: 5px;
    right: 70px;
    width: 190px;
}

.bio-intro .polaroid-wrap-two {
    top: 5%;
    right: 6%;
    width: 190px;
}


.bio-role {
    position: relative;

    color: var(--text-tertiary);

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.25em;
}

.bio-role::before {
    content: "STORYTELLER";

    position: absolute;

    top: -14px;
    left: 0;

    color: var(--border-soft);

    font-size: 10px;
    letter-spacing: 0.2em;
    text-decoration: line-through;

    opacity: 0.6;
}

.bio-content {

    position: relative;

    overflow: hidden;
}

.manuscript-mark {
    position: absolute;

    top: 20px;
    right: 20px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
}

.bio-photo {
    overflow: hidden;

    transform: rotate(-2deg);
}

.bio-photo img {
    width: 100%;
    height: 700px;

    display: block;

    object-fit: cover;
}

.bio-text {
    max-width: 450px;

    padding-left: 24px;

    border-left: 1px solid var(--border);
}

.bio-label {
    margin-bottom: 35px;

    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.25em;
}

.bio-text > p:not(.bio-label) {
    margin-bottom: 25px;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.9;
}

.bio-page-writer .bio-link {
    position: relative;

    display: inline-block;

    margin-top: 25px;
    padding-bottom: 6px;

    color: var(--accent);

    font-family: "Caveat", cursive;
    font-weight: 600;
    font-size: 22px;

    text-decoration: none;

    border-bottom: none;
}

.bio-link:hover {
    border-color: var(--text-primary);
}

.bio-page-writer .bio-intro::before {
    content: "WORDS";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: var(--text-primary);

    font-size: 22vw;
    font-weight: 800;
    letter-spacing: -0.05em;

    opacity: 0.03;



    pointer-events: none;
    z-index: 0;
}

.paper-holes {
    position: absolute;

    top: 45px;
    left: 60px;
    z-index: 5;

    display: flex;
    flex-direction: column;
    gap: 48px;
}

.paper-holes span {
    display: block;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.35),
        0 1px 1px rgba(255, 255, 255, 0.4);
}

@keyframes tail-wag {

    90%, 10% {
        transform: rotate(-20deg);
    }

    50% {
        transform: rotate(9deg);
    }

}

main > section,
.article-header,
.article-image,
.article-content,
.article-footer {
    animation: fadeUp 0.8s ease both;
    animation-delay: 0.3s;
}

main > section:nth-child(2) {
    animation-delay: 0.1s;
}

main > section:nth-child(3) {
    animation-delay: 0.2s;
}

main > section:nth-child(4) {
    animation-delay: 0.3s;
}

.article-image {
    animation-delay: 0.1s;
}

.article-content {
    grid-template-columns: 1fr;
    grid-template-areas: "text";
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes place-down {

    0% {
        opacity: 0;
        transform: translateY(-40px) scale(1.15) rotate(var(--rot, 0deg));
    }

    60% {
        opacity: 1;
        transform: translateY(6px) scale(0.98) rotate(var(--rot, 0deg));
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(var(--rot, 0deg));
    }

}

.bio-intro .polaroid-wrap-one {
    animation: place-down 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

.bio-intro .polaroid-wrap-two {
    animation: place-down 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    opacity: 0;

    pointer-events: none;
    will-change: transform;

    transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    body.custom-cursor-ready * {
        cursor: none !important;
    }
}

.cursor-arrow-img {
    display: block;

    width: 20px;
    height: 25px;

    transition:
        transform 0.2s ease,
        width 0.2s ease,
        height 0.2s ease;
}

.cursor-arrow-img.is-hover-cursor {
    width: 29px;
    height: 35px;

    transform: rotate(-15deg);
}
.cursor-inner {
    display: block;

    transform-origin: 10% 15%;

    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.25s ease;
}

.custom-cursor.is-hover .cursor-inner {
    transform: scale(1.35);
    filter: drop-shadow(0 0 4px rgba(181, 100, 63, 0.5));
}

.cursor-ornament {
    position: absolute;

    top: 20px;    /* nudge to line up with the tip of your arrow */
    left: 7px;

    width: 14px;
    height: auto;

    transform-origin: top center;
    will-change: transform;

    transition:
        top 0.2s ease,
        left 0.2s ease;
}

.cursor-arrow-img.is-hover-cursor ~ .cursor-ornament {
    top: 30px;
    left: 5px;
}

@media (hover: none) or (pointer: coarse) {
 
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}

.washi-tape {
    position: absolute;

    width: 60px;
    height: 22px;

    background: repeating-linear-gradient(
        45deg,
        rgba(181, 100, 63, 0.4),
        rgba(181, 100, 63, 0.4) 4px,
        rgba(160, 120, 90, 0.3) 4px,
        rgba(160, 120, 90, 0.3) 8px
    );

    opacity: 0.85;

    pointer-events: none;
}

.crumpled-paper {
    position: absolute;

    top: 640px;
    right: 30px;
    z-index: 0;

    width: 100px;
    height: 96px;

    transform: rotate(-10deg);

}

@keyframes paper-roll {

    from {
        transform: rotate(-10deg);
    }

    to {
        transform: rotate(350deg);
    }

}

.crumple-facet {
    position: absolute;
    inset: 0;
}

.crumple-base {
    background: linear-gradient(145deg, #fffdf7 0%, var(--paper) 55%, #e8dcc0 100%);

    clip-path: polygon(
        20% 2%, 46% 8%, 66% 2%, 90% 14%,
        100% 36%, 92% 56%, 100% 76%,
        80% 94%, 58% 100%, 36% 92%,
        12% 100%, 2% 76%, 10% 56%,
        0% 34%, 8% 14%
    );

    filter:
        drop-shadow(2px 0 0 var(--stamp-ink))
        drop-shadow(-2px 0 0 var(--stamp-ink))
        drop-shadow(0 2px 0 var(--stamp-ink))
        drop-shadow(0 -2px 0 var(--stamp-ink))
        drop-shadow(0 10px 10px rgba(0, 0, 0, 0.35));
}

/* flat-shaded folded panels — solid colors, no gradients,
   each with its own thick outline for that comic-panel look */

.crumple-fold-1 {
    background:
        radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.55) 0%, transparent 40%),
        linear-gradient(155deg, #f5ecd6 0%, #e3d4b3 55%, #c4b085 100%);

    clip-path: polygon(
        20% 2%, 46% 8%, 50% 40%, 22% 46%, 8% 14%
    );

    filter:
        drop-shadow(1.5px 0 0 var(--stamp-ink))
        drop-shadow(-1.5px 0 0 var(--stamp-ink))
        drop-shadow(0 1.5px 0 var(--stamp-ink))
        drop-shadow(0 -1.5px 0 var(--stamp-ink));
}

.crumple-fold-2 {
    background:
        radial-gradient(circle at 65% 10%, rgba(255, 255, 255, 0.4) 0%, transparent 35%),
        linear-gradient(195deg, #e5d3ab 0%, #c9b78e 55%, #93805a 100%);

    clip-path: polygon(
        66% 2%, 90% 14%, 100% 36%, 62% 44%, 50% 40%, 46% 8%
    );

    filter:
        drop-shadow(1.5px 0 0 var(--stamp-ink))
        drop-shadow(-1.5px 0 0 var(--stamp-ink))
        drop-shadow(0 1.5px 0 var(--stamp-ink))
        drop-shadow(0 -1.5px 0 var(--stamp-ink));
}

.crumple-fold-3 {
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 38%),
        linear-gradient(205deg, #d0bb90 0%, #a8926a 60%, #7d6944 100%);

    clip-path: polygon(
        22% 46%, 50% 40%, 44% 66%, 20% 70%, 10% 56%
    );

    filter:
        drop-shadow(1.5px 0 0 var(--stamp-ink))
        drop-shadow(-1.5px 0 0 var(--stamp-ink))
        drop-shadow(0 1.5px 0 var(--stamp-ink))
        drop-shadow(0 -1.5px 0 var(--stamp-ink));
}

/* bottom-left-most facet, darkest/most recessed */
.crumple-fold-3a {
    background:
        radial-gradient(circle at 40% 15%, rgba(255, 255, 255, 0.22) 0%, transparent 30%),
        radial-gradient(ellipse at 30% 80%, rgba(0, 0, 0, 0.3) 0%, transparent 48%),
        linear-gradient(190deg, #a08a62 0%, #8c7752 55%, #6b5a3c 100%);

    clip-path: polygon(
        44% 66%, 20% 70%, 12% 100%, 2% 76%, 10% 56%, 20% 70%
    );

    filter:
        drop-shadow(1.5px 0 0 var(--stamp-ink))
        drop-shadow(-1.5px 0 0 var(--stamp-ink))
        drop-shadow(0 1.5px 0 var(--stamp-ink))
        drop-shadow(0 -1.5px 0 var(--stamp-ink));
}

.crumple-fold-3b {
    background:
        radial-gradient(circle at 55% 18%, rgba(255, 255, 255, 0.45) 0%, transparent 38%),
        radial-gradient(ellipse at 25% 85%, rgba(0, 0, 0, 0.2) 0%, transparent 42%),
        linear-gradient(160deg, #d9c6a0 0%, #a4906a 55%, #7d6a48 100%);

    clip-path: polygon(
        44% 66%, 62% 44%, 74% 72%, 58% 100%, 36% 92%, 12% 100%, 20% 70%
    );

    filter:
        drop-shadow(1.5px 0 0 var(--stamp-ink))
        drop-shadow(-1.5px 0 0 var(--stamp-ink))
        drop-shadow(0 1.5px 0 var(--stamp-ink))
        drop-shadow(0 -1.5px 0 var(--stamp-ink));
}

.crumple-fold-3c {
    background:
        radial-gradient(circle at 45% 15%, rgba(255, 255, 255, 0.5) 0%, transparent 38%),
        radial-gradient(ellipse at 82% 78%, rgba(0, 0, 0, 0.28) 0%, transparent 45%),
        linear-gradient(210deg, #e0cda5 0%, #ac966d 55%, #7d6944 100%);

    clip-path: polygon(
        62% 44%, 92% 56%, 100% 76%, 80% 94%, 58% 100%, 74% 72%
    );

    filter:
        drop-shadow(1.5px 0 0 var(--stamp-ink))
        drop-shadow(-1.5px 0 0 var(--stamp-ink))
        drop-shadow(0 1.5px 0 var(--stamp-ink))
        drop-shadow(0 -1.5px 0 var(--stamp-ink));
}

.crumple-highlight {
    background: radial-gradient(ellipse at 35% 30%, #ffffff 0%, #faf6ea 60%, transparent 100%);

    clip-path: polygon(
        22% 46%, 46% 8%, 50% 40%
    );

    mix-blend-mode: screen;

    opacity: 0.85;
}

.bg-lines {
    position: absolute;

    z-index: 0;

    pointer-events: none;

    opacity: 0.15;

    inset: 0;

    width: 100%;

    height: 100%;
}

.bio-page-writer .bio-text > p:not(.bio-label) {
    font-family: "Caveat", cursive;
    font-style: normal;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.5;

    text-align: left;
}

.mascot-sticker {
    position: absolute;

    bottom: 55px;
    right: 15%;
    z-index: 6;

    width: 250px;
    height:200px;

    transform: rotate(-1deg);

    pointer-events: auto;
    cursor: pointer;
    
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.mascot-sticker::after {
    content: "";

    position: absolute;

    bottom: -8px;
    right: 75px;

    width: 100px;
    height: 170px;

    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0) 70%
    );

    z-index: -1;
}

.mascot-sticker img {
    width: 100%;
    display: block;
}

.mascot-flip {
    position: absolute;
    bottom: 0;
    right: 0;

    z-index: 2;

    width: 250px;

    perspective: 900px;
}

.mascot-flip-inner {
    position: relative;

    width: 100%;

    transform-style: preserve-3d;

    transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.15, 1);
}

.mascot-face {
    width: 100%;
    display: block;

    backface-visibility: hidden;
}

.mascot-face-back {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

    width: 100%;

    transform: rotateY(180deg);
    backface-visibility: hidden;
}

.mascot-face-back .mascot-body-back {
    position: relative;
    z-index: 2;

    width: 100%;
    display: block;
}

.mascot-face-back .mascot-tail-back-wrap {
    position: absolute;

    top: var(--tail-back-top, -16%);
    left: var(--tail-back-left, -22%);
    z-index: 1;

    width: 140%;

    pointer-events: none;

    transform: rotate(165deg)
}

.mascot-face-back .mascot-tail-back {
    width: 100%;
    display: block;
    max-width: none;

    transform-origin: var(--tail-back-origin, 50% 50%);

    animation: tail-wag 3s ease-in-out infinite;
}

.mascot-face-front {
    position: relative;

    width: 100%;

    backface-visibility: hidden;
}

.mascot-face-front .mascot-body {
    position: relative;
    z-index: 2;

    width: 100%;
    display: block;
}

.mascot-face-front .mascot-tail {
    position: absolute;

    top: -16%;
    left: -22%;
    z-index: 1;

    width: 140%;
    max-width: none;

    pointer-events: none;

    transform-origin: 50% 50%;

    animation: tail-wag 3s ease-in-out infinite;
}

.mascot-peek {
    position: absolute;
    z-index: 1;

    pointer-events: none;

    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.3s ease;
}

.mascot-peek img {
    display: block;
    width: 100%;
}

.mascot-peek-ear {
   position: absolute;
    z-index: 0;

    bottom: 137px;
    right: 100px;

    width: 130px;

    transform-origin: 50% 50%;
    transform: translate(35%, 0%) rotate(0deg);
    opacity: 1; 

     transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.9s ease;
}

.polaroid-wrap-one:hover .mascot-peek-ear {
    transform: translate(-65%, -15%) rotate(-45deg);
    opacity: 1;
}

.polaroid-wrap.is-leaving .mascot-peek-ear {
    transform: translate(35%, 0%) rotate(0deg) !important;
    opacity: 0 !important;

    transition:
        transform 0.2s ease-out,
        opacity 0s ease-out 0.2s;
}

.mascot-peek-ear img {
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
}

.mascot-peek-tail {

    position: absolute;
    z-index: 0;

    bottom: 29.5px;
    right: -100px;

    width: 150px;

    transform-origin: 20% 80%;

    transform: rotate(-140deg);
    opacity: 1;

     transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.4s ease;
}

.polaroid-wrap-two:hover .mascot-peek-tail {
    transform: rotate(-250deg);
    opacity: 1;
}

.polaroid-wrap.is-leaving .mascot-peek-tail {
    transform: rotate(-140deg) !important;
    opacity: 0 !important;

    transition:
        transform 0.2s ease-out,
        opacity 0s ease-out 0.2s;
}

.mascot-peek-tail img { 
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
}

.bio-content-stack {
    position: relative;

    min-height: 900px;

    overflow: visible;
}

.paper-under {
    position: absolute;

    isolation: isolate;

    width: 100%;
    max-width: 620px;

    background: var(--paper-tone, var(--paper));

    box-shadow: var(--paper-shadow, 0 14px 30px rgba(0, 0, 0, 0.28));

    filter:
        drop-shadow(0 0 1px rgba(46, 59, 82, 1))
        drop-shadow(0 0 2.5px rgba(46, 59, 82, 0.7));

    clip-path: polygon(
        2% 0%, 4% 3%, 3% 7%, 4% 12%, 2% 15%,
        3% 20%, 4% 24%, 2% 28%, 3% 33%, 4% 39%,
        2% 42%, 4% 47%, 3% 53%, 2% 57%, 4% 62%,
        3% 66%, 2% 71%, 4% 76%, 3% 81%, 4% 86%,
        2% 90%, 3% 95%, 4% 98%, 2% 100%,
        100% 100%, 100% 0%
    );
}

.paper-under::after {
    content: "";

    position: absolute;

    top: 0;
    left: 99px;

    width: 1px;
    height: 100%;

    background: var(--border);
}

.paper-under {
    cursor: grab;
    touch-action: none;
    user-select: none;

    will-change: transform;

    transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.paper-under.is-active {
    transition: none;
}

.paper-under:hover {
    box-shadow: var(--paper-shadow-hover, 0 18px 36px rgba(0, 0, 0, 0.3));
}

.paper-under-1:hover {
    transform:
        translate(var(--drag-x, 0px), var(--drag-y, 0px))
        translateY(-4px)
        rotate(2.4deg);
}

.paper-under-2:hover {
    transform:
        translate(var(--drag-x, 0px), var(--drag-y, 0px))
        translateY(-4px)
        rotate(-3.2deg);
}


.paper-under-1 {
    top: 90px;
    left: 90px;
    z-index: 2;

    --paper-tone: #f2ecdc;
    --paper-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);

    transform:
        translate(var(--drag-x, 0px), var(--drag-y, 0px))
        rotate(2.4deg);
}

.paper-under-2 {
    top: 120px;
    left: 55px;
    z-index: 1;

    --paper-tone: #efe4cd;
    --paper-shadow: 0 7px 16px rgba(0, 0, 0, 0.14);

    transform:
        translate(var(--drag-x, 0px), var(--drag-y, 0px))
        rotate(-3.2deg);
}

.paper-under.is-active {
    z-index: 10;

    cursor: grabbing;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.drag-hint {
    position: absolute;

    top: 20px;
    right: 20px;
    z-index: 6;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    opacity: 0.7;

    pointer-events: none;

    transition: opacity 0.4s ease;
}

.bio-content-stack.is-dragging .bio-content {
    cursor: grabbing;

    box-shadow:
        0 40px 70px rgba(0, 0, 0, 0.35),
        0 14px 26px rgba(0, 0, 0, 0.22);

    transition: none;
}

.bio-page-writer .bio-label {
    margin-bottom: 40px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.bio-page-writer .bio-label::after {
    content: "";

    display: inline-block;

    width: 7px;
    height: 12px;

    margin-left: 8px;

    background: var(--text-tertiary);

    animation: cursor-blink 1s steps(1) infinite;

    vertical-align: middle;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.bio-quote {
    position: relative;

    margin: 15px 0 45px;
    padding: 10px 0 10px 40px;

    color: var(--text-primary);

    font-family: "Caveat", cursive;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.3;
}

.bio-quote::before {
    content: "“";

    position: absolute;

    top: -10px;
    left: 0;

    color: var(--border-soft);

    font-family: Georgia, serif;
    font-size: 50px;
    font-style: normal;
}

.bio-signoff {
    margin-top: -5px;
    margin-bottom: 30px;

    color: var(--accent);

       font-family: "Caveat", cursive;
    font-weight: 600;
    font-size: 26px;
}
.bio-page-writer .bio-intro::after {
    content: "";

    position: absolute;

    top: 20%;
    left: -40px;

    width: 140px;
    height: 140px;

    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);

    opacity: 0.08;

    pointer-events: none;
    z-index: -1;
}

.draft-stamp {
    position: absolute;

    top: 10%;
    left: 1%;

    padding: 5px 10px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;

    transform: rotate(-8deg);
}

.word-count {
    position: absolute;

    bottom: 20px;
    right: 20px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
}

.edit-mark {
    text-decoration: underline wavy var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.bio-page-writer .bio-link-wrap {
    position: relative;

    display: inline-block;
}

.doodle-arrow {
    position: absolute;

    width: 60px;
    height: auto;

    overflow: visible;

    pointer-events: none;
}

.doodle-arrow path {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;

    transition: stroke-dashoffset 0.8s ease;
}

.bio-link-wrap:hover .doodle-arrow path {
    stroke-dashoffset: 0;
}

.doodle-arrow-1 {
    top: -10px;
    left: -25px;

    transform: rotate(11deg);
}

.doodle-arrow-2 {
    top: -30px;
    right: -10px;

    transform: rotate(120deg) scaleX(-1);
}

.doodle-arrow-3 {
    bottom: -75px;
    left: 20%;

    transform: translateX(-50%) rotate(230deg);
}

.doodle-arrow-4 {
    bottom: -10px;
    left: 140px;

    transform: translateX(0) rotate(-25deg);
}

.doodle-arrow-5 {
    top: 30px;
    left: -70px;

    transform: none;
}

.doodle-arrow-6 {
    top: 55px;
    left: 80px;

    transform: translateX(0) rotate(-85deg);
}

.doodle-arrow-2 path {
    transition-delay: 0.15s;
}

.doodle-arrow-3 path {
    transition-delay: 0.3s;
}

@media (hover: hover) and (pointer: fine) {

    .mascot-sticker {
        pointer-events: auto;
    }

    .mascot-sticker:hover .mascot-flip-inner {
        transform: rotateY(180deg);
    }

}

.mascot-sticker-static {
    pointer-events: auto;
    cursor: pointer;
}

.mascot-sticker-static .mascot-flip {
    position: absolute;
    inset: 0;

    perspective: 900px;
}

.mascot-sticker-static .mascot-flip-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;

    transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.15, 1);
}

.mascot-sticker-static .mascot-face-front,
.mascot-sticker-static .mascot-face-back {
    position: absolute;
    inset: 0;

    backface-visibility: hidden;
}

.mascot-sticker-static .mascot-face-back {
    transform: rotateY(180deg);
}

.mascot-sticker-static .mascot-layers {
    position: relative;

    width: 100%;
    height: 100%;
}

@media (hover: hover) and (pointer: fine) {

    .mascot-sticker-static:hover .mascot-flip-inner {
        transform: rotateY(180deg);
    }

}

.mascot-sticker-static .mascot-layers {
    position: relative;
    width: 100%;
    height: 100%; 
}

.mascot-sticker-static .mascot-head,
.mascot-sticker-static .mascot-body,
.mascot-sticker-static .mascot-ear-left,
.mascot-sticker-static .mascot-ear-right,
.mascot-sticker-static .mascot-tail {
    position: absolute;
    display: block;
}

.mascot-sticker-static .mascot-body {
    top: var(--body-top, 78px);
    left: var(--body-left, 80px);
    width: var(--body-width, 35%);
    z-index: 0;
}

.mascot-sticker-static .mascot-head {
    z-index: 2;

    top: var(--head-top, 9%);
    left: var(--head-left, 80px);
    width: var(--head-width, 35%);
}

.mascot-sticker-static .mascot-ear-left {
    z-index: 3;

    transform-origin:0% 100%;
}

.mascot-sticker-static .mascot-ear-right {
    z-index: 3;

    transform-origin: 100% 100%;
}

.mascot-sticker-static .mascot-ear-left {
    top: var(--ear-left-top, -1px);
    left: var(--ear-left-left, 130px);
    width: var(--ear-left-width, 22%);
    z-index: inherit;

    animation: ear-flick-left 5.1s ease-in-out infinite;
}

.mascot-sticker-static .mascot-ear-right {
    top: var(--ear-right-top, -10.2px);
    left: var(--ear-right-left, 71px);
    width: var(--ear-right-width, 20%);
    z-index: inherit;

    animation: ear-flick-right 5.1s ease-in-out infinite;
    animation-delay: 1.3s;
}

.mascot-sticker-static .mascot-tail {
    top: var(--tail-top,134px);
    left: var(--tail-left, 108px);
    width: var(--tail-width, 30%);
    z-index: -9;

    transform-origin: var(--tail-back-origin, 0% 100%);
    animation: tail-wag-jay 5s ease-in-out infinite;
}

@keyframes ear-flick-left {
    0%, 85%, 100% { transform: rotate(5deg); }
    88% { transform: rotate(10deg); }
    91% { transform: rotate(0deg); }
    94% { transform: rotate(7deg); }
    97% { transform: rotate(3deg); }
}

@keyframes ear-flick-right {
    0%, 85%, 100% { transform: rotate(0deg); }
    88% { transform: rotate(-14deg); }
    91% { transform: rotate(0deg); }
    94% { transform: rotate(-6deg); }
    97% { transform: rotate(-2deg); }
}

@keyframes tail-wag-jay {

    0%, 100% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(80deg);
    }

}

.mascot-snore {
    position: absolute;

    top: var(--snore-top, -8%);
    left: var(--snore-left, 58%);
    z-index: 4;

    width: 60px;
    height: 60px;

    pointer-events: none;
}

.snore-z {
    position: absolute;

    left: 0;
    bottom: 0;

    color: var(--text-primary);

    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    line-height: 1;

    opacity: 0;

    animation: snore-float 3.6s ease-in infinite;
}

.snore-z-1 {
    font-size: 21px;

    left: -87px;
    top: 70px;

    animation-delay: 0s;
}

.snore-z-2 {
    font-size: 17px;

    left: -90px;

    animation-delay: 1.2s;
}

.snore-z-3 {
    font-size: 13px;

    left: -85px;

    animation-delay: 2.4s;
}

@keyframes snore-float {

    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(4deg) scale(0.7);
    }

    15% {
        opacity: 0.85;
    }

    70% {
        opacity: 0.65;
    }

    100% {
        opacity: 0;
        transform: translate(-16px, -32px) rotate(-8deg) scale(1.1);
    }

}

.mascot-sticker-static.is-clicking {
    animation: mascot-camera-click 0.4s ease;
}

@keyframes mascot-camera-click {

    0% {
        transform: rotate(-1deg) translateY(0) scale(1);
    }

    18% {
        /* quick raise, like lifting the camera to shoot */
        transform: rotate(-2deg) translateY(-6px) scale(1.03);
    }

    32% {
        /* the snap — sharp dip, held a beat for the shutter */
        transform: rotate(1deg) translateY(2px) scale(0.95);
    }

    55% {
        transform: rotate(-1.5deg) translateY(-2px) scale(1.02);
    }

    100% {
        transform: rotate(-1deg) translateY(0) scale(1);
    }

}

.camera-flash {
    position: fixed;
    top: var(--flash-y, 78%);
    left: var(--flash-x, 82%);
    z-index: 9998;

    width: 100vmax;
    height: 100vmax;

    margin-top: -50vmax;
    margin-left: -50vmax;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        #fff 0%,
        rgba(255, 255, 255, 0.95) 20%,
        rgba(255, 255, 255, 0.6) 45%,
        rgba(255, 255, 255, 0) 72%
    );

    transform: scale(0.1);

    opacity: 0;

    pointer-events: none;
}

.camera-flash.is-flashing {
    animation: camera-flash-pulse 1.6s ease-out;
}

@keyframes camera-flash-pulse {
    0%   { opacity: 0; transform: scale(0.1); }
    6%   { opacity: 0.75; transform: scale(0.5); }   /* was 0.95 */
    35%  { opacity: 0.6;  transform: scale(1.8); }    /* was 0.85 */
    100% { opacity: 0; transform: scale(2.6); }
}

@media (prefers-reduced-motion: reduce) {

    .camera-flash.is-flashing {
        animation: none;
        opacity: 0;
    }

}

.mascot-lens-glint {
    position: absolute;

    top: var(--glint-top, 50%);
    left: var(--glint-left, 50%);
    z-index: 5;

    width: 34px;
    height: 34px;

    margin: -17px 0 0 -17px;

    overflow: visible;

    opacity: 0;

    pointer-events: none;
}

.glint-star {
    fill: #fff;

    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));

    transform-box: fill-box;
    transform-origin: center;
}

.glint-star-small {
    fill: #ffe9c4;
}

.mascot-lens-glint.is-glinting {
    animation: glint-fade 0.5s ease-out;
}

.mascot-lens-glint.is-glinting .glint-star-big {
    animation: glint-star-burst 0.5s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.mascot-lens-glint.is-glinting .glint-star-small {
    animation: glint-star-burst 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) 0.05s;
}

@keyframes glint-fade {

    0% {
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}

@keyframes glint-star-burst {

    0% {
        transform: scale(0.2) rotate(-15deg);
    }

    45% {
        transform: scale(1.3) rotate(5deg);
    }

    100% {
        transform: scale(0.9) rotate(0deg);
    }

}

.mascot-camera-flash {
    position: absolute;

    top: var(--camera-flash-top, 50%);
    left: var(--camera-flash-left, 50%);
    z-index: 5;

    width: 22px;
    height: 22px;

    margin: -11px 0 0 -11px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        #fff 0%,
        rgba(255, 255, 255, 0.9) 35%,
        rgba(255, 255, 255, 0) 75%
    );

    opacity: 0;

    pointer-events: none;
}

.mascot-camera-flash.is-bulb-flashing {
    animation: camera-bulb-pulse 0.35s ease-out;
}

@keyframes camera-bulb-pulse {

    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    30% {
        opacity: 1;
        transform: scale(1.4);
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }

}

.bio-content-photo-wrap {
    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 60px;

    align-items: start;
}

.bio-content-photo {
    position: relative;

    padding: 55px 50px 50px;

    background: var(--bg-card);

    border: 1px solid var(--border-soft);

    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.16),
        0 6px 14px rgba(0, 0, 0, 0.1);

    transform: rotate(-0.5deg);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.bio-content-photo:hover {
    transform: rotate(0deg) translateY(-4px);

    box-shadow:
        0 30px 55px rgba(0, 0, 0, 0.2),
        0 10px 18px rgba(0, 0, 0, 0.12);
}

.bio-content-photo::before,
.bio-content-photo::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    height: 22px;

    background-image: radial-gradient(circle, var(--bg) 4px, transparent 4.5px);
    background-size: 30px 100%;
    background-position: 15px center;
    background-repeat: repeat-x;
}

.bio-content-photo::before {
    top: -11px;
}

.bio-content-photo::after {
    bottom: -11px;
}

.frame-stamp,
.frame-roll {
    position: absolute;

    top: 20px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.frame-stamp {
    left: 50px;
}

.frame-roll {
    right: 50px;
}

.bio-content-photo .bio-text {
    margin-top: 20px;
    padding-left: 24px;

    border-left: 1px solid var(--border);
}

.bio-quote-photo {
    margin: 15px 0 30px;

    color: var(--text-primary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 22px;
    line-height: 1.5;
}

.bio-signoff-photo {
    margin-top: -5px;
    margin-bottom: 30px;

    color: var(--accent);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 16px;
}

.bio-link-photo {
    display: inline-block;

    padding-bottom: 6px;

    color: var(--text-primary);

    border-bottom: 1px solid var(--text-primary);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.bio-link-photo:hover {
    opacity: 0.5;
    transform: translateX(4px);
}

.bio-exif {
    align-self: start;

    padding: 26px 24px 24px;

    background: #221c15;
    color: #e3a24f;

    border-radius: 4px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    font-family: "Courier New", monospace;

    transform: rotate(1deg);

    transition: transform 0.4s ease;
}

.bio-exif:hover {
    transform: rotate(0deg) translateY(-4px);
}

.exif-top {
    display: flex;
    justify-content: space-between;

    color: rgba(227, 162, 79, 0.55);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.exif-filmstrip {
    display: flex;

    gap: 8px;

    margin-top: 20px;
}

.exif-frame {
    position: relative;

    flex: 1;

    aspect-ratio: 1;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(227, 162, 79, 0.25);
    border-radius: 2px;

    color: rgba(227, 162, 79, 0.55);

    font-family: inherit;

    cursor: pointer;

    opacity: 0.6;

    transition:
        opacity 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.exif-frame:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.exif-frame.active {
    opacity: 1;

    border-color: #e3a24f;
    color: #e3a24f;
}

.exif-frame-number {
    font-size: 9px;
    letter-spacing: 0.1em;
}

.exif-readout {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px dashed rgba(227, 162, 79, 0.25);
}

.exif-stat-label {
    display: block;

    color: rgba(227, 162, 79, 0.5);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.exif-stat-value {
    display: block;

    margin-top: 5px;

    font-size: 19px;
    font-weight: 700;

    transition: opacity 0.2s ease;
}

.exif-caption {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px dashed rgba(227, 162, 79, 0.25);

    color: rgba(227, 162, 79, 0.8);

    font-style: italic;
    font-size: 11px;
    line-height: 1.6;

    transition: opacity 0.2s ease;
}

.exif-meter {
    margin-top: 20px;
}

.exif-meter-label {
    color: rgba(227, 162, 79, 0.5);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.exif-meter-track {
    position: relative;

    height: 3px;

    margin: 10px 0 6px;

    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.exif-meter-needle {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 2px;
    height: 12px;

    background: var(--accent);

    transform: translate(-50%, -50%);

    transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.exif-meter-scale {
    display: flex;
    justify-content: space-between;

    color: rgba(227, 162, 79, 0.4);

    font-size: 7px;
}

.bio-page-photographer .bio-intro::before {
    content: "FRAME";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    color: var(--text-primary);

    font-size: 22vw;
    font-weight: 800;
    letter-spacing: -0.05em;

    opacity: 0.03;

    pointer-events: none;
    z-index: 0;
}

.bio-content-manuscript-wrap {
    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 60px;

    align-items: start;
}

.bio-content-manuscript {
    position: relative;

    padding: 55px 50px 55px 100px;

    background: var(--paper);

    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.16),
        0 6px 14px rgba(0, 0, 0, 0.1);

    filter:
        drop-shadow(0 0 1px var(--stamp-ink))
        drop-shadow(0 0 2px color-mix(in srgb, var(--stamp-ink) 70%, transparent));

    transform: rotate(0.5deg);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

    clip-path: polygon(
        2% 0%, 4% 3%, 3% 7%, 4% 12%, 2% 15%,
        3% 20%, 4% 24%, 2% 28%, 3% 33%, 4% 39%,
        2% 42%, 4% 47%, 3% 53%, 2% 57%, 4% 62%,
        3% 66%, 2% 71%, 4% 76%, 3% 81%, 4% 86%,
        2% 90%, 3% 95%, 4% 98%, 2% 100%,
        100% 100%, 100% 0%
    );
}

.bio-content-manuscript:hover {
    transform: rotate(0deg) translateY(-4px);

    box-shadow:
        0 30px 55px rgba(0, 0, 0, 0.2),
        0 10px 18px rgba(0, 0, 0, 0.12);
}

.manuscript-stamp,
.manuscript-roll {
    position: absolute;

    top: 20px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.manuscript-stamp {
    left: 100px;
}

.manuscript-roll {
    right: 50px;
}

.bio-content-manuscript .bio-text {
    margin-top: 20px;
}

.bio-draftlog {
    align-self: start;

    padding: 26px 24px 24px;

    background: var(--paper);
    color: var(--stamp-ink);

    border: 2px solid var(--stamp-ink);
    border-radius: 4px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.14),
        inset 0 0 0 1px rgba(46, 59, 82, 0.08);

    font-family: "Courier New", monospace;

    transform: rotate(-1deg);

    transition: transform 0.4s ease;
}

.bio-draftlog:hover {
    transform: rotate(0deg) translateY(-4px);
}

.draftlog-top {
    display: flex;
    justify-content: space-between;

    color: color-mix(in srgb, var(--stamp-ink) 60%, transparent);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.draftlog-strip {
    display: flex;

    gap: 8px;

    margin-top: 20px;
}

.draftlog-entry {
    position: relative;

    flex: 1;

    aspect-ratio: 1;

    background: color-mix(in srgb, var(--stamp-ink) 5%, transparent);
    border: 1px solid color-mix(in srgb, var(--stamp-ink) 30%, transparent);
    border-radius: 2px;

    color: color-mix(in srgb, var(--stamp-ink) 60%, transparent);

    font-family: inherit;

    cursor: pointer;

    opacity: 0.6;

    transition:
        opacity 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.draftlog-entry:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.draftlog-entry.active {
    opacity: 1;

    border-color: var(--stamp-ink);
    color: var(--stamp-ink);
    background: color-mix(in srgb, var(--stamp-ink) 8%, transparent);
}

.draftlog-entry-number {
    font-size: 9px;
    letter-spacing: 0.1em;
}

.draftlog-readout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;

    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px dashed color-mix(in srgb, var(--stamp-ink) 30%, transparent);
}

.draftlog-stat-label {
    display: block;

    color: color-mix(in srgb, var(--stamp-ink) 55%, transparent);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.draftlog-stat-value {
    display: block;

    margin-top: 5px;

    font-size: 18px;
    font-weight: 700;

    transition: opacity 0.2s ease;
}

.draftlog-caption {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px dashed color-mix(in srgb, var(--stamp-ink) 30%, transparent);

    color: var(--text-secondary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    line-height: 1.65;

    transition: opacity 0.2s ease;
}

.draftlog-meter {
    margin-top: 20px;
}

.draftlog-meter-label {
    color: color-mix(in srgb, var(--stamp-ink) 55%, transparent);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.draftlog-meter-track {
    position: relative;

    height: 3px;

    margin: 10px 0 6px;

    background: color-mix(in srgb, var(--stamp-ink) 15%, transparent);
    border-radius: 2px;
}

.draftlog-meter-needle {
    position: absolute;

    top: 50%;
    left: 15%;

    width: 2px;
    height: 12px;

    background: var(--accent);

    transform: translate(-50%, -50%);

    transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.draftlog-meter-scale {
    display: flex;
    justify-content: space-between;

    color: color-mix(in srgb, var(--stamp-ink) 45%, transparent);

    font-size: 7px;
    letter-spacing: 0.1em;
}

.hint-tag {
    position: absolute;
    z-index: 7;

    padding: 5px 10px;

    background: var(--bg);
    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;

    pointer-events: none;

    transform: rotate(var(--hint-rot, -6deg));

    animation: hint-bob 2.4s ease-in-out infinite;

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.hint-tag.is-dismissed {
    opacity: 0;

    animation: none;

    transform: rotate(var(--hint-rot, -6deg)) translateY(-10px);
}

.hint-tag.is-dismissed-instant {
    opacity: 0;
    animation: none;
    transition: none;
    transform: rotate(var(--hint-rot, -6deg)) translateY(-10px);
}

@keyframes hint-bob {

    0%, 100% {
        transform: rotate(var(--hint-rot, -6deg)) translateY(0);
    }

    50% {
        transform: rotate(var(--hint-rot, -6deg)) translateY(-4px);
    }

}

@media (prefers-reduced-motion: reduce) {

    .hint-tag {
        animation: none;
    }

}

.mascot-ink-blot {
    position: absolute;

    top: var(--blot-top, 58%);
    left: var(--blot-left, 18%);
    z-index: 5;

    width: 46px;
    height: 46px;

    margin: -23px 0 0 -23px;

    opacity: 0;

    pointer-events: none;
}

.ink-blot-main,
.ink-blot-drop {
    fill: var(--stamp-ink);

    transform-box: fill-box;
    transform-origin: center;
}

.mascot-ink-blot.is-inkblotting {
    animation: ink-blot-fade 0.6s ease-out;
}

.mascot-ink-blot.is-inkblotting .ink-blot-main {
    animation: ink-blot-burst 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.mascot-ink-blot.is-inkblotting .ink-blot-drop-1 {
    animation: ink-blot-burst 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) 0.05s;
}

.mascot-ink-blot.is-inkblotting .ink-blot-drop-2 {
    animation: ink-blot-burst 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) 0.1s;
}

.mascot-ink-blot.is-inkblotting .ink-blot-drop-3 {
    animation: ink-blot-burst 0.6s cubic-bezier(0.2, 0.9, 0.3, 1) 0.15s;
}

@keyframes ink-blot-fade {

    0% {
        opacity: 0;
    }

    25% {
        opacity: 0.85;
    }

    100% {
        opacity: 0;
    }

}

@keyframes ink-blot-burst {

    0% {
        transform: scale(0.2);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(0.9);
    }

}

.mascot-sticker.is-stamping {
    animation: mascot-stamp-click 0.4s ease;
}

@keyframes mascot-stamp-click {

    0% {
        transform: rotate(-1deg) translateY(0) scale(1);
    }

    30% {
        /* the press — quick downward squash, like a stamp
           hitting the page */
        transform: rotate(-1deg) translateY(6px) scale(0.94);
    }

    55% {
        transform: rotate(-1deg) translateY(-3px) scale(1.02);
    }

    100% {
        transform: rotate(-1deg) translateY(0) scale(1);
    }

}

.ink-flash {
    position: fixed;

    top: var(--ink-y, 78%);
    left: var(--ink-x, 22%);
    z-index: 9998;

    width: 90vmax;
    height: 90vmax;

    margin-top: -45vmax;
    margin-left: -45vmax;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(46, 59, 82, 0.55) 0%,
        rgba(46, 59, 82, 0.3) 30%,
        rgba(46, 59, 82, 0) 68%
    );

    transform: scale(0.1);

    opacity: 0;

    pointer-events: none;
}

.ink-flash.is-flashing {
    animation: ink-flash-pulse 1.3s ease-out;
}

@keyframes ink-flash-pulse {

    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    8% {
        opacity: 0.9;
        transform: scale(0.45);
    }

    40% {
        opacity: 0.7;
        transform: scale(1.4);
    }

    100% {
        opacity: 0;
        transform: scale(2.1);
    }

}

@media (prefers-reduced-motion: reduce) {

    .ink-flash.is-flashing {
        animation: none;
        opacity: 0;
    }

}

@keyframes sepia-recover {

    0% {
        filter: sepia(0.85) saturate(1.3);
    }

    100% {
        filter: sepia(0) saturate(1);
    }

}

html.is-inking {
    animation: sepia-recover 3s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {

    html.is-inking {
        animation: none;
        filter: none;
    }

}

.hint-tag-mascot {
    bottom: 260px;
    right: 22%;
}

.hint-tag-log {
    top: 68px;
    right: 6px;
}


.travel-image img {
    filter: saturate(0.85) sepia(0.08) contrast(1.02);
}

.story-number {
    font-family: "Courier New", monospace;
    font-weight: 700;
}

.travel-info > p {
    font-family: "Courier New", monospace;
}

.travel-fieldnote {
    max-width: 90%;

    margin-top: 10px;

    color: var(--text-secondary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
    line-height: 1.55;
}

.travel-story.featured .travel-fieldnote {
    max-width: 460px;

    font-size: 15px;
}

.travel-info {
    padding-left: 14px;

    border-left: 2px solid var(--border-soft);
}

.travel-postmark {
    position: absolute;
    z-index: 2;

    bottom: 20px;
    right: 20px;

    padding: 7px 9px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: rgba(20, 16, 10, 0.35);
    backdrop-filter: blur(1px);

    color: #fff;

    font-family: "Courier New", monospace;
    font-size: 7px;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;

    transform: rotate(-9deg);

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.travel-story:hover .travel-postmark {
    transform: rotate(-3deg) scale(1.05);
}

.travel-story.featured {
    position: relative;
}

.travel-story.featured::after {
    content: "COVER STORY";

    position: absolute;
    z-index: 3;

    top: 20px;
    left: 20px;

    padding: 7px 11px;

    background: var(--bg);
    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;

    transform: rotate(-4deg);

    pointer-events: none;
}


.travel-story:not(.featured):nth-child(4n+2) {
    position: relative;
}

.travel-story:not(.featured):nth-child(4n+2)::before {
    content: "";

    position: absolute;
    z-index: 3;

    top: -10px;
    left: 30px;

    width: 55px;
    height: 20px;

    background: repeating-linear-gradient(
        45deg,
        rgba(181, 100, 63, 0.4),
        rgba(181, 100, 63, 0.4) 4px,
        rgba(160, 120, 90, 0.3) 4px,
        rgba(160, 120, 90, 0.3) 8px
    );

    opacity: 0.85;

    transform: rotate(-6deg);

    pointer-events: none;
}

.travel-filters-wrap {
    position: relative;
}

.hint-tag-filters {
    top: -26px;
    left: 4px;
}

.photo-intro {
    position: relative;
}

.photo-top {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.25em;
}

.photo-heading {
    position: relative;
    width: fit-content;
}

.photo-intro h1 {
    position: relative;
    z-index: 1;
}

.photo-intro > p:last-of-type {
    position: relative;
    z-index: 1;
}

.photo-stamp {
    position: absolute;

    top: 6%;
    right: 4%;

    padding: 9px 13px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.2em;

    transform: rotate(6deg);
}

.photo-annotation {
    position: absolute;

    right: 6%;
    bottom: 6%;

    display: flex;
    flex-direction: column;

    color: var(--text-tertiary);

    font-size: 10px;
    line-height: 1.5;
    text-align: right;

    transform: rotate(-4deg);
}

.photo-filters-wrap {
    position: relative;

    margin-bottom: 60px;
}

.photo-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.photo-layout {
    display: grid;

    grid-template-columns: 1fr 300px;

    gap: 60px;

    align-items: start;
}

.photo-sidebar {
    position: sticky;
    top: 110px;
}

.photo {
    position: relative;

    cursor: pointer;

    transition: outline-offset 0.3s ease;
}

.photo.hidden {
    display: none;
}

.photo.is-selected {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.photo-number {
    position: absolute;

    left: 22px;
    bottom: 22px;

    z-index: 2;

    color: #fff;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;

    mix-blend-mode: difference;

    transition: transform 0.4s ease;
}

.photo:hover .photo-number {
    transform: translate(5px, -5px);
}

.photo-note {
    position: absolute;

    top: 22px;
    right: 22px;

    z-index: 2;

    padding: 8px 11px;

    background: var(--bg);
    color: var(--text-primary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;

    transform: rotate(3deg);

    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo:hover .photo-note {
    transform: rotate(0deg) translateY(-4px);
}

.photo-postmark {
    position: absolute;
    z-index: 2;

    bottom: 20px;
    right: 20px;

    padding: 7px 9px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: rgba(20, 16, 10, 0.35);
    backdrop-filter: blur(1px);

    color: #fff;

    font-family: "Courier New", monospace;
    font-size: 7px;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;

    transform: rotate(-9deg);

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo:hover .photo-postmark {
    transform: rotate(-3deg) scale(1.05);
}

.light-table {
    padding: 26px 24px 24px;

    background: #221c15;
    color: #e3a24f;

    border-radius: 4px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    font-family: "Courier New", monospace;

    transform: rotate(-1deg);

    transition: transform 0.4s ease;
}

.light-table:hover {
    transform: rotate(0deg) translateY(-4px);
}

.light-table-top {
    display: flex;
    justify-content: space-between;

    color: rgba(227, 162, 79, 0.55);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.light-table-readout {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 16px;

    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px dashed rgba(227, 162, 79, 0.25);
}

.light-table-stat-label {
    display: block;

    color: rgba(227, 162, 79, 0.5);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.light-table-stat-value {
    display: block;

    margin-top: 5px;

    font-size: 19px;
    font-weight: 700;

    transition: opacity 0.2s ease;
}

.light-table-caption {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px dashed rgba(227, 162, 79, 0.25);

    color: rgba(227, 162, 79, 0.8);

    font-style: italic;
    font-size: 11px;
    line-height: 1.6;

    transition: opacity 0.2s ease;
}

.light-table-place {
    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px dashed rgba(227, 162, 79, 0.25);

    color: rgba(227, 162, 79, 0.7);

    font-size: 9px;
    letter-spacing: 0.14em;

    transition: opacity 0.2s ease;
}

.light-table-meter {
    margin-top: 20px;
}

.light-table-meter-label {
    color: rgba(227, 162, 79, 0.5);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.light-table-meter-track {
    position: relative;

    height: 3px;

    margin: 10px 0 6px;

    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
}

.light-table-meter-needle {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 2px;
    height: 12px;

    background: var(--accent);

    transform: translate(-50%, -50%);

    transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.light-table-meter-scale {
    display: flex;
    justify-content: space-between;

    color: rgba(227, 162, 79, 0.4);

    font-size: 7px;
}

.light-table-hint {
    margin-top: 18px;

    color: rgba(227, 162, 79, 0.35);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-align: center;
}

.lifestyle-intro {
    position: relative;
}

.life-top {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.25em;
}

.life-heading {
    position: relative;
    width: fit-content;
}

.lifestyle-intro h1 {
    position: relative;
    z-index: 1;
}

.lifestyle-intro > p:last-of-type {
    position: relative;
    z-index: 1;
}

.life-stamp {
    position: absolute;

    top: 6%;
    right: 4%;

    padding: 9px 13px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.2em;

    transform: rotate(6deg);
}

.life-annotation {
    position: absolute;

    right: 6%;
    bottom: 6%;

    display: flex;
    flex-direction: column;

    color: var(--text-tertiary);

    font-size: 10px;
    line-height: 1.5;
    text-align: right;

    transform: rotate(-4deg);
}

.life-filters-wrap {
    position: relative;

    margin-bottom: 60px;
}

.life-filters {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}

.lifestyle-layout {
    display: grid;

    grid-template-columns: 1fr 300px;

    gap: 60px;

    align-items: start;
}

.lifestyle-sidebar {
    position: sticky;
    top: 110px;
}

.life-card a {
    position: relative;
}

.life-card {
    cursor: pointer;

    transition: outline-offset 0.3s ease;
}

.life-card.hidden {
    display: none;
}

.life-card.is-selected a {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

.life-number {
    position: absolute;

    left: 22px;
    bottom: 22px;

    z-index: 2;

    color: #fff;

    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;

    mix-blend-mode: difference;

    transition: transform 0.4s ease;
}

.life-card:hover .life-number {
    transform: translate(5px, -5px);
}

.life-note {
    position: absolute;

    top: 22px;
    right: 22px;

    z-index: 2;

    padding: 8px 11px;

    background: var(--bg);
    color: var(--text-primary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;

    transform: rotate(3deg);

    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.life-card:hover .life-note {
    transform: rotate(0deg) translateY(-4px);
}

.life-postmark {
    position: absolute;
    z-index: 2;

    bottom: 20px;
    right: 20px;

    padding: 7px 9px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: rgba(20, 16, 10, 0.35);
    backdrop-filter: blur(1px);

    color: #fff;

    font-family: "Courier New", monospace;
    font-size: 7px;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;

    transform: rotate(-9deg);

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.life-card:hover .life-postmark {
    transform: rotate(-3deg) scale(1.05);
}

.life-fieldnote {
    max-width: 90%;

    margin-top: 10px;

    color: var(--text-secondary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
    line-height: 1.55;
}

.field-notebook {
    position: relative;

    padding: 26px 24px 24px;

    background: var(--paper);
    color: var(--stamp-ink);

    border: 2px solid var(--stamp-ink);
    border-radius: 4px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.14),
        inset 0 0 0 1px rgba(46, 59, 82, 0.08);

    font-family: "Courier New", monospace;

    transform: rotate(-1deg);

    transition: transform 0.4s ease;
}

.field-notebook:hover {
    transform: rotate(0deg) translateY(-4px);
}

.field-notebook-badge {
    position: absolute;

    top: -12px;
    right: 18px;

    padding: 5px 10px;

    background: var(--bg);
    border: 1.5px solid var(--stamp-ink);

    color: var(--stamp-ink);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.2em;

    transform: rotate(-16deg);
}

.field-notebook-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 16px;

    border-bottom: 3px double var(--stamp-ink);

    color: color-mix(in srgb, var(--stamp-ink) 60%, transparent);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.field-notebook-readout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 14px;

    margin-top: 20px;
    padding-top: 18px;

    border-top: 1px dashed color-mix(in srgb, var(--stamp-ink) 30%, transparent);
}

.field-notebook-stat-label {
    display: block;

    color: color-mix(in srgb, var(--stamp-ink) 55%, transparent);

    font-size: 8px;
    letter-spacing: 0.14em;
}

.field-notebook-stat-value {
    display: block;

    margin-top: 5px;

    font-size: 16px;
    font-weight: 700;

    transition: opacity 0.2s ease;
}

.field-notebook-caption {
    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px dashed color-mix(in srgb, var(--stamp-ink) 30%, transparent);

    color: var(--text-secondary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    line-height: 1.65;

    transition: opacity 0.2s ease;
}

.field-notebook-meter {
    margin-top: 20px;
}

.field-notebook-meter-label {
    color: color-mix(in srgb, var(--stamp-ink) 55%, transparent);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.field-notebook-meter-track {
    position: relative;

    height: 3px;

    margin: 10px 0 6px;

    background: color-mix(in srgb, var(--stamp-ink) 15%, transparent);
    border-radius: 2px;
}

.field-notebook-meter-needle {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 2px;
    height: 12px;

    background: var(--accent);

    transform: translate(-50%, -50%);

    transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.field-notebook-meter-scale {
    display: flex;
    justify-content: space-between;

    color: color-mix(in srgb, var(--stamp-ink) 45%, transparent);

    font-size: 7px;
    letter-spacing: 0.1em;
}

.field-notebook-hint {
    margin-top: 18px;

    color: color-mix(in srgb, var(--stamp-ink) 35%, transparent);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-align: center;
}

.hire-page {
    padding: 100px 8% 0;
}

.hire-intro {
    position: relative;

    min-height: 60vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hire-top {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.25em;
}

.hire-heading {
    position: relative;
    width: fit-content;
}

.hire-intro h1 {
    position: relative;
    z-index: 1;

    margin: 30px 0 40px;

    font-size: clamp(70px, 10vw, 150px);
    line-height: 0.85;

    letter-spacing: -0.09em;
}

.hire-intro > p:last-of-type {
    position: relative;
    z-index: 1;

    max-width: 460px;

    color: var(--text-secondary);

    font-size: 18px;
    line-height: 1.7;
}

.hire-stamp {
    position: absolute;

    top: 6%;
    right: 4%;

    padding: 9px 13px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.2em;

    transform: rotate(6deg);
}

.hire-services {
    padding: 100px 0;

    border-top: 1px solid var(--border);
}

.hire-services-header {
    margin-bottom: 70px;
}

.hire-services-header p {
    margin-bottom: 20px;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.3em;
}

.hire-services-header h2 {
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 600;

    letter-spacing: -0.05em;
    line-height: 1.05;
}

.hire-services-header h2 span {
    color: var(--accent);
}

.hire-services-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 40px;
}

.service-card {
    position: relative;

    padding: 40px 35px 35px;

    background: var(--bg-card);

    border: 1px solid var(--border-soft);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.service-card-jay {
    transform: rotate(-0.6deg);
}

.service-card-kay {
    transform: rotate(0.6deg);
}

.service-card:hover {
    transform: rotate(0deg) translateY(-5px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-stamp {
    position: absolute;

    top: 20px;
    right: 20px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 9px;
    letter-spacing: 0.15em;
}

.service-card-top {
    display: flex;
    flex-direction: column;

    margin-bottom: 30px;
}

.service-role {
    color: var(--text-tertiary);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
}

.service-name {
    margin-top: 8px;

    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;

    letter-spacing: -0.04em;
}

.service-list {
    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 12px;

    margin-bottom: 25px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.service-list li {
    position: relative;

    padding-left: 18px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.5;
}

.service-list li::before {
    content: "—";

    position: absolute;
    left: 0;

    color: var(--border-soft);
}

.service-note {
    color: var(--text-tertiary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 13px;
    line-height: 1.6;
}

.hire-process {
    padding: 100px 0 120px;

    border-top: 1px solid var(--border);
}

.hire-process-header {
    margin-bottom: 70px;
}

.hire-process-header p {
    margin-bottom: 20px;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.3em;
}

.hire-process-header h2 {
    font-size: clamp(38px, 5vw, 65px);
    font-weight: 600;

    letter-spacing: -0.05em;
}

.process-route {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;
}

.process-step {
    position: relative;

    padding-top: 25px;

    border-top: 1px solid var(--border-soft);
}

.process-step-number {
    display: block;

    margin-bottom: 20px;

    color: var(--border-soft);

    font-family: "Courier New", monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.process-step h3 {
    margin-bottom: 12px;

    font-size: 19px;
    font-weight: 600;

    letter-spacing: -0.02em;
}

.process-step p {
    color: var(--text-tertiary);

    font-size: 13px;
    line-height: 1.65;
}

.stamp-rush {
    position: relative;

    min-height: 90vh;

    padding: 120px 8%;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-top: none;

    text-align: center;

    background-color: #1a1210;
    background-image: radial-gradient(
        circle,
        rgba(23, 23, 21, 0.05) 1px,
        transparent 1px
    );
    background-size: 22px 22px;

    color: #e8d9c8;
}

.stamp-rush-top {
    position: relative;
    z-index: 1;

    width: 100%;

    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.25em;
}

.stamp-rush-heading {
    position: relative;

    margin-top: 60px;

    width: fit-content;
}

.stamp-rush-heading h2 {
    font-size: clamp(55px, 8vw, 110px);
    font-weight: 600;
    line-height: 0.85;

    letter-spacing: -0.08em;
}

.stamp-rush-heading h2 span {
    color: var(--accent);
}

.stamp-rush-intro {
    max-width: 420px;

    margin-top: 30px;

    color: var(--text-secondary);

    font-size: 16px;
    line-height: 1.7;
}

.stamp-rush-game {
    width: 100%;
    max-width: 560px;

    margin-top: 60px;
}

.stamp-rush-hud {
    display: flex;
    justify-content: space-between;

    margin-bottom: 20px;

    padding: 0 4px;
}

.stamp-rush-stat {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.stamp-rush-stat-label {
    color: var(--text-tertiary);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.stamp-rush-stat-value {
    font-family: "Courier New", monospace;
    font-size: 22px;
    font-weight: 700;

    letter-spacing: 0.05em;
}

.stamp-rush-board {
    position: relative;

    aspect-ratio: 1 / 1;

    padding: 9%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 9%;

    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 10%),
        repeating-linear-gradient(
            100deg,
            rgba(255, 255, 255, 0.06) 0px,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px,
            transparent 5px
        ),
        linear-gradient(155deg, #d6d9da 0%, #a7abad 28%, #7c8184 55%, #5c6165 82%, #464a4c 100%);

    border: 3px solid #4f5457;
    border-radius: 10px;

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 6px 10px rgba(0, 0, 0, 0.5),
        inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.stamp-rush-board::before {
    content: "";

    position: absolute;
    inset: 0%;
    z-index: 2;
    opacity: 70%;

    border-radius: 6px;
    overflow: hidden;

    pointer-events: none;

    background:
        /* moving surface shimmer */
        linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.14) 42%, transparent 58%),
        /* pooled highlight where light catches the surface */
        radial-gradient(ellipse at 28% 18%, rgba(255, 255, 255, 0.10) 0%, transparent 45%),
        /* the liquid itself */
        linear-gradient(160deg, #1f4a45 0%, #143530 42%, #0b201d 75%, #061412 100%);

    background-size: 260% 260%, 100% 100%, 100% 100%;
    background-position: 0% 0%, 0 0, 0 0;

    box-shadow:
        inset 0 10px 20px rgba(0, 0, 0, 0.55),
        inset 0 0 40px rgba(0, 0, 0, 0.45),
        inset 0 -4px 10px rgba(0, 0, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.07);
}

.stamp-rush-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(237, 224, 207, 0.92);

    border-radius: 4px;

    transition: opacity 0.3s ease;
}

.stamp-rush-overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.stamp-rush-overlay-content {
    padding: 20px;
}

.stamp-rush-overlay-label {
    margin-bottom: 10px;

    color: var(--text-tertiary);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
}

.stamp-rush-overlay-text {
    max-width: 260px;

    margin: 0 auto 20px;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.5;
}

.stamp-rush-start {
    border: none;
}

.stamp-rush-leaderboard {
    width: 100%;
    max-width: 560px;

    margin-top: 40px;
    padding: 22px 24px;

    background: var(--paper);

    border: 2px solid var(--stamp-ink);
    border-radius: 4px;

    text-align: left;
}

.leaderboard-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 14px;

    border-bottom: 3px double var(--stamp-ink);

    color: var(--stamp-ink);

    font-family: "Courier New", monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.leaderboard-list {
    list-style: none;

    margin-top: 14px;

    display: flex;
    flex-direction: column;

    gap: 8px;
}

.leaderboard-row {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 6px 0;

    font-family: "Courier New", monospace;
    font-size: 13px;
}

.leaderboard-rank {
    width: 20px;

    color: var(--text-tertiary);
}

.leaderboard-name {
    flex: 1;

    color: var(--text-primary);

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-score {
    font-weight: 700;
    color: var(--stamp-ink);
}

.leaderboard-loading,
.leaderboard-empty {
    color: var(--text-tertiary);

    font-size: 12px;
    font-style: italic;
}

.stamp-rush-name-form {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    margin-top: 6px;
}

.stamp-rush-name-input {
    width: 200px;

    padding: 10px 14px;

    background: var(--bg);
    border: 1px solid var(--border-soft);

    color: var(--text-primary);

    font-family: inherit;
    font-size: 14px;

    text-align: center;
}

.stamp-rush-name-input:focus {
    outline: none;
    border-color: var(--accent);
}

.stamp-rush-submit-note {
    color: var(--text-tertiary);

    font-size: 10px;
    letter-spacing: 0.1em;
}

.stamp-rush-footer-note {
    margin-top: 40px;

    color: var(--text-tertiary);

    font-size: 13px;
}

.stamp-rush-footer-note a {
    color: var(--accent);

    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-hero {
    position: relative;
}

.article-top {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: space-between;

    color: var(--text-tertiary);

    font-size: 11px;
    letter-spacing: 0.25em;
}

.article-heading {
    position: relative;
    width: fit-content;
}

.article-header h1 {
    position: relative;
    z-index: 1;
}

.article-intro {
    position: relative;
    z-index: 1;
}

.article-stamp {
    position: absolute;

    top: 4%;
    right: 4%;

    padding: 9px 13px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-size: 8px;
    letter-spacing: 0.2em;

    transform: rotate(6deg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.back-link:hover {
    opacity: 0.6;
    transform: translateX(-4px);
}

.article-image {
    position: relative;
}

.article-postmark {
    position: absolute;
    z-index: 2;

    bottom: 24px;
    right: 24px;

    padding: 8px 10px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: rgba(20, 16, 10, 0.35);
    backdrop-filter: blur(1px);

    color: #fff;

    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-align: center;

    transform: rotate(-9deg);

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-image:hover .article-postmark {
    transform: rotate(-3deg) scale(1.05);
}

.article-image-caption {
    margin-top: 14px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-align: right;
}

.article-pullquote {
    position: relative;
    z-index: 3;

    max-width: 100%;

    margin: 55px 0 10px;
    padding-left: 42px;

    color: var(--text-primary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 27px;
    line-height: 1.4;
}

.article-pullquote::before {
    content: "\201C";

    position: absolute;

    top: -22px;
    left: 0;

    color: var(--border-soft);

    font-family: Georgia, serif;
    font-size: 62px;
    font-style: normal;
}

.article-pullquote-mark {
    display: block;

    margin-top: 16px;
    padding-left: 2px;

    color: var(--accent);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 15px;
}

.article-pullquote-shift {
    margin-left: 300px;
}

.article-meta {
    position: relative;

    align-self: start;

    display: block; /* override the old flex column */

    padding: 26px 24px 24px;

    background: var(--paper);
    color: var(--stamp-ink);

    border: 2px solid var(--stamp-ink);
    border-radius: 4px;

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.14),
        inset 0 0 0 1px rgba(46, 59, 82, 0.08);

    font-family: "Courier New", monospace;

    transform: rotate(-1deg);

    transition: transform 0.4s ease;
}

.article-meta:hover {
    transform: rotate(0deg) translateY(-4px);
}

.article-meta-badge {
    position: absolute;

    top: -12px;
    right: 18px;

    padding: 5px 10px;

    background: var(--bg);
    border: 1.5px solid var(--stamp-ink);

    color: var(--stamp-ink);

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.2em;

    transform: rotate(-16deg);
}

.article-meta-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 16px;

    border-bottom: 3px double var(--stamp-ink);

    color: color-mix(in srgb, var(--stamp-ink) 60%, transparent);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.article-meta-row {
    padding-top: 16px;
}

.article-meta-row + .article-meta-row {
    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px dashed color-mix(in srgb, var(--stamp-ink) 30%, transparent);
}

.article-meta-label {
    display: block;

    color: color-mix(in srgb, var(--stamp-ink) 55%, transparent);

    font-size: 8px;
    letter-spacing: 0.18em;
}

.article-meta-value {
    display: block;

    margin-top: 5px;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.02em;
}

.article-meta-note {
    margin-top: 22px;
    padding-top: 18px;

    border-top: 1px dashed color-mix(in srgb, var(--stamp-ink) 30%, transparent);

    color: var(--text-secondary);

    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    line-height: 1.65;
}

.article-text p:first-of-type::first-letter {
    float: left;

    margin: 4px 8px 0 0;

    color: var(--accent);

    font-family: Georgia, serif;
    font-size: 62px;
    font-weight: 700;
    line-height: 0.8;
}

.article-footer {
    margin-top: 120px;

    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;
    border-top: none;
    padding-top: 0;
}

.article-footer-tag {
    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
}

.hero-cta {
    margin-top: 40px;

    position: relative;
    z-index: 4;
}

.journal-cta {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 16px;

    padding: 15px 28px 15px 22px;

    background: var(--bg-card);
    border: 1px solid var(--border-soft);

    color: var(--text-primary);
    text-decoration: none;

    transform: rotate(-1.5deg);

    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);

    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease,
        background 0.35s ease;
}

.journal-cta::before {
    content: "";

    position: absolute;

    left: 78px;
    top: -1px;
    bottom: -1px;

    border-left: 1px dashed var(--border-soft);

    transition: border-color 0.35s ease;
}

.journal-cta:hover {
    transform: rotate(0deg) translateY(-5px);

    background: var(--accent);
    border-color: var(--accent);

    box-shadow: 0 22px 38px rgba(0, 0, 0, 0.18);
}

.journal-cta:hover::before {
    border-color: rgba(250, 245, 232, 0.4);
}

.journal-cta-tag {
    position: absolute;

    top: -12px;
    right: -10px;

    padding: 4px 8px;

    background: var(--bg);
    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.15em;

    transform: rotate(11deg);

    transition: transform 0.4s ease;
}

.journal-cta:hover .journal-cta-tag {
    transform: rotate(11deg) translateY(-2px);
}

.journal-cta-icon {
    flex-shrink: 0;

    font-size: 18px;

    color: var(--text-tertiary);

    transform: rotate(45deg);

    transition:
        color 0.3s ease,
        transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journal-cta:hover .journal-cta-icon {
    color: var(--bg);
    transform: rotate(90deg);
}

.journal-cta-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.journal-cta-label {
    color: var(--text-tertiary);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;

    transition: color 0.3s ease;
}

.journal-cta-title {
    margin-top: 5px;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;

    transition: color 0.3s ease;
}

.journal-cta:hover .journal-cta-label,
.journal-cta:hover .journal-cta-title {
    color: var(--bg);
}

.journal-cta-arrow {
    color: var(--text-tertiary);

    font-size: 14px;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.journal-cta:hover .journal-cta-arrow {
    color: var(--bg);
    transform: translate(3px, -3px);
}

.route-trail {
    margin-top: 26px;

    padding: 22px 22px 18px;

    background: var(--bg-card);
    border: 1px solid var(--border-soft);

    transform: rotate(0.6deg);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.route-trail:hover {
    transform: rotate(0deg);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.route-trail-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 14px;

    border-bottom: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.route-trail-track {
    position: relative;

    margin-top: 6px;
    padding-left: 4px;

    max-height: 340px;

    overflow-y: auto;

    scrollbar-width: none;
}

.route-trail-track::-webkit-scrollbar {
    display: none;
}

.route-trail-track::before {
    content: "";

    position: absolute;

    top: 22px;
    bottom: 22px;
    left: 9px;

    width: 1px;

    background: var(--border-soft);
}

.route-trail-item {
    position: relative;
    z-index: 1;

    width: 100%;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 11px 0;

    background: none;
    border: none;

    color: inherit;
    font-family: inherit;

    text-align: left;

    cursor: pointer;
}

.route-trail-dot {
    flex-shrink: 0;

    width: 9px;
    height: 9px;

    background: var(--bg-card);
    border: 1.5px solid var(--border-soft);
    border-radius: 50%;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.route-trail-number {
    flex-shrink: 0;

    width: 20px;

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 9px;
    letter-spacing: 0.05em;

    transition: color 0.3s ease;
}

.route-trail-name {
    flex: 1;

    overflow: hidden;

    color: var(--text-tertiary);

    font-size: 12px;
    letter-spacing: 0.02em;

    white-space: nowrap;
    text-overflow: ellipsis;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.route-trail-item:hover .route-trail-name {
    color: var(--text-primary);
    transform: translateX(3px);
}

.route-trail-item:hover .route-trail-dot {
    border-color: var(--text-primary);
}

.route-trail-item.is-active .route-trail-dot {
    background: var(--text-primary);
    border-color: var(--text-primary);

    transform: scale(1.3);
}

.route-trail-item.is-active .route-trail-number {
    color: var(--text-primary);
}

.route-trail-item.is-active .route-trail-name {
    color: var(--text-primary);
    font-weight: 600;
}

.article-hero-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;

    gap: 60px;

    margin-top: 120px;

    align-items: start;
}

.article-hero-row .article-image {
    margin-top: 0;
}

.article-hero-row .article-meta {
    transform: rotate(-1deg);
}

.article-text {
    max-width: none;
    padding-left: 4px;
}

.article-text::after {
    content: "";

    display: block;
    clear: both;
}

.article-photos-item {
    position: relative;

    width: 270px;

    overflow: hidden;

    background: var(--bg-card);

    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.12),
        0 3px 8px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

.article-photos-item-right {
    float: right;

    margin: 6px 0 10px 34px;

    transform: rotate(2.5deg);
}

.article-photos-item-left {
    float: left;

    margin: 6px 34px 26px 0;

    transform: rotate(-2.5deg);
}

.article-photos-item:hover {
    box-shadow:
        0 24px 40px rgba(0, 0, 0, 0.16),
        0 8px 14px rgba(0, 0, 0, 0.1);
}

.article-photos-item-right:hover,
.article-photos-item-left:hover {
    transform: rotate(0deg) translateY(-6px);
}

.article-photos-item img {
    width: 100%;

    display: block;

    aspect-ratio: 4 / 5;
    object-fit: cover;

    filter: saturate(0.9);

    transition: transform 0.7s ease;
}

.article-photos-item:hover img {
    transform: scale(1.05);
}

.article-photos-item-wide {
    width: 320px;
    clear: right;

    transform: rotate(-3deg);
}

.article-photos-item-wide img {
    aspect-ratio: 5 / 3;
}

.article-photos-note {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 2;

    padding: 7px 10px;

    background: var(--bg);
    color: var(--text-primary);

    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;

    transform: rotate(3deg);

    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-photos-item-left .article-photos-note {
    top: auto;
    right: auto;
    left: 14px;
    bottom: 14px;

    transform: rotate(-4deg);
}

.article-photos-item:hover .article-photos-note {
    transform: rotate(0deg) translateY(-3px);
}

.article-photos-postmark {
    position: absolute;
    z-index: 2;

    bottom: 14px;
    right: 14px;

    padding: 6px 8px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: rgba(20, 16, 10, 0.35);
    backdrop-filter: blur(1px);

    color: #fff;

    font-family: "Courier New", monospace;
    font-size: 7px;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-align: center;

    transform: rotate(-9deg);

    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.article-photos-item-left .article-photos-postmark {
    right: auto;
    left: 14px;
}

.article-photos-item:hover .article-photos-postmark {
    transform: rotate(-3deg) scale(1.05);
}

.article-text h2 {
    clear: both;

    margin: 0 0 20px;

    color: var(--text-primary);

    font-size: 26px;
    font-weight: 600;

    letter-spacing: -0.02em;
    line-height: 1.25;
}

.article-text h2:first-child {
    margin-top: 0;
}

.article-photos-item-left:has(img[src="images/sashimi1.jpg"]) {
    margin-top: -40px;
}

.article-text h2.beside-photo {
    clear: none;
    margin-left: 305px;
}

.article-text p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

.article-back-cta {
    transform: rotate(-1deg);
}

.article-footer-stamp {
    padding: 9px 13px;

    border: 1px solid var(--border-soft);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.2em;
    line-height: 1.6;
    text-align: center;

    transform: rotate(4deg);
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.photo-grid .photo {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-grid .photo:hover {
    z-index: 5;
}

.photo-grid .photo:nth-child(4n+2) {
    position: relative;
}

.photo-grid .photo:nth-child(4n+2)::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: -10px;
    left: 30px;
    width: 55px;
    height: 20px;
    background: repeating-linear-gradient(
        45deg,
        rgba(181, 100, 63, 0.4),
        rgba(181, 100, 63, 0.4) 4px,
        rgba(160, 120, 90, 0.3) 4px,
        rgba(160, 120, 90, 0.3) 8px
    );
    opacity: 0.85;
    transform: rotate(-6deg);
    pointer-events: none;
}

/* featured stamp on the hero frame */
.photo-large::after {
    content: "FEATURED FRAME";
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;
    padding: 7px 11px;
    background: var(--bg);
    border: 1px solid var(--border-soft);
    color: var(--text-tertiary);
    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transform: rotate(-4deg);
    pointer-events: none;
}

.photo-info {
    padding-top: 14px;
    padding-left: 12px;
    border-left: 2px solid var(--border-soft);
}

.photo-info h3 {
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.photo-fieldnote {
    max-width: 90%;
    margin-top: 8px;
    color: var(--text-secondary);
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    line-height: 1.55;
}

.photo-note-card {
    align-self: center;
    padding: 25px 0;
    border-top: 1px solid var(--border-soft);
    transform: rotate(-1deg);
}

.photo-note-card p {
    color: var(--text-secondary);
    font-family: Georgia, serif;
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
}

/* =========================================================
   STAMP RUSH → DARKROOM RUSH
   (dark safelight room; trays instead of a plain grid;
   photos develop in and overdevelop to black instead of
   postcards popping and fading)
========================================================= */

.stamp-rush::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 0;

    background: radial-gradient(
        circle at 50% 15%,
        rgba(196, 64, 48, 0.28) 0%,
        rgba(196, 64, 48, 0.08) 35%,
        transparent 65%
    );

    pointer-events: none;
}

.stamp-rush::after {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 700px;
    z-index: 0;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        var(--bg) 0%,
        var(--bg) 10%,
        transparent 100%
    );
}

.stamp-rush-top {
    color: #b39a86;
}
.stamp-rush-heading,
.stamp-rush-intro,
.stamp-rush-game,
.stamp-rush-leaderboard,
.stamp-rush-footer-note {
    position: relative;
    z-index: 1;
}

.stamp-rush-top,
.stamp-rush-intro {
    color: #d6c2ae;
}

.stamp-rush-heading h2 {
    color: #f3e6d8;
}

.stamp-rush-heading h2 span {
    color: #c9575a;
}

.stamp-rush-footer-note {
    color: #b39a86;
}

.stamp-rush-footer-note a {
    color: #c9575a;
}

/* ---- clothesline HUD ---- */

.stamp-rush-hud {
    position: relative;

    margin-bottom: 34px;
    padding-top: 16px;
}

.stamp-rush-hud::before {
    content: "";

    position: absolute;
    top: 0;
    left: -6%;
    right: -6%;

    height: 1px;

    background: repeating-linear-gradient(
        90deg,
        #5a4a3d 0px,
        #5a4a3d 6px,
        transparent 6px,
        transparent 10px
    );
}

.stamp-rush-stat {
    position: relative;

    padding: 14px 16px 12px;

    background: #f3e6d8;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);

    transform: rotate(var(--clip-rot, -2deg));
}

.stamp-rush-stat:nth-child(1) { --clip-rot: -3deg; }
.stamp-rush-stat:nth-child(2) { --clip-rot: 1.5deg; }
.stamp-rush-stat:nth-child(3) { --clip-rot: -1.5deg; }

.stamp-rush-stat::before {
    content: "";

    position: absolute;
    top: -8px;
    left: 50%;

    width: 10px;
    height: 14px;

    background: #8a7157;
    border-radius: 2px;

    transform: translateX(-50%);
}

.stamp-rush-stat-label {
    color: #8a7157;
}

.stamp-rush-stat-value {
    color: #3a2a1e;
}

/* ---- polaroid cell (redesigned) ---- */

.stamp-cell {
    position: relative;
    z-index: 1;
    overflow: hidden;

    padding: 9% 9% 22% 9%;

    background: linear-gradient(160deg, #fbf5ea 0%, #f3e6d8 55%, #e6d5c2 100%);

    border: none;
    border-radius: 1px;

    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(0, 0, 0, 0.05);

    transform: translateY(0) rotate(var(--tilt, 0deg));

    transition: box-shadow 0.2s ease;
}

.stamp-cell.is-live {
    animation:
        cell-rise var(--dev-time, 900ms) cubic-bezier(0.3, 0.4, 0.3, 1) forwards,
}

.stamp-cell.is-hit {
    z-index: 5;
    animation: cell-rise-settle 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stamp-cell.is-missed {
    animation: cell-sink 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cell-rise {
    0%   { transform: translateY(30%) rotate(var(--tilt, 0deg)); }
    72%  { transform: translateY(-4%) rotate(var(--tilt, 0deg)); }
    100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
}

@keyframes cell-rise-settle {
    0%   { transform: translateY(-4%) rotate(var(--tilt, 0deg)); }
    50%  { transform: translateY(3%) rotate(var(--tilt, 0deg)); }
    100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
}

@keyframes cell-sink {

    0% {
        transform: translateY(0) rotate(var(--tilt, 0deg)) scale(1);
    }

    100% {
        transform: translateY(9%) rotate(calc(var(--tilt, 0deg) + 2.5deg)) scale(0.95);
    }

}
.stamp-cell.is-live {
    box-shadow:
        0 6px 14px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(201, 87, 90, 0.55),
        0 0 18px rgba(201, 87, 90, 0.35);
}

.cell-window {
    position: absolute;
    inset: 9% 9% 24% 9%;

    overflow: hidden;

    background: radial-gradient(ellipse at 50% 30%, #241c16 0%, #14100d 70%);

    border-top: 1px solid #4a3a2c;
    border-right: 1px solid #0c0906;
    border-bottom: 1px solid #0c0906;
    border-left: 1px solid #2a2019;

    border-radius: 1px;

    box-shadow:
        inset 0 6px 14px rgba(0, 0, 0, 0.55),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.cell-image {
    position: absolute;
    inset: 0;

    filter: contrast(1.5) brightness(0.15) blur(2px);
    transform: scale(1.12);

    clip-path: inset(0 0 100% 0); /* fully submerged — nothing visible yet */

    transition: opacity 0.15s linear;
}

.stamp-cell.is-live .cell-image {
    animation: cell-develop var(--dev-time, 900ms) cubic-bezier(0.3, 0.4, 0.3, 1) forwards;
}

.stamp-cell.is-hit .cell-image {
    opacity: 1;
    filter: contrast(1.05) brightness(1) blur(0);
    transform: scale(1);
    animation: none;
}

.stamp-cell.is-missed .cell-image {
    animation: cell-overdevelop 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cell-develop {
    0%   { opacity: 0; filter: contrast(1.6) brightness(0.12) blur(3px); transform: scale(1.1); }
    55%  { opacity: 1; filter: contrast(1.1) brightness(0.9) blur(0.5px); transform: scale(1.02); }
    100% { opacity: 1; filter: contrast(1.05) brightness(1) blur(0); transform: scale(1); }
}

@keyframes cell-overdevelop {
    0%   { filter: contrast(1.05) brightness(1) saturate(1); }
    100% { filter: contrast(1.3) brightness(0.08) saturate(0); }
}

.cell-waterline {
    position: absolute;
    left: 0;
    right: 0;

    top: 0%;
    height: 3px;
    margin-top: -1px;

    z-index: 2;

    opacity: 0;
    pointer-events: none;

    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.85) 15%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(255, 255, 255, 0.85) 85%,
        transparent 100%
    );

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.55),
        0 3px 8px rgba(0, 0, 0, 0.4);
}

.stamp-cell.is-live .cell-waterline {
    animation: cell-waterline-rise var(--dev-time, 900ms) cubic-bezier(0.3, 0.4, 0.3, 1) forwards;
}

.stamp-cell.is-hit .cell-waterline,
.stamp-cell.is-missed .cell-waterline {
    animation: none;
    opacity: 0;
    top: 100%;
}

@keyframes cell-waterline-rise {

    0% {
        top: 0%;
        opacity: 0.9;
    }

    8% {
        opacity: 1;
    }

    55% {
        top: 58%;
        opacity: 0.85;
    }

    92% {
        opacity: 0.6;
    }

    100% {
        top: 100%;
        opacity: 0;
    }

}

.cell-ripple {
    position: absolute;
    inset: 0;

    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.16) 48%, transparent 66%);

    opacity: 0;
    transform: translateX(-60%);

    pointer-events: none;
}

.stamp-cell.is-live .cell-ripple {
    animation: cell-ripple-sweep var(--dev-time, 900ms) linear forwards;
}

@keyframes cell-ripple-sweep {
    0%   { opacity: 0; transform: translateX(-60%); }
    10%  { opacity: .9; }
    70%  { opacity: .5; }
    100% { opacity: 0; transform: translateX(60%); }
}

.cell-timer {
    position: absolute;
    left: 9%; right: 9%; bottom: 12%;

    height: 2px;

    background: rgba(46, 59, 82, 0.15);
}

.cell-timer-fill {
    height: 100%;
    width: 100%;

    background: var(--accent);
    transform-origin: left center;
}

.stamp-cell.is-live .cell-timer-fill {
    animation: cell-drain var(--dev-time, 900ms) linear forwards;
}

@keyframes cell-drain {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

.cell-stamp {
    position: absolute;
    top: 50%; left: 50%;

    width: 62%; height: 62%;

    transform: translate(-50%, -50%) rotate(-12deg) scale(0.4);
    opacity: 0;

    pointer-events: none;
}

.stamp-cell.is-hit .cell-stamp {
    animation: cell-stamp-hit 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cell-stamp-hit {
    0%   { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1.8); }
    55%  { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(0.85); }
    100% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}

.cell-stamp svg { width: 100%; height: 100%; display: block; }
.cell-stamp-ring { fill: none; stroke: var(--stamp-ink); stroke-width: 5; opacity: .9; }
.cell-stamp-ring-inner { fill: none; stroke: var(--stamp-ink); stroke-width: 2; stroke-dasharray: 3 4; opacity: .7; }
.cell-stamp-check { fill: none; stroke: var(--stamp-ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

.cell-number {
    position: absolute;
    bottom: 6%; right: 9%;

    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.12em;

    color: rgba(46, 59, 82, 0.55);
}

/* per-cell tilt + a little scene variety, purely decorative */
.stamp-cell:nth-child(3n+1) { --tilt: -1.4deg; }
.stamp-cell:nth-child(3n+2) { --tilt: 0.8deg; }
.stamp-cell:nth-child(3n+3) { --tilt: -0.6deg; }

.stamp-cell:nth-child(4n+1) .cell-image {
    background:
        radial-gradient(circle at 68% 28%, #f2d9a8 0%, #f2d9a8 6%, transparent 7%),
        linear-gradient(180deg, #7c8f8a 0%, #56695f 42%, #2c3a2f 100%);
}
.stamp-cell:nth-child(4n+2) .cell-image {
    background: linear-gradient(180deg, #d9c3a1 0%, #b98f6a 45%, #5c4632 100%);
}
.stamp-cell:nth-child(4n+3) .cell-image {
    background:
        radial-gradient(ellipse at 50% 120%, #f3e6d8 0%, transparent 60%),
        linear-gradient(180deg, #33475c 0%, #1c2b39 60%, #0e1620 100%);
}
.stamp-cell:nth-child(4n) .cell-image {
    background: linear-gradient(160deg, #c46a5a 0%, #8a4a42 45%, #3c2a2c 100%);
}

/* ---- overlay ---- */

.stamp-rush-overlay {
    background: rgba(20, 14, 11, 0.94);
}

.stamp-rush-overlay-label {
    color: #c9575a;
}

.stamp-rush-overlay-text {
    color: #e8d9c8;
}

/* ---- leaderboard ---- */

.stamp-rush-leaderboard {
    background: #241a15;
    border-color: #4a352a;
}

.leaderboard-top {
    border-bottom-color: #4a352a;
    color: #e8d9c8;
}

.leaderboard-name {
    color: #f3e6d8;
}

.leaderboard-score {
    color: #c9575a;
}

.leaderboard-loading,
.leaderboard-empty {
    color: #8a7157;
}

.stamp-rush-name-input {
    background: #14100d;
    border-color: #4a352a;
    color: #f3e6d8;
}

/* =========================================================
   PHOTOGRAPHY — SCRAPBOOK BOARD
========================================================= */

.photo-intro-scrapbook {
    min-height: 40vh;
}

.scrapbook-board {
    position: relative;

    max-width: 1700px;

    margin: 0 auto 0 0;

    columns: 380px;
    column-gap: 130px;

    padding: 90px 3% 180px;

    transform: translateX(-20%);

    background:
        repeating-linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.025) 0px,
            rgba(0, 0, 0, 0.025) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.02) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 1px,
            transparent 40px
        ),
        radial-gradient(
            ellipse at 50% 0%,
            color-mix(in srgb, var(--bg-card) 55%, var(--bg)) 0%,
            color-mix(in srgb, var(--bg-card) 25%, var(--bg)) 60%,
            var(--bg) 100%
        );

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.scrapbook-photo {
    position: relative;


    display: inline-block;
    width: 100%;

    break-inside: avoid; /* never split a polaroid across two columns */

    margin: 0 0 120px;    /* vertical spacing between stacked photos */

    padding: 14px 14px 40px;

    background: var(--bg-card);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.14),
        0 3px 8px rgba(0, 0, 0, 0.08);

    cursor: pointer;

    transform: rotate(var(--rot, 0deg));
    transform-origin: center;

    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.5s ease;
}

.scrapbook-large {
    width: 540px;
}

.scrapbook-small {
    width: 300px;
}

.scrapbook-photo:hover {
    transform:
        perspective(900px)
        rotateX(12deg)
        translateY(-8px)
        scale(1.03)
        rotate(var(--rot, 0deg));

    box-shadow:
        0 26px 45px rgba(0, 0, 0, 0.2),
        0 8px 14px rgba(0, 0, 0, 0.12);

    z-index: 5;
}

.scrapbook-photo .polaroid-image {
    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: var(--border);
}

.scrapbook-large .polaroid-image {
    aspect-ratio: 3 / 4; /* taller than default 4/5 */
}

.scrapbook-small .polaroid-image {
    aspect-ratio: 1 / 1; /* shorter than default */
}

.scrapbook-photo .polaroid-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter: saturate(0.85) sepia(0.12) contrast(1.03);

    transition: transform 0.8s ease, filter 0.5s ease;
}

.scrapbook-photo:hover .polaroid-image img {
    transform: scale(1.05);
    filter: saturate(0.95) sepia(0.05) contrast(1.03);
}

/* explicit per-photo tilt/offset/overlap — bigger swings than
   before so pieces genuinely cluster instead of sitting in
   an even row; negative margins let neighbors tuck under
   each other like a real pile */

.st-1 {
    margin-top: 10px;
    --rot: -3deg;
    z-index: 2;
}

.st-2 {
    margin-top: 30px;
    --rot: 4deg;
    z-index: 1;
}

.st-3 {
    margin-top: 0;
    --rot: -5deg;
    z-index: 3;
}

.st-4 {
    margin-top: 20px;
    --rot: 2deg;
    z-index: 1;
}

.st-5 {
    margin-top: 0;
    --rot: -2deg;
    z-index: 2;
}

.st-6 {
    margin-top: 40px;
    --rot: 5deg;
    z-index: 1;
}

.st-7 {
    margin-top: 15px;
    --rot: 3deg;
    z-index: 2;
}

.st-8 {
    margin-top: 0;
    --rot: -4deg;
    z-index: 1;
}

.st-9 {
    margin-top: 35px;
    --rot: 2.5deg;
    z-index: 3;
}

.st-10 {
    margin-top: 5px;
    --rot: -3.5deg;
    z-index: 2;
}

.st-fill-1 {
    margin-top: 25px;
    --rot: 4.5deg;
    z-index: 1;
}

.scrapbook-landscape {
    width: 480px;
}

.scrapbook-landscape.scrapbook-small {
    width: 380px;
}

.scrapbook-landscape .polaroid-image {
    aspect-ratio: 4 / 3;
}

.scrapbook-pin {
    position: absolute;
    z-index: 4;

    width: 16px;
    height: 16px;

    margin-left: -8px;

    background: radial-gradient(circle at 35% 30%, #e0917a 0%, var(--accent) 60%, #7a3a24 100%);
    border-radius: 50%;

    box-shadow:
        0 3px 5px rgba(0, 0, 0, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.4);

    pointer-events: none;
}

/* =========================================================
   PHOTOGRAPHY — SCATTERED EPHEMERA
========================================================= */

.board-ephemera {
    position: absolute;
    z-index: 0;

    pointer-events: none;
}

.ephemera-postmark {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: color-mix(in srgb, var(--paper) 75%, transparent);
    border: 1px solid var(--border-soft);
    border-radius: 50%;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-align: center;
}

.ephemera-postmark::before {
    content: "";

    position: absolute;
    inset: 7px;

    border: 1px dashed var(--border-soft);
    border-radius: 50%;
}

.ephemera-ticket {
    width: 120px;

    padding: 10px 12px 9px;

    background: var(--bg-card);
    border: 1px solid var(--border-soft);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

    color: var(--text-tertiary);

    font-family: "Courier New", monospace;
    font-size: 8px;
    letter-spacing: 0.12em;
}

.ephemera-ticket-top {
    display: block;
}

.ephemera-ticket-perf {
    margin-top: 8px;
    padding-top: 6px;

    display: flex;
    justify-content: space-between;

    border-top: 1px dashed var(--border-soft);
}

.ephemera-stamp {
    width: 44px;
    height: 54px;

    background: var(--paper);
    border: 1px dashed var(--border-soft);

    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.ephemera-clip {
    width: 22px;
    height: 46px;

    border: 3px solid #9a9a9a;
    border-radius: 11px 11px 9px 9px;

    background: transparent;

    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.15),
        inset 0 0 0 3px var(--bg);
}

.board-doodle-circle {
    position: absolute;
    z-index: 4;

    width: 130px;
    height: 130px;

    pointer-events: none;

    overflow: visible;
}

.board-doodle-circle path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    opacity: 0.75;
}

/* =========================================================
   PHOTOGRAPHY — LIGHTBOX
========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0s linear 0.35s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.35s ease,
        visibility 0s linear 0s;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(20, 16, 10, 0.85);

    cursor: pointer;
}

.lightbox-frame {
    position: relative;
    z-index: 1;

    max-width: 88vw;
    max-height: 86vh;

    padding: 20px 20px 34px;

    background: var(--bg-card);

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.25);

    transform: scale(0.92);

    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open .lightbox-frame {
    transform: scale(1);
}

.lightbox-img {
    display: block;

    max-width: 100%;
    max-height: 76vh;

    object-fit: contain;

    filter: saturate(0.9) sepia(0.08) contrast(1.02);
}

.lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 2;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--text-primary);
    color: var(--bg);
    border: none;
    border-radius: 50%;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);

    transition: transform 0.25s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg) scale(1.05);
}