/* THIS WAS TOMORROW - Site Visit Archive
   90s utilitarian / modern twist */

:root {
    --bg: #f7f5f0;
    --text: #111;
    --muted: #666;
    --rule: #ccc;
    --link: #111;
    --hover: #555;
    --mono: 'Courier New', Courier, monospace;
    --serif: Georgia, 'Times New Roman', Times, serif;
    --max-w: 720px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    background: var(--bg);
    padding: 0;
}

a { color: var(--link); }
a:hover { color: var(--hover); }

img { max-width: 100%; height: auto; display: block; }

/* LAYOUT */

.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

/* SITE HEADER */

.site-header {
    padding: 48px 0 28px;
    border-bottom: 2px solid var(--text);
    margin-bottom: 56px;
}

.site-header h1 {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.site-header h1 a {
    text-decoration: none;
    color: var(--text);
}

.site-header .tagline {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

/* SITE INDEX (landing page) */

.site-index {
    margin-bottom: 80px;
}

.site-index .intro {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.9;
}

.site-list {
    list-style: none;
}

.site-list li {
    border-bottom: 1px solid var(--rule);
}

.site-list li:first-child {
    border-top: 1px solid var(--rule);
}

.site-list a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    text-decoration: none;
    font-family: var(--mono);
    font-size: 14px;
    transition: background 0.1s;
}

.site-list a:hover {
    background: rgba(0,0,0,0.03);
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

.site-list .name {
    font-weight: 700;
}

.site-list .location {
    font-weight: 400;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
    margin-left: 16px;
}

/* SINGLE SITE PAGE */

.site-page {
    margin-bottom: 80px;
}

.site-page .back {
    font-family: var(--mono);
    font-size: 12px;
    text-decoration: none;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 32px;
}

.site-page .back:hover { color: var(--text); }

.site-page h1 {
    font-family: var(--mono);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 0;
}

.site-page .location-line {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
}

.site-page h2 {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 56px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 8px;
}

.site-page p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.site-page ul, .site-page ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.site-page li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.site-page a {
    color: var(--text);
}

/* META */

.meta {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* DESCRIPTION */

article > p:first-of-type {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
}

/* HERO PHOTO */

.photo-hero {
    margin: 32px 0 12px;
}

.photo-hero img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
}

.photo-hero .photo-caption {
    padding: 8px 0 4px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    font-family: var(--mono);
    margin-bottom: 32px;
}

/* PHOTOS GRID */

.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 12px 0 56px;
}

.photo-item {
    display: flex;
    flex-direction: column;
}

.photo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 0;
}

.photo-caption {
    padding: 8px 0 4px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    font-family: var(--mono);
}

/* AUDIO */

.audio-section {
    margin: 0 0 28px 0;
    padding: 24px;
    border: 1px solid var(--rule);
    background: #fff;
}

.audio-title {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audio-duration {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 14px;
}

.audio-section audio {
    width: 100%;
    margin-top: 4px;
}

.audio-section iframe {
    width: 100%;
    border: none;
    margin-top: 4px;
}

/* VIDEOS */

.videos-section {
    margin: 48px 0;
}

.video-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--rule);
}

.video-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.video-item h3 {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-description {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-top: 16px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ARCHIVES */

.archives-section {
    margin: 48px 0;
}

.archive-item {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
}

.archive-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.archive-item h3 {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.archive-item h3 a {
    color: var(--link);
    text-decoration: none;
}

.archive-item h3 a:hover {
    color: var(--hover);
    text-decoration: underline;
}

.archive-note {
    font-size: 14px;
    color: var(--muted);
    margin: 10px 0;
    line-height: 1.7;
}

/* EXTERNAL LINKS */

.external-links {
    list-style: none;
    margin: 48px 0;
    padding: 0;
}

.external-links li {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
    line-height: 1.7;
}

.external-links li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.external-links a {
    color: var(--link);
    font-size: 15px;
}

.external-links a:hover {
    color: var(--hover);
}

.link-source {
    font-size: 12px;
    color: var(--muted);
    margin-left: 8px;
    font-family: var(--mono);
}

/* SOURCES */

.sources {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
}

.sources strong {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FOOTER */

.site-footer {
    border-top: 2px solid var(--text);
    padding: 40px 0 32px;
    margin-top: 80px;
    font-size: 13px;
}

.footer-contact {
    margin-bottom: 24px;
}

.footer-contact p {
    margin-bottom: 6px;
    line-height: 1.8;
}

.footer-ace {
    margin: 24px 0 12px;
}

.footer-ace img {
    height: 50px;
    width: auto;
}

.footer-credit {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    margin-top: 20px;
}

/* CONTENT BODY */

article h2 {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 56px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 8px;
}

article h3 {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 36px;
    margin-bottom: 14px;
    color: var(--muted);
}

article p {
    margin-bottom: 24px;
}

article img {
    margin-bottom: 40px;
}

article ul, article ol {
    margin-left: 20px;
    margin-bottom: 24px;
}

article li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.photo-item img {
    margin-bottom: 0;
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .wrap { padding: 0 20px; }
    .site-header h1 { font-size: 15px; }
    .site-page h1 { font-size: 18px; }
    .site-list a { flex-direction: column; gap: 2px; }
    .site-list .location { text-align: left; margin-left: 0; }
    .audio-section { padding: 16px; }
    .photos-grid { grid-template-columns: 1fr; }
}
.photo-hero {
    margin-bottom: 0;
}

.photo-hero .photo-caption {
    margin-bottom: 10px;
}
