/* LCCC — Interior page styles
   Loads after styles.css. Consumes the same tokens. */

/* ─── Page masthead ─────────────────────────────── */
.page-head {
    padding: 4.5rem 0 2.75rem;
    border-bottom: 1px solid var(--rule);
    background: var(--paper);
}
.page-head h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5.2vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    text-wrap: balance;
}
.page-head .standfirst {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--muted);
    max-width: 62ch;
    margin: 0;
}
.page-head .dateline {
    margin-bottom: 1.5rem;
}

/* ─── Generic interior section ──────────────────── */
.page-section { padding: 3.5rem 0; }
.page-section + .page-section { border-top: 1px solid var(--rule); }
.page-section h2 {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3vw, 2.05rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 0.6rem;
}
.page-section .lede {
    color: var(--muted);
    max-width: 66ch;
    line-height: 1.7;
    margin: 0 0 1.75rem;
}

/* ─── Notice bar ────────────────────────────────── */
.notice {
    border: 1px solid var(--rule-strong);
    border-left: 3px solid var(--amber);
    background: var(--amber-tint);
    padding: 1rem 1.15rem;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 2rem;
}
.notice strong { font-weight: 700; }

/* ─── Schedule ──────────────────────────────────── */
.stage { margin-bottom: 3rem; }
.stage-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 0.7rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 0;
}
.stage-head h3 {
    font-family: var(--serif);
    font-size: 1.35rem;
    margin: 0;
    letter-spacing: -0.01em;
}
.stage-head .window {
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--amber-dark);
    font-weight: 700;
}

.fixture {
    display: grid;
    grid-template-columns: 8.5rem 1fr 1fr;
    gap: 1.25rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}
.fixture .weekend {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.02em;
}
.fixture .day-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--quiet);
    display: block;
    margin-bottom: 0.2rem;
}
.fixture .pod-name {
    font-weight: 600;
    font-size: 0.98rem;
    display: block;
    line-height: 1.3;
}
.fixture .host {
    font-size: 0.86rem;
    color: var(--muted);
}

.finals-card {
    border: 2px solid var(--ink);
    background: var(--surface);
    padding: 1.75rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
}
.finals-card h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}
.finals-card p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; max-width: 52ch; }
.finals-card .when {
    font-family: var(--mono);
    text-align: right;
    font-size: 0.8rem;
    line-height: 1.7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--amber-dark);
    font-weight: 700;
    white-space: nowrap;
}

/* ─── Pods ──────────────────────────────────────── */
.pod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.pod-card {
    border: 1px solid var(--rule);
    background: var(--surface);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
}
.pod-card .pod-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--amber-dark);
    font-weight: 700;
    text-transform: uppercase;
}
.pod-card h3 {
    font-family: var(--serif);
    font-size: 1.18rem;
    margin: 0.35rem 0 0.15rem;
    letter-spacing: -0.01em;
}
.pod-card .host-line {
    font-size: 0.82rem;
    color: var(--muted);
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid var(--rule);
}
.pod-card .host-line strong { color: var(--ink); font-weight: 600; }
.pod-card ul { list-style: none; margin: 0; padding: 0; }
.pod-card li {
    font-size: 0.9rem;
    padding: 0.3rem 0;
    color: var(--ink-soft);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.pod-card li::before {
    content: "";
    width: 4px; height: 4px;
    background: var(--rule-strong);
    flex: none;
    transform: translateY(-2px);
}
.pod-card li.is-host { font-weight: 600; }
.pod-card li.is-host::before { background: var(--amber); }

/* Membership status highlighting */
.pod-card li.status-accepted,
.pod-card li.status-alum {
    margin: 0.12rem -0.5rem;
    padding: 0.28rem 0.5rem;
}
.pod-card li.status-accepted {
    background: var(--success-tint);
    box-shadow: inset 2px 0 0 var(--success);
    font-weight: 600;
}
.pod-card li.status-alum {
    background: var(--amber-tint);
    box-shadow: inset 2px 0 0 var(--amber);
}

/* Legend */
.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--rule);
    background: var(--surface);
    margin: 0 0 1.75rem;
}
.status-legend .item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--ink-soft);
}
.status-legend .swatch {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
    border: 1px solid var(--rule-strong);
}
.status-legend .swatch.accepted { background: var(--success-tint); box-shadow: inset 2px 0 0 var(--success); }
.status-legend .swatch.alum     { background: var(--amber-tint);  box-shadow: inset 2px 0 0 var(--amber); }
.status-legend .swatch.none     { background: var(--paper); }
.status-legend .item strong { font-weight: 600; color: var(--ink); }
.pod-card .count {
    margin-top: auto;
    padding-top: 0.9rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--quiet);
}

/* ─── Steps (advisors) ──────────────────────────── */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
.step {
    display: grid;
    grid-template-columns: 2.6rem 1fr;
    gap: 1.1rem;
    align-items: start;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid var(--rule);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step::before {
    counter-increment: step;
    content: counter(step);
    font-family: var(--mono);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--amber-dark);
    border: 1px solid var(--rule-strong);
    width: 2.4rem; height: 2.4rem;
    display: grid; place-items: center;
}
.step h3 { font-size: 1.02rem; margin: 0.35rem 0 0.3rem; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 0.94rem; line-height: 1.65; }

/* ─── Requirement / spec cards ──────────────────── */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.1rem;
}
.spec {
    border-top: 2px solid var(--ink);
    padding-top: 0.9rem;
}
.spec .label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--quiet);
    margin-bottom: 0.4rem;
}
.spec .value {
    font-family: var(--serif);
    font-size: 1.32rem;
    line-height: 1.2;
    margin-bottom: 0.45rem;
}
.spec .desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ─── Money split callout ───────────────────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid var(--ink);
    background: var(--surface);
    margin: 0 0 1.5rem;
}
.split > div { padding: 1.5rem; }
.split > div + div { border-left: 1px solid var(--rule); }
.split .amount {
    font-family: var(--serif);
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 0.4rem;
}
.split .who {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.split .note { font-size: 0.88rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ─── Rules list ────────────────────────────────── */
.rule-list { display: grid; gap: 1.5rem; }
.rule-item { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: start; }
.rule-item .rule-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--amber-dark);
    font-weight: 700;
    padding-top: 0.2rem;
}
.rule-item .rule-body { font-size: 0.96rem; line-height: 1.7; color: var(--ink-soft); }
.rule-item .rule-body p { margin: 0 0 0.6rem; }
.rule-item .rule-body p:last-child { margin-bottom: 0; }
.rule-item .rule-body ol,
.rule-item .rule-body ul { margin: 0.4rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.rule-item .rule-body li { margin-bottom: 0.3rem; }

/* ─── Standings placeholder ─────────────────────── */
.standings-empty {
    border: 1px dashed var(--rule-strong);
    background: var(--paper);
    padding: 3.25rem 1.75rem;
    text-align: center;
}
.standings-empty .mark {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-dark);
    font-weight: 700;
    margin-bottom: 0.9rem;
}
.standings-empty h3 {
    font-family: var(--serif);
    font-size: 1.55rem;
    margin: 0 0 0.7rem;
}
.standings-empty p {
    color: var(--muted);
    max-width: 48ch;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 0.96rem;
}

.pod-standings-preview { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.pod-standings-preview th {
    text-align: left;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--quiet);
    font-weight: 700;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--rule);
}
.pod-standings-preview td {
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid var(--rule);
    font-size: 0.92rem;
    color: var(--quiet);
    font-variant-numeric: tabular-nums;
}

/* ─── Inline CTA band ───────────────────────────── */
.cta-band {
    background: var(--board-dark);
    color: var(--ivory);
    padding: 2.75rem 0;
    margin-top: 0;
}
.cta-band h2 { font-family: var(--serif); font-size: 1.75rem; margin: 0 0 0.6rem; color: #fff; }
.cta-band p { color: #cfc7ba; margin: 0 0 1.4rem; max-width: 54ch; line-height: 1.65; }
.cta-band .btn-cta {
    display: inline-block;
    background: var(--amber);
    color: #fff;
    padding: 0.8rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--amber);
}
.cta-band .btn-cta:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

/* ─── Responsive ────────────────────────────────── */
@media (max-width: 760px) {
    .fixture { grid-template-columns: 1fr; gap: 0.65rem; }
    .fixture .weekend { color: var(--amber-dark); }
    .finals-card { grid-template-columns: 1fr; }
    .finals-card .when { text-align: left; }
    .split { grid-template-columns: 1fr; }
    .split > div + div { border-left: none; border-top: 1px solid var(--rule); }
    .rule-item { grid-template-columns: 1fr; gap: 0.5rem; }
    .page-head { padding: 3rem 0 2.25rem; }
}
