/* Experience dashboard (operating-history.html) — supplement to portfolio-site.css.
   Canonical tokens: teal section-kickers, gold primary buttons (site standard). */

.page-shell {
width: min(1180px, calc(100% - 40px));
margin: 0 auto;
}

.hero .page-shell {
position: relative;
z-index: 2;
padding: 74px 0 44px;
}

.hero .lead {
margin-top: 22px;
max-width: 68ch;
color: rgba(255, 255, 255, 0.84);
font-size: clamp(1.12rem, 2.1vw, 1.38rem);
line-height: 1.5;
text-wrap: pretty;
}

.meta-row {
display: flex;
flex-wrap: wrap;
gap: 10px;
align-items: center;
margin-top: 26px;
}

.hero .pill {
border: 1px solid rgba(255, 255, 255, 0.26);
background: rgba(255, 255, 255, 0.10);
color: #ffffff;
}

.proof-type {
display: inline-flex;
margin-bottom: 12px;
padding: 4px 8px;
border-radius: 999px;
background: var(--accent-soft);
color: #225c6c;
font-family: var(--font-ui);
font-size: 0.75rem;
font-weight: 850;
letter-spacing: 0.04em;
text-transform: uppercase;
}

.card strong {
display: block;
margin-bottom: 8px;
color: var(--ink-soft);
}

#entries {
padding: 76px 0;
}

.metro-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 18px;
margin-top: 36px;
margin-bottom: 8px;
}

.tile {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 0;
padding: 24px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: linear-gradient(180deg, #ffffff 0%, var(--blue-25) 100%);
box-shadow: 0 1px 0 rgba(18, 24, 38, 0.04);
text-decoration: none;
transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.tile:hover {
transform: translateY(-3px);
box-shadow: 0 14px 30px rgba(18, 24, 38, 0.12);
border-color: var(--blue-150);
}

.tile:focus-visible {
outline: 3px solid var(--gold);
outline-offset: 2px;
}

.tile-kicker {
align-self: flex-start;
padding: 4px 9px;
border-radius: 999px;
font-family: var(--font-ui);
font-size: 0.72rem;
font-weight: 850;
letter-spacing: 0.06em;
text-transform: uppercase;
white-space: nowrap;
}

.tile-num {
display: block;
font-family: var(--font-display);
font-size: clamp(1.7rem, 2.6vw, 2.3rem);
font-weight: 850;
line-height: 1.04;
letter-spacing: 0;
}

.tile-lg .tile-num {
font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.tile-title {
display: block;
color: var(--muted);
font-size: 0.95rem;
font-weight: 600;
line-height: 1.5;
text-wrap: pretty;
}

.tile-cta {
display: block;
margin-top: auto;
padding-top: 6px;
color: #2f5595;
font-family: var(--font-ui);
font-size: 0.78rem;
font-weight: 850;
letter-spacing: 0.05em;
text-transform: uppercase;
}

.tile-lg,
.tile-wide {
grid-column: span 2;
}

/* Three equal tiles (e.g. featured case studies) */
.metro-grid.cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}

.t-blue .tile-num { color: var(--blue-700); }
.t-blue .tile-kicker { color: var(--blue-700); background: var(--blue-100); }
.t-teal .tile-num { color: #226476; }
.t-teal .tile-kicker { color: #225c6c; background: var(--accent-soft); }
.t-gold .tile-num { color: #8a6526; }
.t-gold .tile-kicker { color: #7b3f00; background: var(--gold-soft); }
.t-ink .tile-num { color: #122137; }
.t-ink .tile-kicker { color: #122137; background: var(--blue-50); }
.t-green .tile-num { color: #4d643f; }
.t-green .tile-kicker { color: #4d643f; background: var(--sage-soft); }

@media (max-width: 900px) {
.metro-grid,
.metro-grid.cols-3 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

@media (max-width: 640px) {
.page-shell {
width: min(100% - 28px, 1180px);
}

.hero .page-shell {
padding-top: calc(var(--nav-overlay-height, 156px) + 18px);
}

.metro-grid,
.metro-grid.cols-3 {
grid-template-columns: 1fr;
}

.tile-lg,
.tile-wide {
grid-column: span 1;
}
}
