@font-face {
    font-family: 'Fraunces';
    src: url('fonts/fraunces-latin.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-latin.woff2') format('woff2');
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #2a2521;
    --ink-2: #6f6459;
    --blue-deep: #1f4e79;
    --blue: #2a5d8c;
    --blue-dot: #8fb8d8;
    --hairline: #c6dcec;
}

* { box-sizing: border-box; }
html { margin: 0; }
body {
    margin: 0;
    background: #eff5fa;
    color: var(--ink);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    padding: 28px 16px 48px;
}

.card {
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(31, 78, 121, 0.10), 0 8px 28px rgba(31, 78, 121, 0.08);
}

h1, h2, h3 {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    letter-spacing: -0.01em;
    color: var(--ink);
}
h1.name { font-size: 2.1rem; margin: 0 0 0.5rem; }
h2 {
    color: var(--blue-deep);
    border-bottom: 2px solid var(--hairline);
    padding-bottom: 8px;
    font-size: 1.35rem;
    margin: 0 0 1rem;
}
h3 { font-size: 1.1rem; margin: 1.2rem 0 0.2rem; }
.sub { color: var(--ink-2); font-size: 0.92rem; margin: 0 0 0.6rem; }
p { margin: 0 0 0.9rem; }
a { color: var(--blue); }
section { margin-top: 2.2rem; }
.caption { color: var(--ink-2); font-size: 0.88rem; }
.caption.center { text-align: center; }
.fact-line { color: var(--ink-2); margin-top: -0.3rem; }

/* Facts list */
.facts { margin: 0.5rem 0 0; }
.fact { display: flex; gap: 10px; padding: 6px 0; }
.fact dt {
    flex: 0 0 150px;
    color: var(--blue);
    font-weight: 600;
}
.fact dt::before {
    content: "\25CF";
    font-size: 0.7em;
    margin-right: 8px;
    color: var(--blue-dot);
}
.fact dd { margin: 0; flex: 1 1 auto; }
@media (max-width: 600px) {
    .fact { flex-direction: column; gap: 0; }
    .fact dt { flex-basis: auto; }
}

/* Education rows */
.row-item { padding: 6px 0; }
.row-name { font-weight: 600; }
.row-detail { color: var(--ink-2); font-size: 0.94rem; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--blue-deep);
    color: #fff !important;
    border-radius: 999px;
    min-height: 44px;
    padding: 10px 22px;
    text-decoration: none !important;
    font-weight: 600;
}
.btn:focus-visible { outline: 3px solid var(--blue-dot); outline-offset: 3px; }
.resume-link { margin: 1.25rem 0 0; }

/* Hero + top band */
.hero-photo img {
    width: 100%;
    border-radius: 20px;
    display: block;
}
.hero-row { text-align: center; }
.hero-row .hero-photo { max-width: 150px; margin: 0 auto; }
.top-band {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.top-band section { margin-top: 0; }
@media (max-width: 900px) {
    .top-band { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-row .hero-photo { max-width: 190px; }
}

/* Photo strips */
.strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin: 0.6rem 0 1rem;
    -webkit-overflow-scrolling: touch;
}
.strip a { flex: 0 0 auto; scroll-snap-align: start; }
.strip img {
    display: block;
    border-radius: 16px;
    height: 360px;
    width: auto;
}
.strip.landscape img { height: 240px; }
@media (max-width: 700px) {
    .strip img { height: 300px; }
    .strip.landscape img { height: 200px; }
}

/* Deck pair side by side */
.deck-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.deck-col { min-width: 0; }
@media (max-width: 700px) {
    .deck-pair { grid-template-columns: 1fr; }
}
@media (min-width: 701px) {
    .deck-col > p.sub { min-height: 96px; }
}

/* Callout */
.callout {
    background: #e9f2f9;
    border-left: 3px solid #a9cde6;
    border-radius: 16px;
    padding: 14px 18px;
    margin: 0.4rem 0 1.2rem;
}

/* Reel video */
.reel-video { max-width: 300px; margin: 1rem auto 0.4rem; }
.reel-video video {
    width: 100%;
    border-radius: 16px;
    display: block;
    background: #000;
}

/* Flyers */
.flyer-row { display: flex; flex-direction: column; gap: 1.5rem; }
.flyer-row > p { min-width: 0; }
.flyer-col { width: 680px; max-width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.flyer-col img { width: 100%; height: auto; border-radius: 16px; display: block; margin-bottom: 0; }
@media (max-width: 700px) {
    .flyer-col { width: 100%; }
}

/* Closing */
.closing {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--blue-deep);
    margin-top: 2.5rem;
    line-height: 1.6;
}
.closing.small { font-size: 1rem; }
.contact-btns { display: flex; gap: 0.8rem; justify-content: center; margin-top: 0.9rem; flex-wrap: wrap; }
.contact-btns .btn { font-size: 1.05rem; padding: 0.5rem 1.4rem; }
.contact-btns .linkedin-btn { background: #0a66c2; }
.contact-btns .email-btn { background: var(--blue-deep); }
.contact-btns .linkedin-btn:hover { background: #084d94; }
.contact-btns .email-btn:hover { background: #163a5c; }

@media (max-width: 600px) {
    body { padding: 12px 8px 32px; }
    .card { padding: 22px 18px; }
    h1.name { font-size: 1.7rem; }
}
