/* Summarily Executed — scoped to .se-page; builds on ../styles.css tokens */
.se-page { border-top: 3px solid var(--cyan); overflow-x: hidden; }
.se-home { display: inline-block; margin: 18px 0 0; font: 12px var(--mono-font); letter-spacing: 1px; color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.se-home::before { content: '\2190  '; }
.se-home:hover { color: var(--cyan); border-color: var(--cyan); }
.se-main { max-width: 1040px; margin: 36px auto 90px; }
.se-kicker { margin: 0 0 8px; font: 11px var(--mono-font); letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); }
.se-num { font: 11px var(--mono-font); letter-spacing: 1px; color: var(--magenta); }

/* Landing: portrait beside the masthead */
.se-profile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: center; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.se-avatar { position: relative; width: 220px; aspect-ratio: 1; }
.se-avatar::before, .se-avatar::after {
    content: ''; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none;
    border: 2px solid var(--cyan); transform: translate(-4px, -2px);
}
.se-avatar::after { border-color: var(--magenta); transform: translate(4px, 2px); }
.se-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 48% 50%; }
.se-masthead { margin: 0; line-height: 0; }
.se-masthead img { display: block; width: 100%; max-width: 680px; height: auto; }
.se-masthead a { display: inline-block; line-height: 0; }

/* Landing grid */
.se-grid-wrap { padding-top: 46px; }
.se-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin: 0; padding: 0; list-style: none; }
.se-tile { position: relative; display: block; color: var(--text-color); text-decoration: none; }
.se-frame { position: relative; display: block; aspect-ratio: 1; }
.se-frame::before, .se-frame::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
    border: 1px solid var(--cyan); transform: translate(-5px, -5px); opacity: .7;
}
.se-frame::after { border-color: var(--magenta); transform: translate(5px, 5px); }
.se-frame img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; background: #15171b; }
.se-frame-text {
    display: flex; flex-direction: column; justify-content: space-between; padding: 22px;
    background:
        radial-gradient(circle at calc(100% - 52px) 46px, transparent 17px, var(--cyan) 17px 18px, transparent 18px),
        radial-gradient(circle at calc(100% - 44px) 46px, transparent 17px, var(--magenta) 17px 18px, transparent 18px),
        #111318;
}
.se-frame-text .se-num { font-size: 13px; }
.se-word {
    font: italic 400 clamp(30px, 4.4vw, 50px)/1.02 var(--paper-font); letter-spacing: -1px; color: #f3f0e8;
    text-shadow: -3px 1px var(--cyan), 3px -1px var(--magenta); overflow-wrap: anywhere;
}
.se-tile-title { display: block; margin: 16px 0 2px; font: 400 21px/1.25 var(--paper-font); }
.se-tile-sub, .se-tag { display: inline-block; font: 11px var(--mono-font); letter-spacing: 1px; text-transform: uppercase; color: #0a0a0f; background: var(--cyan); padding: 1px 6px; }
.se-tile:hover .se-tile-title, .se-tile:focus-visible .se-tile-title { color: var(--cyan); text-shadow: 1px 0 var(--magenta), -1px 0 var(--cyan); }
.se-tile:focus-visible { outline: 2px solid var(--cyan); outline-offset: 12px; }
.se-earlier { margin: 46px 0 0; text-align: center; font: 13px var(--mono-font); letter-spacing: 1px; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) {
    .se-frame::before, .se-frame::after { transition: transform .2s ease-out, opacity .2s; }
    .se-tile:hover .se-frame::before, .se-tile:focus-visible .se-frame::before { transform: translate(-9px, -9px); opacity: 1; }
    .se-tile:hover .se-frame::after, .se-tile:focus-visible .se-frame::after { transform: translate(9px, 9px); opacity: 1; }
    html:has(.se-blog) { scroll-behavior: smooth; }
}

/* Blog roll */
.se-blog-head { padding-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.se-masthead-small img { max-width: 440px; }
.se-jump { margin-top: 30px; }
.se-jump ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; counter-reset: se; border-top: 1px solid var(--line); }
.se-jump li { counter-increment: se; border-bottom: 1px solid var(--line); }
.se-jump li a { display: flex; gap: 12px; align-items: baseline; padding: 13px 0; font: 17px/1.3 var(--paper-font); color: var(--text-color); text-decoration: none; }
.se-jump li a::before { content: counter(se, decimal-leading-zero); font: 10px var(--mono-font); color: var(--text-muted); }
.se-jump li a:hover { color: var(--cyan); }
.se-jump-earlier { display: inline-block; margin-top: 16px; font: 12px var(--mono-font); letter-spacing: 1px; color: var(--text-muted); }
.se-post { padding: 64px 0 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.se-post h2 {
    margin: 0 0 22px;
    font: 400 clamp(36px, 5vw, 60px)/1.06 var(--paper-font);
    letter-spacing: -2px;
    text-shadow: 2px 1px var(--magenta), -2px -1px var(--cyan);
}
.se-post h3 { margin: 26px 0 8px; font: italic 400 24px/1.2 var(--paper-font); color: var(--text-color); }
.se-copy { max-width: 680px; scroll-margin-top: 16px; }
.se-copy p { margin: 0 0 14px; font: 18px/1.65 var(--paper-font); }
.se-pending { color: var(--text-muted); font-style: italic; }
.se-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 30px 0 0; }
.se-photos figure { margin: 0; border: 1px solid var(--line); background: #08090c; display: flex; flex-direction: column; }
.se-photos img { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; background: #08090c; }
.se-photos figcaption { margin-top: auto; padding: 10px 14px 12px; font: 13px/1.5 var(--mono-font); color: var(--text-muted); border-top: 1px solid var(--line); }
.se-label { display: inline-block; margin-right: 6px; padding: 1px 6px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #0a0a0f; background: var(--magenta); }
.se-post-links { display: flex; gap: 22px; margin: 26px 0 0; font: 12px var(--mono-font); letter-spacing: 1px; }
.se-post-earlier { border-top: 1px dashed var(--magenta); margin-top: 40px; }
.se-post:target h2 { text-shadow: 3px 1px var(--magenta), -3px -1px var(--cyan); }

@media (max-width: 860px) {
    .se-profile { grid-template-columns: 160px minmax(0, 1fr); gap: 34px; }
    .se-avatar { width: 160px; }
    .se-jump ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .se-page .container { padding: 0 16px; }
    .se-main { margin-top: 24px; }
    .se-profile { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
    .se-avatar { width: 160px; }
    .se-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .se-frame-text { padding: 14px; background:
        radial-gradient(circle at calc(100% - 34px) 30px, transparent 11px, var(--cyan) 11px 12px, transparent 12px),
        radial-gradient(circle at calc(100% - 29px) 30px, transparent 11px, var(--magenta) 11px 12px, transparent 12px),
        #111318; }
    .se-word { font-size: clamp(22px, 7vw, 34px); }
    .se-tile-title { font-size: 17px; margin-top: 12px; }
    .se-frame::before { transform: translate(-3px, -3px); }
    .se-frame::after { transform: translate(3px, 3px); }
    .se-jump ol { grid-template-columns: minmax(0, 1fr); }
    .se-photos { grid-template-columns: minmax(0, 1fr); }
    .se-post { padding-top: 46px; }
    .se-copy p { font-size: 17px; }
}
@media (max-width: 380px) {
    .se-grid { grid-template-columns: minmax(0, 1fr); }
}
