:root {
    --tm-bg: #080b0d;
    --tm-panel: #10171a;
    --tm-panel-2: #142024;
    --tm-text: #f3f7f5;
    --tm-muted: #8fa4a5;
    --tm-line: rgba(164, 204, 201, .18);
    --tm-teal: #00c2cb;
    --tm-teal-soft: rgba(0, 194, 203, .13);
    --tm-ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
.tm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tm-form-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
html { background: var(--tm-bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--tm-bg); color: var(--tm-text); font-family: 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
button, input, select { font: inherit; }
button, a, input, select { outline-color: var(--tm-teal); }

.tm-header { position: sticky; top: 0; z-index: 20; background: #080b0d; border-bottom: 1px solid var(--tm-line); }
.tm-header-inner { display: flex; align-items: center; gap: 28px; max-width: 1440px; margin: 0 auto; padding: 18px 32px; }
.tm-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 170px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.04em; font-size: 1.15rem; }
.tm-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--tm-teal); box-shadow: 0 0 24px rgba(0, 194, 203, .7); }
.tm-nav { display: flex; gap: 22px; color: var(--tm-muted); font-size: .84rem; font-weight: 600; }
.tm-nav a:hover, .tm-nav a:focus-visible { color: var(--tm-teal); }
.tm-header-search { margin-left: auto; display: flex; align-items: center; min-width: 250px; border: 1px solid var(--tm-line); background: var(--tm-panel); }
.tm-header-search input { width: 100%; border: 0; padding: 10px 12px; color: var(--tm-text); background: transparent; font-size: .82rem; }
.tm-header-search button { border: 0; border-left: 1px solid var(--tm-line); padding: 10px 13px; color: var(--tm-teal); background: transparent; cursor: pointer; }
.tm-main { max-width: 1440px; margin: 0 auto; padding: 32px; }
.tm-kicker { margin: 0 0 12px; color: var(--tm-teal); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.tm-title { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.2rem, 5vw, 5rem); line-height: .94; letter-spacing: -.07em; }
.tm-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 52px 0 18px; }
.tm-section-head h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; letter-spacing: -.05em; font-size: 1.55rem; }
.tm-link { color: var(--tm-teal); font-weight: 700; font-size: .82rem; }
.tm-wayfinding { display: grid; grid-template-columns: minmax(0, 1fr) 180px 180px auto; gap: 10px; margin: 22px 0 28px; }
.tm-field, .tm-search-button { min-height: 48px; border: 1px solid var(--tm-line); background: var(--tm-panel); color: var(--tm-text); padding: 0 14px; }
.tm-field::placeholder { color: #688080; }
.tm-search-button { color: var(--tm-bg); background: var(--tm-teal); border-color: var(--tm-teal); font-weight: 700; cursor: pointer; }
.tm-mosaic { display: grid; grid-template-columns: 1.35fr .85fr .85fr; grid-template-rows: 250px 250px; gap: 10px; }
.tm-tile { position: relative; overflow: hidden; min-height: 250px; border: 1px solid var(--tm-line); background: var(--tm-panel); }
.tm-tile.featured { grid-row: span 2; min-height: 510px; }
.tm-tile img { height: 100%; transition: transform 320ms var(--tm-ease), filter 320ms var(--tm-ease); }
.tm-tile:hover img, .tm-tile:focus-within img { transform: scale(1.04); filter: saturate(1.1); }
.tm-tile::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .84)); pointer-events: none; }
.tm-tile-copy { position: absolute; z-index: 1; right: 18px; bottom: 16px; left: 18px; }
.tm-tile-copy .tm-meta { margin: 0 0 7px; color: var(--tm-teal); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.tm-tile-copy h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1rem, 2vw, 1.65rem); line-height: 1.02; letter-spacing: -.04em; }
.tm-tile-copy p { margin: 8px 0 0; color: #c5d3d1; font-size: .82rem; }
.tm-list { display: grid; gap: 0; border-top: 1px solid var(--tm-line); }
.tm-list-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--tm-line); }
.tm-list-item img { height: 72px; }
.tm-list-item h3 { margin: 0 0 5px; font-family: 'Space Grotesk', sans-serif; font-size: 1.02rem; }
.tm-list-item p { margin: 0; color: var(--tm-muted); font-size: .82rem; }
.tm-date { color: var(--tm-teal); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.tm-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tm-card { border: 1px solid var(--tm-line); background: var(--tm-panel); }
.tm-card img { aspect-ratio: 1.5; }
.tm-card-copy { padding: 15px; }
.tm-card-copy h3 { margin: 0 0 7px; font-family: 'Space Grotesk', sans-serif; }
.tm-card-copy p { margin: 0; color: var(--tm-muted); font-size: .85rem; line-height: 1.5; }
.tm-prose { max-width: 780px; color: #c5d3d1; font-size: 1.05rem; line-height: 1.75; }
.tm-prose h1, .tm-prose h2, .tm-prose h3 { color: var(--tm-text); font-family: 'Space Grotesk', sans-serif; line-height: 1.05; }
.tm-footer { margin-top: 72px; border-top: 1px solid var(--tm-line); }
.tm-footer-inner { max-width: 1440px; margin: 0 auto; padding: 22px 32px 36px; color: var(--tm-muted); font-size: .8rem; display: flex; justify-content: space-between; gap: 20px; }
.tm-footer a:hover { color: var(--tm-teal); }
.tm-detail-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
.tm-detail-hero img { min-height: 420px; height: 100%; }
.tm-detail-copy { border-top: 1px solid var(--tm-teal); padding-top: 18px; }
.tm-detail-copy h1 { margin: 0 0 16px; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.4rem, 6vw, 5.8rem); line-height: .92; letter-spacing: -.08em; }
.tm-detail-copy p { color: var(--tm-muted); line-height: 1.6; }
.tm-empty { border: 1px dashed var(--tm-line); padding: 34px; color: var(--tm-muted); }

@media (max-width: 900px) {
    .tm-header-inner { flex-wrap: wrap; padding: 16px 20px; gap: 14px 20px; }
    .tm-header-search { order: 3; width: 100%; margin-left: 0; }
    .tm-main { padding: 26px 20px; }
    .tm-wayfinding { grid-template-columns: 1fr 1fr; }
    .tm-wayfinding .tm-field:first-child { grid-column: 1 / -1; }
    .tm-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
    .tm-tile.featured { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
    .tm-detail-hero { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .tm-nav { width: 100%; order: 2; gap: 14px; }
    .tm-mosaic, .tm-card-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .tm-tile, .tm-tile.featured { grid-column: auto; grid-row: auto; min-height: 270px; }
    .tm-wayfinding { grid-template-columns: 1fr; }
    .tm-wayfinding .tm-field:first-child { grid-column: auto; }
    .tm-list-item { grid-template-columns: 78px 1fr; }
    .tm-date { grid-column: 2; }
    .tm-footer-inner { flex-direction: column; padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; animation-duration: 1ms !important; }
}