/*
 * otr.css - On The Record page styles.
 * Self-contained and scoped to .otr so it never depends on (or collides with)
 * the utility classes in utd-tailwind.css. Loaded only on the
 * "On The Record" page template.
 */

body.otr-page { background: #111A2C; color: #F7F5F0; }

.otr { --navy: #111A2C; --panel: #1A2540; --band: #152036; --line: #2C3A5A; --plate: #F7F5F0; --red: #C62828; --red-text: #EF5A50; --muted: #A9B4C8; --soft: #D5DCE8;
	font-family: 'Inter', system-ui, sans-serif; color: var(--plate); line-height: 1.55; }
.otr *, .otr *::before, .otr *::after { box-sizing: border-box; }
.otr a { color: var(--red-text); }
.otr a:hover { color: var(--plate); }
.otr a:focus-visible, .otr button:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }

.otr-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.otr-section { padding-top: 64px; padding-bottom: 64px; }
.otr-band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.otr-rule-top { border-top: 1px solid var(--line); }

.otr-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.otr-kicker { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0; }
.otr-h2 { font-family: 'Barlow Condensed', 'Inter', sans-serif; font-weight: 800; font-size: clamp(34px, 2.2rem + 1vw, 46px); line-height: 1; text-transform: uppercase; margin: 0; color: var(--plate); }
.otr-lede { font-size: 16px; color: var(--muted); max-width: 680px; margin: 12px 0 0; }

/* Banner */
.otr-banner { padding-top: 32px; }
.otr-banner img { display: block; width: 100%; aspect-ratio: 1376 / 560; object-fit: cover; border-radius: 8px; }

/* Hero */
.otr-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.otr-hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.otr-hero-media { flex: 1 1 520px; min-width: 0; }
.otr-plate { align-self: flex-start; margin: 0; background: var(--plate); color: var(--navy); border: 4px solid var(--red); padding: 8px 28px 4px;
	font-family: 'Barlow Condensed', 'Inter', sans-serif; font-weight: 800; font-size: clamp(48px, 7vw, 92px); line-height: 1; text-transform: uppercase; }
.otr-intro { font-size: 20px; color: var(--soft); max-width: 560px; margin: 0; }
.otr-promise { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 15px; letter-spacing: .12em; color: var(--red-text); margin: 0; }
.otr-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.otr-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; }
.otr .otr-btn-red { background: var(--red); color: #fff; }
.otr .otr-btn-red:hover { background: #A71F1F; color: #fff; }
.otr .otr-btn-line { border: 1px solid var(--plate); color: var(--plate); }
.otr .otr-btn-line:hover { background: var(--plate); color: var(--navy); }

.otr-video { position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.otr-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.otr-video-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted); }
.otr .otr-video-empty a { font-weight: 600; }
.otr-caption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; color: var(--muted); }

/* Grids */
.otr-grid { display: grid; gap: 16px; margin-top: 28px; }
.otr-grid-steps { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.otr-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.otr-grid-guides { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.otr-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.otr-step-num { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; color: var(--red-text); }
.otr-step h3 { font-size: 20px; font-weight: 600; margin: 8px 0; color: var(--plate); }
.otr-step p { font-size: 16px; color: var(--muted); margin: 0; }

.otr-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.otr .otr-more { font-size: 15px; font-weight: 600; text-decoration: none; }

.otr .otr-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); color: var(--plate); text-decoration: none; transition: border-color .15s; }
.otr .otr-card:hover { border-color: var(--muted); color: var(--plate); }
.otr-card-tag { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red-text); }
.otr-card-tag.is-muted { color: var(--muted); }
.otr-card-title { font-family: 'Barlow Condensed', 'Inter', sans-serif; font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; }
.otr-card-name { font-size: 18px; font-weight: 600; }
.otr-card-desc { font-size: 14px; color: var(--muted); }
.otr .otr-card.is-outline { background: transparent; }

/* Invitation log */
.otr-table-box { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.otr-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.otr-table th { background: var(--panel); text-align: left; padding: 14px 18px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.otr-table td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.otr-table .otr-date { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; color: var(--muted); white-space: nowrap; }
.otr-status { display: inline-block; border: 1px solid currentColor; border-radius: 4px; padding: 3px 8px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.otr-status.is-interviewed { color: var(--plate); }
.otr-status.is-scheduled { color: var(--soft); }
.otr-status.is-awaiting { color: var(--muted); }
.otr-status.is-declined { color: var(--red-text); }
.otr-empty { margin-top: 24px; padding: 28px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }

/* Suggest (light section) */
.otr-suggest { background: var(--plate); color: var(--navy); border-top: 6px solid var(--red); }
.otr-suggest .otr-wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.otr-suggest-copy { flex: 1 1 360px; min-width: 0; }
.otr-suggest-copy .otr-h2 { color: var(--navy); font-size: clamp(36px, 2.4rem + 1vw, 50px); }
.otr-suggest-copy p { font-size: 17px; color: #2C3A5A; margin: 14px 0 0; }
.otr-suggest-form { flex: 1 1 480px; min-width: 0; color: var(--navy); }
.otr .otr-suggest a { color: #A71F1F; }
.otr .otr-suggest a.otr-btn-red { color: #fff; }

/* Page content area (optional editor text) */
.otr-content { max-width: 760px; font-size: 17px; color: var(--soft); }
.otr-content p { margin: 0 0 1em; }
.otr-content h2, .otr-content h3 { color: var(--plate); margin: 1.4em 0 .5em; }

.otr-credit { padding: 24px; text-align: center; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 640px) {
	.otr-section { padding-top: 48px; padding-bottom: 48px; }
	.otr-hero { padding-top: 32px; gap: 32px; }
	.otr-intro { font-size: 18px; }
}
