/* =====================================================
   lungless.dev v2 -- field notes from a breath-free archive
   timeline-vertical / serif-classic / warm leather + dopamine
   ===================================================== */

:root {
    --bg-primary:        #2C0F08;  /* cordovan leather */
    --bg-secondary:      #4A1F0E;  /* saddle brown */
    --bg-deep:           #1A0905;  /* leather shadow */
    --bg-hilite:         #6B2418;  /* brass embers */
    --gold-1:            #D4A574;  /* antique gold */
    --gold-2:            #B98447;  /* mid gold */
    --gold-3:            #8B5A2B;  /* burnished bronze */
    --pop-crimson:       #FF4D6D;  /* dopamine ink */
    --pop-amber:         #FFB14A;  /* dopamine glow */
    --text-primary:      #E8D5A8;  /* parchment */
    --text-secondary:    #C9B284;  /* faded ivory */
    --text-italic:       #B89968;  /* tea stain */
    --text-quiet:        #5A1A0A;  /* invisible-on-leather */

    --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
    --font-body:    "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sc:      "Cormorant SC", "Cormorant Garamond", serif;

    --spine-x: 50%;
    --maxw: 1240px;
}

/* ----------------------------------------------------
   Reset & base
   ---------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    background: radial-gradient(ellipse at 30% 20%, #3a1810 0%, var(--bg-primary) 55%, var(--bg-deep) 100%);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1rem, 1.05vw, 1.15rem);
    line-height: 1.85;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 18% 22%, rgba(107, 36, 24, 0.55) 0px, transparent 320px),
        radial-gradient(circle at 78% 12%, rgba(74, 31, 14, 0.6) 0px, transparent 480px),
        radial-gradient(circle at 50% 70%, rgba(58, 24, 16, 0.7) 0px, transparent 800px),
        radial-gradient(circle at 88% 92%, rgba(107, 36, 24, 0.45) 0px, transparent 560px),
        linear-gradient(180deg, #2c0f08 0%, #2a0d07 50%, #200a05 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* fine grain noise */
.leather-grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
    opacity: 0.18;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.25  0 0 0 0 0.12  0 0 0 0 0.05  0 0 0 0.6 0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
    background-size: 240px 240px;
}

.page-vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(26, 9, 5, 0.45) 78%, rgba(10, 4, 2, 0.78) 100%);
}

.page-edge-gilt {
    position: fixed;
    top: 0;
    right: 0;
    width: 14px;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
    background: linear-gradient(to left, rgba(212, 165, 116, 0.65) 0%, rgba(212, 165, 116, 0.18) 50%, transparent 100%);
    box-shadow: inset 1px 0 0 rgba(212, 165, 116, 0.8);
}

/* ----------------------------------------------------
   Spine
   ---------------------------------------------------- */
.spine {
    position: fixed;
    top: 0;
    left: var(--spine-x);
    transform: translateX(-50%);
    width: 2px;
    height: 100vh;
    z-index: 4;
    pointer-events: none;
}

#spineLine {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

body.spine-drawn #spineLine {
    stroke-dashoffset: 0;
}

/* ----------------------------------------------------
   Mini timeline indicator (right edge)
   ---------------------------------------------------- */
.mini-timeline {
    position: fixed;
    top: 50%;
    right: 32px;
    transform: translateY(-50%);
    z-index: 25;
    pointer-events: auto;
}

.mini-dots {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mini-dot {
    width: 12px;
    height: 12px;
    border: 1px solid var(--gold-2);
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    position: relative;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 240ms ease;
}

.mini-dot span {
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: transparent;
    transition: background 280ms ease, box-shadow 280ms ease;
}

.mini-dot:hover {
    transform: scale(1.18);
    border-color: var(--gold-1);
    box-shadow: 0 0 12px rgba(255, 177, 74, 0.45);
}

.mini-dot.active span {
    background: var(--pop-crimson);
    box-shadow: 0 0 8px rgba(255, 77, 109, 0.65);
}

/* ----------------------------------------------------
   Main folio
   ---------------------------------------------------- */
.folio {
    position: relative;
    z-index: 10;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 6vw;
}

/* ----------------------------------------------------
   Masthead
   ---------------------------------------------------- */
.masthead {
    min-height: 100vh;
    padding: 12vh 0 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.masthead-corner {
    position: absolute;
    top: 4vh;
    width: 120px;
    height: 120px;
    z-index: 2;
    opacity: 0;
    transition: opacity 1200ms ease 600ms;
}

.masthead-corner svg {
    width: 100%;
    height: 100%;
}

.masthead-corner-tl {
    left: 4vw;
}

.masthead-corner-tr {
    right: 4vw;
    transform: scaleX(-1);
}

body.spine-drawn .masthead-corner {
    opacity: 1;
}

.masthead-inner {
    max-width: 760px;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 900ms ease 200ms, transform 900ms ease 200ms;
}

body.masthead-in .masthead-inner {
    opacity: 1;
    transform: translateY(0);
}

.overline {
    font-family: var(--font-sc);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 1.2rem;
}

.logotype {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.05em;
}

.logo-word {
    font-style: italic;
    font-weight: 700;
}

.logo-period {
    display: inline-block;
    width: 0.35em;
    height: 0.35em;
    border-radius: 50%;
    background: var(--pop-crimson);
    box-shadow: 0 0 0 0 rgba(255, 77, 109, 0);
    transform: scale(0.001);
    transition: transform 480ms cubic-bezier(0.34, 1.56, 0.64, 1) 1900ms,
                box-shadow 800ms ease 2200ms;
    margin: 0 0.05em;
    align-self: flex-end;
    margin-bottom: 0.18em;
}

body.spine-drawn .logo-period {
    transform: scale(1);
    box-shadow: 0 0 18px 4px rgba(255, 77, 109, 0.45);
}

.logo-tld {
    font-style: italic;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.62em;
    letter-spacing: 0.04em;
}

.tagline {
    font-family: var(--font-body);
    font-style: italic;
    font-weight: 400;
    color: var(--text-italic);
    font-size: clamp(1rem, 1.6vw, 1.4rem);
    margin: 0.6rem 0 1.8rem;
    letter-spacing: 0.02em;
}

.masthead-rule {
    width: 360px;
    max-width: 80%;
    margin: 0 auto 2.2rem;
    height: 14px;
}

.masthead-rule svg {
    width: 100%;
    height: 100%;
}

.rule-path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1100ms ease 1400ms;
}

body.spine-drawn .rule-path {
    stroke-dashoffset: 0;
}

.masthead-credo {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.2vw, 1.22rem);
    line-height: 1.85;
    color: var(--text-primary);
    max-width: 640px;
    margin: 0 auto 2.4rem;
}

.masthead-credo em {
    color: var(--text-italic);
    font-style: italic;
}

.scroll-instruction {
    font-family: var(--font-sc);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 4rem 0 0;
    opacity: 0;
    transition: opacity 900ms ease 2400ms;
}

body.spine-drawn .scroll-instruction {
    opacity: 0.85;
    animation: pulseDown 2.8s ease-in-out 3000ms infinite;
}

.scroll-instruction span {
    color: var(--pop-amber);
}

@keyframes pulseDown {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ----------------------------------------------------
   Generic entry section
   ---------------------------------------------------- */
.entry {
    min-height: 100vh;
    padding: 12vh 0;
    display: grid;
    grid-template-columns: 1fr minmax(120px, 18%) 1fr;
    align-items: center;
    column-gap: 1.5rem;
    position: relative;
}

.entry .entry-block {
    grid-row: 1;
}

.entry .entry-figure {
    grid-row: 1;
}

.entry-right .entry-figure {
    grid-column: 1;
    justify-self: end;
    text-align: right;
}

.entry-right .entry-block {
    grid-column: 3;
    justify-self: start;
    padding-left: 0.5rem;
}

.entry-left .entry-figure {
    grid-column: 3;
    justify-self: start;
    text-align: left;
}

.entry-left .entry-block {
    grid-column: 1;
    justify-self: end;
    text-align: right;
    padding-right: 0.5rem;
}

/* ----------------------------------------------------
   Medallion (date stamp on the spine)
   ---------------------------------------------------- */
.medallion {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: start;
    margin-top: 4vh;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 28%, #5a2a18 0%, #3a1810 60%, #220c06 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-sc);
    font-weight: 600;
    letter-spacing: 0.18em;
    box-shadow:
        inset 0 1px 0 rgba(212, 165, 116, 0.45),
        inset 0 -2px 6px rgba(10, 4, 2, 0.85),
        0 0 0 1px rgba(212, 165, 116, 0.55),
        0 6px 22px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 5;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 380ms ease,
                box-shadow 480ms ease;
}

.medallion-ring {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(212, 165, 116, 0.55);
    pointer-events: none;
}

.medallion-ring::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 0.5px solid rgba(212, 165, 116, 0.25);
}

.medallion-no {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--gold-1);
    line-height: 1;
    margin-bottom: 4px;
}

.medallion-date {
    font-size: 0.6rem;
    color: var(--text-secondary);
    line-height: 1.2;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.entry.in-view .medallion {
    transform: scale(1);
    opacity: 1;
    box-shadow:
        inset 0 1px 0 rgba(212, 165, 116, 0.55),
        inset 0 -2px 6px rgba(10, 4, 2, 0.85),
        0 0 0 1px rgba(212, 165, 116, 0.7),
        0 6px 22px rgba(0, 0, 0, 0.6),
        0 0 24px rgba(255, 177, 74, 0.25);
}

/* ----------------------------------------------------
   Connector lines from spine to entry
   ---------------------------------------------------- */
.connector {
    grid-row: 1;
    align-self: center;
    height: 4px;
    width: 18%;
    pointer-events: none;
    z-index: 4;
    position: relative;
    margin-top: 4vh;
}

.connector-right {
    grid-column: 2 / span 1;
    justify-self: end;
    transform: translateX(2px);
}

.connector-left {
    grid-column: 2 / span 1;
    justify-self: start;
    transform: translateX(-2px);
}

.connector path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 700ms ease 200ms;
}

.entry.in-view .connector path {
    stroke-dashoffset: 0;
}

/* ----------------------------------------------------
   Entry block (text content)
   ---------------------------------------------------- */
.entry-block {
    max-width: 460px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 800ms ease 500ms, transform 800ms ease 500ms;
}

.entry.in-view .entry-block {
    opacity: 1;
    transform: translateY(0);
}

.kicker {
    font-family: var(--font-sc);
    font-weight: 600;
    font-size: 0.74rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-1);
    margin: 0 0 0.85rem;
}

.entry-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: 0.005em;
    color: var(--text-primary);
    margin: 0 0 1.4rem;
}

.entry-body p {
    margin: 0 0 1.05rem;
    color: var(--text-primary);
}

.entry-body em {
    color: var(--text-italic);
    font-style: italic;
}

.entry-body strong {
    color: var(--gold-1);
    font-weight: 700;
}

/* Pull quote */
.pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.15rem, 1.5vw, 1.4rem);
    line-height: 1.4;
    color: var(--text-italic);
    margin: 1.6rem 0 0;
    padding: 1.3rem 1.4rem;
    border-left: 1px solid var(--gold-3);
    border-right: 1px solid transparent;
    background: linear-gradient(90deg, rgba(74, 31, 14, 0.35) 0%, rgba(44, 15, 8, 0) 100%);
    position: relative;
    cursor: default;
}

.entry-left .pull-quote {
    border-left: 1px solid transparent;
    border-right: 1px solid var(--gold-3);
    background: linear-gradient(270deg, rgba(74, 31, 14, 0.35) 0%, rgba(44, 15, 8, 0) 100%);
}

.ink-stop {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pop-crimson);
    margin-left: 6px;
    vertical-align: 2px;
    box-shadow: 0 0 10px rgba(255, 77, 109, 0.45);
}

.quote-secondary {
    display: block;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-top: 0.6rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 240ms ease, max-height 320ms ease, margin-top 240ms ease;
}

.pull-quote:hover .quote-secondary {
    opacity: 0.95;
    max-height: 80px;
    margin-top: 0.6rem;
}

/* ----------------------------------------------------
   Entry figure (diagrams)
   ---------------------------------------------------- */
.entry-figure {
    margin: 0;
    max-width: 380px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 700ms ease 350ms, transform 700ms ease 350ms;
}

.entry.in-view .entry-figure {
    opacity: 1;
    transform: translateY(0);
}

.diagram {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
    background: radial-gradient(ellipse at 50% 50%, rgba(74, 31, 14, 0.45) 0%, rgba(26, 9, 5, 0.0) 70%);
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid rgba(212, 165, 116, 0.18);
}

.diagram .draw-path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1400ms ease 400ms;
}

.entry.in-view .diagram .draw-path {
    stroke-dashoffset: 0;
}

.entry.in-view .diagram .draw-on-enter-late .draw-path {
    transition-delay: 1100ms;
}

.diagram .draw-path-fill {
    opacity: 0;
    transition: opacity 600ms ease 1400ms;
}

.entry.in-view .diagram .draw-path-fill {
    opacity: 1;
}

figcaption {
    font-family: var(--font-sc);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-top: 0.8rem;
}

/* ----------------------------------------------------
   Archive index
   ---------------------------------------------------- */
.archive {
    min-height: 100vh;
    padding: 14vh 0 12vh;
    text-align: center;
    position: relative;
}

.medallion-archive {
    margin: 0 auto 3rem;
    transform: scale(1);
    opacity: 1;
    grid-row: auto;
    grid-column: auto;
}

.archive-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    color: var(--text-primary);
    margin: 0 0 1rem;
}

.archive-lede {
    color: var(--text-italic);
    font-style: italic;
    max-width: 520px;
    margin: 0 auto 3.4rem;
    font-size: 1.08rem;
}

.specimen-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.4rem;
    max-width: 1080px;
    margin: 0 auto;
    text-align: left;
    perspective: 1200px;
}

.specimen {
    position: relative;
    background:
        linear-gradient(160deg, rgba(74, 31, 14, 0.6) 0%, rgba(44, 15, 8, 0.85) 70%);
    border: 1px solid rgba(212, 165, 116, 0.32);
    border-radius: 4px;
    padding: 1.6rem 1.4rem 1.5rem;
    box-shadow:
        inset 0 1px 0 rgba(212, 165, 116, 0.25),
        0 6px 22px rgba(0, 0, 0, 0.45);
    transform-style: preserve-3d;
    transition: transform 280ms ease, box-shadow 320ms ease, border-color 320ms ease;
    cursor: default;
}

.specimen-tag {
    font-family: var(--font-sc);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-1);
    display: inline-block;
    margin-bottom: 0.55rem;
}

.specimen-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 0 0 0.7rem;
    color: var(--text-primary);
}

.specimen p {
    margin: 0;
    color: var(--text-italic);
    font-size: 0.98rem;
    line-height: 1.55;
}

.specimen-edge {
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 0;
    width: 3px;
    background: linear-gradient(180deg, transparent 0%, var(--gold-1) 50%, transparent 100%);
    opacity: 0.6;
    transition: opacity 280ms ease;
}

.specimen:hover {
    transform: rotateY(6deg) rotateX(-3deg) translateZ(12px);
    border-color: var(--gold-1);
    box-shadow:
        inset 0 1px 0 rgba(212, 165, 116, 0.45),
        0 12px 34px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(255, 177, 74, 0.25);
}

.specimen:hover .specimen-edge {
    opacity: 1;
}

/* ----------------------------------------------------
   Colophon
   ---------------------------------------------------- */
.colophon {
    min-height: 60vh;
    padding: 10vh 0 14vh;
    text-align: center;
    position: relative;
}

.spine-cap {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin: 0 auto 3rem;
    background: radial-gradient(circle at 35% 35%, var(--gold-1) 0%, var(--gold-3) 65%, #4a2a13 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 244, 220, 0.5),
        0 4px 14px rgba(0, 0, 0, 0.6);
}

.colophon-line {
    font-family: var(--font-sc);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold-1);
    margin: 0 0 1.6rem;
}

.colophon-body {
    max-width: 640px;
    margin: 0 auto 3rem;
    font-style: italic;
    color: var(--text-italic);
    font-size: 1.05rem;
    line-height: 1.85;
}

.colophon-body em {
    color: var(--text-primary);
    font-style: italic;
    font-weight: 500;
}

.signature-stamp {
    display: inline-block;
    transform: rotate(-2deg);
    transition: transform 320ms ease, filter 320ms ease;
    cursor: default;
}

.signature-stamp:hover {
    transform: rotate(-0.5deg) scale(1.03);
    filter: drop-shadow(0 0 18px rgba(255, 177, 74, 0.4));
}

.signature-stamp svg {
    width: 240px;
    height: auto;
    display: block;
    opacity: 0.92;
}

/* ----------------------------------------------------
   Cursor ink dot
   ---------------------------------------------------- */
.ink-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pop-crimson);
    box-shadow: 0 0 14px rgba(255, 77, 109, 0.55);
    pointer-events: none;
    z-index: 50;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
    transition: opacity 220ms ease, transform 220ms ease;
}

body.cursor-active .ink-cursor {
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(1);
}

/* ----------------------------------------------------
   Underline-draw on text hover (links, kickers)
   ---------------------------------------------------- */
a, .pull-quote, .specimen-title {
    color: inherit;
    text-decoration: none;
}

/* ----------------------------------------------------
   Responsive
   ---------------------------------------------------- */
@media (max-width: 880px) {
    .entry {
        grid-template-columns: 60px 1fr;
        column-gap: 1rem;
        padding: 9vh 0;
    }
    .entry .entry-figure,
    .entry .entry-block {
        grid-column: 2 !important;
        justify-self: start !important;
        text-align: left !important;
        max-width: 100%;
        padding: 0 !important;
    }
    .entry .entry-figure {
        margin-top: 1.2rem;
    }
    .entry-left .pull-quote {
        border-left: 1px solid var(--gold-3);
        border-right: 1px solid transparent;
        background: linear-gradient(90deg, rgba(74, 31, 14, 0.35) 0%, rgba(44, 15, 8, 0) 100%);
    }
    .medallion {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin-top: 0;
        width: 56px;
        height: 56px;
    }
    .medallion-no {
        font-size: 0.6rem;
    }
    .medallion-date {
        font-size: 0.5rem;
    }
    .connector {
        display: none;
    }
    :root {
        --spine-x: 30px;
    }
    .mini-timeline {
        right: 12px;
    }
    .mini-dot {
        width: 9px;
        height: 9px;
    }
    .masthead-corner {
        width: 70px;
        height: 70px;
    }
    .specimen-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .folio {
        padding: 0 5vw;
    }
    .masthead {
        padding: 8vh 0 6vh;
    }
    .logotype {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }
}
