:root {
 --bg: #0f1419;
 --surface: #1a2332;
 --text: #e8edf4;
 --muted: #8b9cb3;
 --accent: #3b82f6;
 --accent-hover: #2563eb;
 --border: #2a3548;
 --radius: 12px;
 --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
 box-sizing: border-box;
}

html {
 font-size: 16px;
 -webkit-text-size-adjust: 100%;
}

body {
 margin: 0;
 min-height: 100dvh;
 font-family: var(--font);
 background: var(--bg);
 color: var(--text);
 line-height: 1.5;
}

.page {
 max-width: 42rem;
 margin: 0 auto;
 padding: 2rem 1.25rem 3rem;
}

.hero {
 margin-bottom: 2rem;
}

.hero-image {
 width: 100%;
 max-height: 12rem;
 object-fit: cover;
 border-radius: var(--radius);
 margin-bottom: 1.5rem;
 border: 1px solid var(--border);
}

.eyebrow {
 font-size: 0.8125rem;
 font-weight: 600;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--accent);
 margin: 0 0 0.5rem;
}

h1 {
 font-size: clamp(1.75rem, 5vw, 2.25rem);
 font-weight: 700;
 line-height: 1.15;
 margin: 0 0 0.35rem;
}

.role {
 font-size: 1.0625rem;
 color: var(--muted);
 margin: 0 0 1rem;
}

.summary {
 font-size: 1rem;
 color: var(--text);
 margin: 0;
}

.actions {
 display: flex;
 flex-direction: column;
 gap: 0.75rem;
 margin: 2rem 0;
}

.btn {
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 0.5rem;
 padding: 0.875rem 1.25rem;
 border-radius: var(--radius);
 font-size: 1rem;
 font-weight: 600;
 text-decoration: none;
 transition: background 0.15s, border-color 0.15s;
}

.btn-primary {
 background: var(--accent);
 color: #fff;
 border: 1px solid var(--accent);
}

.btn-primary:hover,
.btn-primary:focus-visible {
 background: var(--accent-hover);
 border-color: var(--accent-hover);
}

.btn-secondary {
 background: var(--surface);
 color: var(--text);
 border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
 border-color: var(--accent);
}

.btn-split {
 padding: 0;
 overflow: hidden;
 gap: 0;
}

.btn-split-half {
 flex: 1 1 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 0.875rem 0.75rem;
 color: inherit;
 text-decoration: none;
 font-size: 1rem;
 font-weight: 600;
 min-width: 0;
 transition: background 0.15s;
}

.btn-split-half + .btn-split-half {
 border-left: 1px solid var(--border);
}

.btn-split-half:hover,
.btn-split-half:focus-visible {
 background: rgba(59, 130, 246, 0.12);
 outline: none;
}

.btn-split:focus-within {
 border-color: var(--accent);
}

.section {
 margin-top: 2.5rem;
 padding-top: 2rem;
 border-top: 1px solid var(--border);
}

.section h2 {
 font-size: 0.8125rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--muted);
 margin: 0 0 1rem;
}

.highlights {
 list-style: none;
 padding: 0;
 margin: 0;
 display: grid;
 gap: 0.75rem;
}

.highlights li {
 padding: 0.875rem 1rem;
 background: var(--surface);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 font-size: 0.9375rem;
}

.highlights strong {
 display: block;
 margin-bottom: 0.15rem;
 color: var(--text);
}

.highlights a {
 color: var(--accent);
 text-decoration: none;
}

.highlights a:hover,
.highlights a:focus-visible {
 text-decoration: underline;
}

.work-subhead {
 font-size: 0.75rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--muted);
 margin: 1.25rem 0 0.65rem;
}

.work-subhead:first-of-type {
 margin-top: 0;
}

.lede {
 color: var(--muted);
 margin: 0 0 1.5rem;
 font-size: 1.0625rem;
}

.meta {
 display: flex;
 flex-wrap: wrap;
 gap: 0.5rem 1rem;
 margin: 0 0 1.5rem;
 font-size: 0.875rem;
 color: var(--muted);
}

.meta strong {
 color: var(--text);
 font-weight: 600;
}

.career-line {
 margin: 0 0 1.25rem;
 padding: 0.85rem 1rem;
 background: var(--surface);
 border-left: 3px solid var(--accent);
 border-radius: 0 var(--radius) var(--radius) 0;
 font-size: 0.9375rem;
 color: var(--text);
}

.case-shot a {
 display: block;
 color: inherit;
 text-decoration: none;
}

.case-shot a:hover img,
.case-shot a:focus-visible img {
 border-color: var(--accent);
 outline: none;
}

.case-shot figcaption a {
 color: var(--accent);
 font-weight: 600;
 text-decoration: none;
}

.case-shot figcaption a:hover,
.case-shot figcaption a:focus-visible {
 text-decoration: underline;
}

.case-shot {
 margin: 0 0 1.5rem;
 padding: 0;
}

.case-shot img {
 display: block;
 width: 100%;
 height: auto;
 border-radius: var(--radius);
 border: 1px solid var(--border);
 background: var(--surface);
}

.case-shot figcaption {
 margin-top: 0.5rem;
 font-size: 0.8125rem;
 color: var(--muted);
}

.media-slot {
 margin: 0;
 padding: 1.25rem;
 background: var(--surface);
 border: 1px dashed var(--border);
 border-radius: var(--radius);
 color: var(--muted);
 font-size: 0.9rem;
}

.media-slot strong {
 display: block;
 color: var(--text);
 margin-bottom: 0.35rem;
}

.note {
 margin: 1.25rem 0 0;
 font-size: 0.8125rem;
 color: var(--muted);
}

.cta {
 display: inline-flex;
 align-items: center;
 font-weight: 600;
 color: var(--accent);
 text-decoration: none;
}

.cta:hover,
.cta:focus-visible {
 text-decoration: underline;
}

.case-grid {
 list-style: none;
 padding: 0;
 margin: 0;
 display: grid;
 gap: 0.75rem;
}

.case-card {
 display: block;
 padding: 0.95rem 1rem;
 background: var(--surface);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 text-decoration: none;
 color: inherit;
 transition: border-color 0.15s;
}

.case-card:hover,
.case-card:focus-visible {
 border-color: var(--accent);
 outline: none;
}

.case-card .tag {
 font-size: 0.75rem;
 font-weight: 600;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--accent);
 margin: 0 0 0.35rem;
}

.case-card h3 {
 margin: 0 0 0.3rem;
 font-size: 1.05rem;
}

.case-card p {
 margin: 0;
 font-size: 0.9rem;
 color: var(--muted);
}

.section-projects {
 margin-top: 2rem;
 padding-top: 1.5rem;
}

.section-projects h2 {
 font-size: 0.75rem;
 margin-bottom: 0.65rem;
}

.project-list {
 list-style: none;
 padding: 0;
 margin: 0;
 display: grid;
 gap: 0.35rem;
}

.project-link {
 display: flex;
 flex-wrap: wrap;
 align-items: baseline;
 gap: 0.35rem 0.75rem;
 padding: 0.5rem 0.65rem;
 border-radius: calc(var(--radius) - 4px);
 text-decoration: none;
 color: inherit;
 font-size: 0.8125rem;
 transition: background 0.15s;
}

.project-link:hover,
.project-link:focus-visible {
 background: var(--surface);
 outline: none;
}

.project-name {
 font-weight: 600;
 color: var(--text);
}

.project-desc {
 color: var(--muted);
}

.project-dropdown {
 margin-top: 0.75rem;
 border: 1px solid var(--border);
 border-radius: calc(var(--radius) - 4px);
 background: transparent;
}

.project-dropdown > summary {
 list-style: none;
 cursor: pointer;
 padding: 0.55rem 0.7rem;
 font-size: 0.8125rem;
 font-weight: 600;
 color: var(--text);
 user-select: none;
}

.project-dropdown > summary::-webkit-details-marker {
 display: none;
}

.project-dropdown > summary::before {
 content: "▸";
 display: inline-block;
 margin-right: 0.4rem;
 color: var(--muted);
 transition: transform 0.15s;
}

.project-dropdown[open] > summary::before {
 transform: rotate(90deg);
}

.project-dropdown-hint {
 font-weight: 500;
 color: var(--muted);
}

.project-dropdown .project-list {
 padding: 0 0.35rem 0.45rem;
}

.project-link.is-placeholder {
 cursor: default;
 opacity: 0.72;
 pointer-events: none;
}

.project-link.is-placeholder:hover,
.project-link.is-placeholder:focus-visible {
 background: transparent;
}

.back {
 display: inline-block;
 margin-bottom: 1.25rem;
 color: var(--accent);
 text-decoration: none;
 font-size: 0.9rem;
 font-weight: 600;
}

.back:hover {
 text-decoration: underline;
}

footer {
 margin-top: 3rem;
 font-size: 0.8125rem;
 color: var(--muted);
 text-align: center;
}

footer a {
 color: var(--accent);
}

@media (min-width: 480px) {
 .actions {
 flex-direction: row;
 flex-wrap: wrap;
 }

 .btn {
 flex: 1 1 calc(50% - 0.375rem);
 min-width: 9rem;
 }

 .btn-split {
 flex: 1 1 calc(50% - 0.375rem);
 min-width: 9rem;
 }
}
