/* Résumé page: binder sheets on the zebra-bead backdrop, red accents */
.archive.rs { background: #2b2722 url("assets/zebra-beadwork-background.webp") center / 420px auto repeat; }
.rs .sheet { overflow: hidden; }

.sec-title { font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 700; font-size: clamp(24px, 3vw, 38px); line-height: 1; text-transform: uppercase; }
.sec-title em { font-family: "Inter", sans-serif; font-stretch: normal; font-style: italic; font-weight: 500; text-transform: none; color: var(--red); letter-spacing: -.03em; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink2); padding-bottom: 12px; }

/* header */
.rs-name { margin-top: 14px; font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 700; font-size: clamp(16px, 1.8vw, 22px); text-transform: uppercase; letter-spacing: .02em; }
.rs-contact { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.rs-contact a { color: var(--ink2); }
.rs-contact a:hover { color: var(--red); }
.rs-intro { margin-top: 14px; max-width: 58ch; font-size: 15px; line-height: 1.6; color: #3d3832; }
.rs-photo { margin: 0; width: clamp(170px, 18vw, 230px); background: linear-gradient(160deg, #f4efe2, #e6ddc8); padding: 10px 10px 0; transform: rotate(3deg);
  box-shadow: 0 16px 30px rgba(40,30,20,.3); transition: transform .3s ease; }
.rs-photo:hover { transform: rotate(0) translateY(-4px); }
.rs-photo img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 703; object-fit: cover; }
.rs-photo figcaption { display: flex; justify-content: space-between; align-items: center; padding: 8px 2px 10px; font-size: 12px; letter-spacing: .04em; }
.rs-photo .suit { color: var(--red); font-size: 18px; line-height: 1; }

/* calls to action */
.rs-cta { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px;
  background: var(--ink2); color: #fff; padding: 20px 24px; }
.rs-cta-k { font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 700; font-size: clamp(16px, 1.8vw, 21px); text-transform: uppercase; line-height: 1.15; }
.rs-cta-k em { display: block; font-family: "Inter", sans-serif; font-stretch: normal; font-style: italic; font-weight: 500; text-transform: none; color: #f0a7ab; }
.rs-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.rs-btn { font: inherit; font-size: 14px; font-weight: 600; background: #fff; color: var(--ink2); border: 1.5px solid #fff; border-radius: 999px; padding: 11px 20px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.rs-btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.rs-btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.rs-btn:hover { transform: translateY(-2px); background: var(--red); border-color: var(--red); color: #fff; }
.rs-btn.primary:hover { background: #fff; color: var(--red); border-color: #fff; }
.rs-cta-end { margin-top: 40px; background: var(--red); }
.rs-cta-end .rs-cta-k em { color: #ffd9db; }
.rs-cta-end .rs-btn.primary { background: #fff; color: var(--red); border-color: #fff; }
.rs-cta-end .rs-btn.primary:hover, .rs-cta-end .rs-btn:hover { background: var(--ink2); color: #fff; border-color: var(--ink2); }
.rs-stats { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink2); border-bottom: 1px solid var(--rule); }
.rs-stats div { padding: 16px 14px 18px; border-right: 1px solid var(--rule); }
.rs-stats div:last-child { border-right: 0; }
.rs-stats dt { font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 700; font-size: clamp(28px, 3.6vw, 46px); line-height: 1; color: var(--red); }
.rs-stats dd { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: #4a4239; }

/* experience timeline */
.tl { list-style: none; padding: 0; margin-top: 26px; position: relative; }
.tl::before { content: ""; position: absolute; left: 170px; top: 6px; bottom: 6px; border-left: 2px dashed var(--red); }
.tl > li { display: grid; grid-template-columns: 150px 1fr; column-gap: 44px; position: relative; padding-bottom: 26px; }
.tl > li::before { content: ""; position: absolute; left: 164px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.tl-when { padding-top: 3px; line-height: 1.5; text-align: right; }
.tl-card { background: #fbfaf7; border: 1px solid var(--rule); padding: 16px 20px 18px; box-shadow: 0 6px 14px rgba(40,30,20,.08); transition: transform .2s, box-shadow .2s; }
.tl-card:hover { transform: translateX(4px); box-shadow: 0 10px 20px rgba(40,30,20,.14); }
.tl-org { font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.tl-org .mono { color: #6a6157; font-weight: 500; }
.tl-card h3 { margin-top: 4px; font-size: clamp(18px, 1.9vw, 23px); font-weight: 700; letter-spacing: -.01em; }
.tl-sub { margin-top: 4px; color: #6a6157; text-transform: none; letter-spacing: .02em; font-size: 12px; }
.tl-card ul { margin: 10px 0 0 18px; font-size: 14.5px; line-height: 1.6; color: #2e2a25; }
.tl-card li + li { margin-top: 4px; }
.tl-card b { color: var(--red); }
.tl-link { display: inline-block; margin-top: 12px; color: var(--ink2); text-decoration: none; border-bottom: 1px solid var(--ink2); }
.tl-link:hover { color: var(--red); border-color: var(--red); }

/* education + skills */
.rs-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.edu { list-style: none; padding: 0; margin-top: 8px; }
.edu li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.edu-when { color: var(--red); }
.edu h3 { margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.edu p { margin-top: 3px; font-size: 14.5px; line-height: 1.5; }
.edu p.mono { color: #6a6157; }
.chips { list-style: none; padding: 0; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1.5px solid var(--ink2); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; }
.chips li:nth-child(3n+1) { background: var(--ink2); color: #fff; }
.rs-h3 { margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.certs { list-style: none; padding: 0; margin-top: 8px; }
.certs li { padding: 9px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.certs span { font-size: 12.5px; color: #6a6157; }
.langs { margin-top: 10px; display: grid; gap: 10px; }
.langs p { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; align-items: center; font-size: 14.5px; }
.bar { height: 6px; background: var(--rule); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; background: var(--red); }

/* accomplishments: vintage cards */
.awards { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.award { position: relative; background: linear-gradient(160deg, #f4efe2, #e6ddc8); padding: 12px 12px 38px; box-shadow: 0 14px 26px rgba(40,30,20,.25); transition: transform .3s ease; }
.award:nth-child(1) { transform: rotate(-2.5deg); } .award:nth-child(2) { transform: rotate(1.5deg); } .award:nth-child(3) { transform: rotate(-1deg); }
.award:hover { transform: rotate(0) translateY(-6px); }
.aw-head { display: flex; justify-content: space-between; font-size: 13px; }
.aw-square { margin-top: 12px; min-height: 220px; background: #120d0b; color: #efe8da; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end;
  background-image: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.07) 41%, transparent 43%), linear-gradient(20deg, transparent 70%, rgba(255,255,255,.05) 71%, transparent 72%); }
.aw-square h3 { font-family: "Archivo", sans-serif; font-stretch: 125%; font-weight: 700; font-size: 18px; line-height: 1.1; text-transform: uppercase; }
.aw-square p { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: #cfc6b6; }
.aw-suit { position: absolute; right: 10px; bottom: 6px; font-size: 28px; line-height: 1; color: #1d1a16; }
.aw-suit.red { color: var(--red); }

@media (max-width: 900px) {
  .rs-stats { grid-template-columns: 1fr 1fr; }
  .rs-stats div:nth-child(2) { border-right: 0; }
  .rs-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .rs-two, .awards { grid-template-columns: 1fr; }
  .tl::before { left: 6px; }
  .tl > li { grid-template-columns: 1fr; padding-left: 30px; }
  .tl > li::before { left: 0; }
  .tl-when { text-align: left; margin-bottom: 6px; }
  .arch-head { grid-template-columns: 1fr; }
  .rs-photo { justify-self: center; width: min(240px, 70%); order: -1; }
}
@media (max-width: 600px) { .rs .arch-title { font-size: clamp(36px, 13vw, 64px); } }

/* Save as PDF: a clean, paper version */
@media print {
  @page { size: letter; margin: 14mm; }
  body { background: #fff !important; }
  .topbar, .rings, .contact, footer, .rs-cta, .tl-link, .rs-intro { display: none !important; }
  .archive.rs { background: #fff !important; padding: 0 !important; }
  .rs .sheet { box-shadow: none !important; background: #fff !important; padding: 0 0 14px !important; max-width: none; break-inside: auto; }
  .rs .sheet + .rings + .sheet { margin-top: 8px; }
  .tl-card, .award { box-shadow: none !important; transform: none !important; break-inside: avoid; }
  .tl-card { border: 0; border-left: 2px solid var(--red); padding: 6px 12px; }
  .aw-square { min-height: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html { font-size: 12px; }
  .arch-head { grid-template-columns: 1fr auto; }
  .arch-head > .mono { display: none; }
  .rs .arch-title { font-size: 40px; }
  .rs-photo { width: 92px; transform: none; box-shadow: none; padding: 4px 4px 0; }
  .rs-photo figcaption { display: none; }
  .rs-stats { grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
  .rs-stats div { padding: 8px 10px; border-right: 1px solid var(--rule) !important; border-bottom: 0 !important; }
  .rs-stats dt { font-size: 24px; }
  .rs-stats dd { font-size: 10px; }
  .sec-title { font-size: 18px; }
  .sec-head { padding-bottom: 6px; break-after: avoid; }
  .tl { margin-top: 10px; }
  .tl::before { left: 6px; }
  .tl > li { grid-template-columns: 1fr; padding: 0 0 8px 22px; }
  .tl > li::before { left: 0; top: 2px; width: 12px; height: 12px; }
  .tl-when { text-align: left; font-size: 9px; padding: 0; }
  .tl-card h3 { font-size: 14px; }
  .tl-card ul, .edu p, .certs li, .langs p { font-size: 11px; line-height: 1.45; }
  .rs-two { grid-template-columns: 1fr 1fr; gap: 24px; }
  .edu li { padding: 7px 0; }
  .edu h3 { font-size: 14px; }
  .chips { margin-top: 8px; gap: 4px; }
  .chips li { font-size: 10px; padding: 3px 8px; }
  .rs-h3 { margin-top: 10px; }
  .awards { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
  .award { padding: 8px 8px 24px; }
  .aw-square { padding: 10px; }
  .aw-square h3 { font-size: 12px; }
  .aw-square p { font-size: 10px; }
}
/* the résumé lives in the home scroll */
#resume { scroll-margin-top: 0; }
.archive.rs ~ .contact { margin-top: 0; }
/* printing from the home scroll: only the résumé */
@media print {
  body.hello { background: #fff !important; }
  body.hello .hello-stage, body.hello .home-flow, body.hello script + .contact { display: none !important; }
  body.hello .archive.rs { margin: 0 !important; }
}

/* ---------- short résumé on the home page ---------- */
.rs-snap { padding-top: 70px; padding-bottom: 70px; }
.rs-snap .snap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.rs-snap .rs-photo { width: clamp(180px, 20vw, 250px); }
.rs-snap .arch-title { margin-top: 8px; }
.snap-roles { list-style: none; padding: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
.snap-roles li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.snap-roles b { font-size: 16px; }
.snap-roles span { font-size: 13px; color: #6a6157; }
@media (max-width: 760px) {
  .rs-snap .snap { grid-template-columns: 1fr; }
  .rs-snap .rs-photo { justify-self: center; width: min(220px, 64%); }
  .snap-roles li { flex-direction: column; }
}