:root {
    --ink: #172048;
    --paper: #fff9df;
    --yellow: #ffe67c;
    --pink: #ff7da8;
    --blue: #4267df;
    --teal: #24b5ac;
    --border:#20254c
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin: 0;
    background: #111c44;
    color: var(--ink);
    font:16px/1.55 Verdana, Geneva, sans-serif
}

.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .4;
    background-image: radial-gradient(#fff 1px, transparent 1px), radial-gradient(#fff 1px, transparent 1px);
    background-size: 39px 43px, 77px 81px;
    background-position:0 0, 19px 26px
}

.page {
    position: relative;
    max-width: 1130px;
    margin: 26px auto 45px;
    border: 3px solid #e8e8ff;
    background: #f9f4e4;
    box-shadow:0 0 0 7px #1c3066, 12px 16px 0 #050b22
}

.masthead {
    text-align: center;
    background: repeating-linear-gradient(135deg, #283c91 0, #283c91 14px, #263984 14px, #263984 28px);
    color: white;
    padding:18px 12px 22px
}

.micro {
    font: 700 11px/1.4 'Courier New', monospace;
    letter-spacing: 1.5px;
    color:#fceaa2
}

.masthead h1 {
    margin: 12px 0 0;
    font: 900 clamp(32px, 6.5vw, 77px) /1 Georgia, serif;
    letter-spacing: -3px;
    text-shadow:4px 4px 0 #10183b
}

.masthead h1 span:not(.spark) {
    color:#ffdc67
}

.masthead h1 small {
    font: 700 clamp(15px, 2.4vw, 26px) 'Courier New', monospace;
    letter-spacing: 0;
    color:#ff92c3
}

.spark {
    font-size: .48em;
    color: #ffb2d0;
    vertical-align:middle
}

.strap {
    font: italic 19px Georgia, serif;
    color: #cce7ff;
    margin-top:8px
}

.nav {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
    background: #ffde6b;
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
    font: 700 12px 'Courier New', monospace
}

.nav a {
    padding: 13px 16px;
    color: #1a2153;
    text-decoration: none;
    border-right:2px solid #d4ad3d
}

.nav a:hover {
    background:#fff8c8
}

.nav-end {
    margin-left: auto;
    padding: 8px 15px;
    white-space:nowrap
}

.blink {
    display: inline-block;
    color: #ff365e;
    animation: status-pulse 1.3s step-end infinite;
}

@keyframes status-pulse {
    0%, 49% {
        visibility: visible;
    }

    50%, 100% {
        visibility: hidden;
    }
}

.ticker {
    display: flex;
    overflow: hidden;
    background: #1a234b;
    color: #fff;
    border-bottom: 3px solid var(--border);
    font: 700 12px 'Courier New', monospace
}

.ticker-label {
    padding: 9px 12px;
    background: #ff80a9;
    color: #1d1b3b;
    flex-shrink:0
}

.ticker-text {
    padding: 9px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color:#ffe78d
}

.columns {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding:20px
}

.sidebar, .content {
    min-width:0
}

.panel {
    background: #fffdf3;
    border: 2px solid var(--border);
    box-shadow: 4px 4px 0 #c9bfd1;
    margin-bottom: 20px;
    padding:20px
}

.panel.mini {
    padding: 13px;
    margin-bottom:17px
}

.mini h2 {
    font: 800 13px 'Courier New', monospace;
    background: #dce8ff;
    border-bottom: 2px dashed #7486bd;
    padding: 8px;
    margin:-13px -13px 12px
}

.sidebar-links {
    display: grid;
    gap:8px
}

.sidebar-links a {
    font: 700 13px 'Courier New', monospace;
    color:#2249a2
}

.sidebar-links a:hover {
    color:#c12e69
}

.mini p {
    font-size:12px
}

.center {
    text-align:center
}

.mood {
    font: 70px Georgia, serif;
    text-align: center;
    color: #f4a72b;
    line-height:1.2
}

.status {
    font: 700 11px 'Courier New', monospace;
    text-align: center;
    border: 1px dashed #85a18b;
    padding:8px
}

.light {
    display: inline-block;
    background: #32c77e;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right:4px
}

.construction {
    text-align: center;
    background: repeating-linear-gradient(45deg, #f8d85e 0, #f8d85e 12px, #222 12px, #222 17px);
    padding: 10px 5px;
    color: #16172c;
    font: bold 14px 'Courier New', monospace;
    text-shadow:1px 1px #ffeaa0
}

.sticker {
    border: 3px dotted #ff9b2c;
    border-radius: 50%;
    background: #ffeaa4;
    transform: rotate(-8deg);
    text-align: center;
    font: bold 13px 'Courier New', monospace;
    padding: 24px 10px;
    margin:30px 10px
}

.tag, .section-bar span {
    font: bold 11px 'Courier New', monospace;
    letter-spacing: 1px;
    color:#5b4d9a
}

.heading h2 {
    font: bold clamp(26px, 4vw, 44px) Georgia, serif;
    margin:3px 0 20px
}

.wave {
    color:#f45b8c
}

.intro {
    background:linear-gradient(135deg, #fffef7, #fff4e6)
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 47%;
    gap: 24px;
    align-items:start
}

.intro p {
    margin:0 0 15px
}

.intro .big {
    font:700 21px/1.4 Georgia, serif
}

.intro mark {
    background: #ffe67c;
    padding:2px 3px
}

.speech {
    border: 2px dashed #e27f9e;
    background: #fff0f6;
    padding: 13px;
    font: italic 17px Georgia, serif;
    transform:rotate(-1deg)
}

.photo {
    margin: 0;
    background: #fff;
    border: 2px solid var(--border);
    padding: 9px;
    box-shadow: 5px 6px 0 #b2add0;
    transform:rotate(2deg)
}

.photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit:cover
}

.photo figcaption {
    font: 11px 'Courier New', monospace;
    margin-top: 9px;
    text-align:center
}

.section-bar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-bottom: 3px double #8293c2;
    margin: -3px 0 17px;
    padding-bottom:8px
}

.section-bar h2 {
    font: bold clamp(17px, 2.5vw, 22px) 'Courier New', monospace;
    margin:0
}

.section-bar span {
    text-align:right
}

.specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap:10px
}

.specs > div {
    border: 2px solid #22316a;
    background: #eaf0ff;
    padding: 12px 9px;
    text-align:center
}

.specs > div:nth-child(2) {
    background:#ffe8ed
}

.specs > div:nth-child(3) {
    background:#fff0c7
}

.specs > div:nth-child(4) {
    background:#dcf7ee
}

.specs span {
    display: block;
    font: 700 10px 'Courier New', monospace
}

.specs strong {
    display: block;
    font: 900 clamp(20px, 2.6vw, 30px) Georgia, serif;
    margin: 5px 0;
    overflow-wrap:anywhere
}

.specs small {
    display: block;
    font: 11px 'Courier New', monospace
}

.spec-foot {
    font: 11px 'Courier New', monospace;
    color: #535b80;
    margin-bottom:0
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:13px
}

.link-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 192px;
    background: #f0eaff;
    border: 2px solid #25316b;
    box-shadow: 3px 3px 0 #c2b7e4;
    padding: 15px;
    text-decoration: none;
    color: #1a2153;
    transition:transform .12s, box-shadow .12s
}

.link-tile:hover {
    transform: translate(-2px, -3px);
    box-shadow: 5px 6px 0 #a79ad0;
    background:#fff0ba
}

.link-tile:nth-child(2) {
    background:#e1f6fa
}

.link-tile.soon {
    background: #f1f1ed;
    border-style:dashed
}

.tile-icon {
    font-size: 33px;
    line-height: 1;
    color:#d64b82
}

.link-tile strong {
    font: bold 21px 'Courier New', monospace
}

.link-tile small {
    font-size:12px
}

.link-tile em {
    font: 11px 'Courier New', monospace;
    color: #3750a1;
    margin-top: auto;
    overflow-wrap:anywhere
}

.guest {
    background:#fff5e9
}

.guest-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    border: 2px dashed #e9a74f;
    padding:14px
}

.guest-inner > span:first-child {
    font-size:36px
}

.guest-inner strong, .guest-inner small {
    display:block
}

.guest-inner small {
    font-size:12px
}

.stamp {
    margin-left: auto;
    white-space: nowrap;
    transform: rotate(10deg);
    border: 2px solid #d94d73;
    color: #d94d73;
    padding: 5px;
    font: bold 12px 'Courier New', monospace
}

.quote {
    text-align: center;
    padding: 18px 20px 22px;
    font: italic 23px/1.4 Georgia, serif;
    color: #fff6dc;
    background: #344ca0;
    border: 3px double #f7d579;
    box-shadow:4px 4px 0 #a8a3bc
}

.quote em {
    color:#ffda71
}

.quote span {
    display: block;
    font: 12px 'Courier New', monospace;
    margin-top:10px
}

footer {
    text-align: center;
    background: #182451;
    color: #e1e6ff;
    padding: 22px 15px;
    font: 11px/1.6 'Courier New', monospace
}

footer p {
    margin:10px 0 0
}

footer a {
    color:#ffe48e
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:7px
}

.footer-badges span {
    border: 1px solid #b5d3fb;
    background: #324887;
    padding: 4px 8px;
    color:#fff6bb
}

#clock {
    display: inline-block;
    margin-left: 12px;
    color:#93f5d5
}

@media (max-width: 850px) {
    .columns {
        grid-template-columns:1fr
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap:12px
    }

    .sidebar .panel {
        margin:0
    }

    .sticker {
        display:none
    }

    .intro-grid {
        grid-template-columns:1fr 44%
    }
}

@media (max-width: 600px) {
    .page {
        margin: 0;
        border-width: 0;
        box-shadow:none
    }

    .masthead h1 {
        letter-spacing:-2px
    }

    .micro {
        font-size:9px
    }

    .nav a {
        padding: 10px;
        font-size:11px
    }

    .nav-end {
        display:none
    }

    .columns {
        padding: 12px;
        gap:10px
    }

    .sidebar {
        grid-template-columns:1fr 1fr
    }

    .sidebar .panel:nth-child(3) {
        grid-column:1/-1
    }

    .panel {
        padding:15px
    }

    .intro-grid {
        grid-template-columns:1fr
    }

    .photo {
        max-width: 400px;
        margin:8px auto
    }

    .specs {
        grid-template-columns:1fr 1fr
    }

    .link-grid {
        grid-template-columns:1fr
    }

    .link-tile {
        min-height:130px
    }

    .section-bar span {
        display:none
    }

    .guest-inner {
        flex-wrap:wrap
    }

    .strap {
        font-size:15px
    }
}

@media (prefers-reduced-motion: reduce) {
    .blink {
        animation:none
    }

    html {
        scroll-behavior:auto
    }

    .link-tile {
        transition:none
    }
}
