:root { --ink: #101314; --paper: #f5f2e9; --accent: #ff6339; --blue: #3157ff; }
* { box-sizing: border-box; }
html { background: #101314; }
body { margin: 0; color: var(--ink); font-family: "Space Grotesk", system-ui, sans-serif; background: #101314; }
a { color: inherit; }
.resume-nav { max-width: 980px; margin: 0 auto; padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center; color: #f7f4eb; }
.resume-nav a { text-decoration: none; }
.resume-nav button { padding: .7rem 1rem; border: 1px solid #5e686a; border-radius: 999px; color: #fff; background: transparent; font: inherit; }
.resume-nav a:hover, .resume-nav button:hover { color: #80e7ff; border-color: #80e7ff; }
.resume-sheet { width: min(980px, calc(100% - 2rem)); margin: 0 auto 4rem; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 20px; background: var(--paper); box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
.resume-header { display: grid; grid-template-columns: 1.5fr 1fr; align-items: end; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 2px solid var(--ink); }
.overline { margin: 0 0 1rem; color: var(--blue); font-size: .73rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(4rem, 10vw, 7rem); line-height: .78; letter-spacing: -.08em; }
.contact-list { display: grid; gap: .45rem; justify-items: start; font-size: .9rem; }
.contact-list a { text-underline-offset: .2em; }
.resume-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(210px, .8fr); gap: clamp(2rem, 6vw, 5rem); padding-top: 2.5rem; }
article + article { margin-top: 2.5rem; }
h2 { margin: 0 0 1.2rem; color: var(--accent); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
h3 { margin: 0; font-size: 1.05rem; line-height: 1.25; }
p { margin: .5rem 0 0; color: #3e4445; line-height: 1.58; }
.entry + .entry { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(16, 19, 20, .16); }
.entry-heading { display: flex; justify-content: space-between; gap: 1rem; }
.entry-heading span { flex: none; color: #667071; font-size: .76rem; }
aside { padding-left: 2rem; border-left: 1px solid rgba(16, 19, 20, .18); }
aside p { font-size: .88rem; }
.skill-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.skill-list li { padding: .4rem .65rem; border: 1px solid rgba(16, 19, 20, .18); border-radius: 999px; font-size: .76rem; }
.resume-cursor { position: fixed; z-index: 100; left: 0; top: 0; width: 25px; height: 25px; border: 1.5px solid #70e4ff; border-radius: 7px; background: rgba(8, 10, 11, .18); opacity: 0; translate: -50% -50%; rotate: 45deg; pointer-events: none; transition: width .18s ease, height .18s ease, border-radius .18s ease, opacity .12s ease, rotate .18s ease; }
.resume-cursor::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--accent); }
.resume-cursor.visible { opacity: 1; }.resume-cursor.over-link { width: 35px; height: 35px; border-radius: 50%; rotate: 90deg; }.resume-cursor.down { width: 18px; height: 18px; rotate: 135deg; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
@media (max-width: 720px) { .resume-nav { padding-inline: 1rem; }.resume-header, .resume-grid { grid-template-columns: 1fr; }.contact-list { margin-top: 1rem; }.resume-grid { gap: 2.5rem; } aside { padding: 2rem 0 0; border-left: 0; border-top: 1px solid rgba(16, 19, 20, .18); }.entry-heading { display: block; }.entry-heading span { display: block; margin-top: .25rem; } }
@media print { @page { size: letter; margin: .4in; } html, body { background: #fff; } .resume-nav, .resume-cursor { display: none !important; } .resume-sheet { width: 100%; margin: 0; padding: .15in; border-radius: 0; box-shadow: none; } h1 { font-size: 62px; } .resume-grid { gap: .35in; } article + article { margin-top: .22in; } .entry + .entry { margin-top: .13in; padding-top: .13in; } }

/* Resume presentation */
.resume-sheet {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(49, 87, 255, .035), transparent 28%),
    var(--paper);
}
.resume-sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--blue) 0 58%, var(--accent) 58% 100%);
}
.resume-identity {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2rem);
}
.resume-photo {
  width: clamp(86px, 11vw, 118px);
  height: clamp(86px, 11vw, 118px);
  flex: none;
  border: 3px solid var(--paper);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(16, 19, 20, .22), 9px 9px 0 var(--blue);
  filter: grayscale(.2) contrast(1.04);
}
.resume-header h1 { font-size: clamp(3.6rem, 8vw, 6.2rem); }
.contact-list {
  padding: 1.15rem;
  border: 1px solid rgba(16, 19, 20, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .5);
}
.contact-list a { text-decoration-color: rgba(49, 87, 255, .35); }
.contact-list a:hover { color: var(--blue); }
.resume-focus {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(16, 19, 20, .18);
  color: #596061;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.resume-focus i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.resume-grid { padding-top: 2rem; }
.resume-grid h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.resume-grid h2::after { content: ""; flex: 1; height: 1px; background: rgba(255, 99, 57, .24); }
.entry { position: relative; padding-left: 2.45rem; }
.entry + .entry { margin-top: 1.25rem; padding-top: 1.25rem; }
.entry-index {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49, 87, 255, .28);
  border-radius: 8px;
  color: var(--blue);
  font-size: .6rem;
  font-weight: 700;
}
.entry + .entry .entry-index { top: 1.25rem; }
.entry-featured { padding-block: .2rem; }
.entry-logo { width: 72px; height: 22px; display: inline-block; margin-right: .32rem; object-fit: contain; vertical-align: middle; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.project-entry {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: .8rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(16, 19, 20, .12);
}
.project-entry:last-child { border-bottom: 0; }
.project-entry > span { color: var(--accent); font-size: .65rem; font-weight: 700; }
.section-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-title-row > span { color: #667071; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.credential-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.credential-card { min-width: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: .8rem; align-items: center; padding: .7rem; border: 1px solid rgba(16, 19, 20, .14); border-radius: 12px; background: rgba(255, 255, 255, .48); }
.credential-card + .credential-card { margin-top: 0; }
.credential-card img { width: 76px; height: 58px; display: block; border-radius: 7px; object-fit: cover; object-position: center; background: #fff; }
.credential-card span { color: var(--blue); font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.credential-card h3 { margin-top: .18rem; font-size: .88rem; }
.credential-card p { margin-top: .2rem; font-size: .72rem; line-height: 1.35; }
.credential-featured { grid-column: 1 / -1; grid-template-columns: 150px minmax(0, 1fr); border-color: rgba(49, 87, 255, .32); background: rgba(49, 87, 255, .055); }
.credential-featured img { width: 150px; height: 96px; }
aside article {
  padding: 1rem;
  border: 1px solid rgba(16, 19, 20, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .38);
}
aside article + article { margin-top: .8rem; }
aside h2 { margin-bottom: .9rem; }
.skill-list li { background: rgba(255, 255, 255, .65); }

@media (max-width: 720px) {
  .resume-identity { align-items: flex-start; }
  .resume-header h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .resume-focus { align-items: flex-start; flex-wrap: wrap; }
  .section-title-row { display: block; }
  .section-title-row > span { display: block; margin: -.75rem 0 1rem; }
  .credential-grid { grid-template-columns: 1fr; }
  .credential-featured { grid-column: auto; grid-template-columns: 92px minmax(0, 1fr); }
  .credential-featured img { width: 92px; height: 72px; }
}

@media print {
  .resume-sheet::before { height: 5px; }
  .resume-photo { width: 74px; height: 74px; border-radius: 16px; box-shadow: 5px 5px 0 var(--blue); }
  .resume-header h1 { font-size: 52px; }
  .contact-list, aside article { background: transparent; }
  .resume-focus { padding-block: .08in; }
  .resume-grid { padding-top: .16in; }
  .entry, .project-entry { break-inside: avoid; }
  .entry-logo { width: 60px; }
  .credential-grid { gap: .06in; }
  .credential-card { grid-template-columns: 52px minmax(0, 1fr); gap: .07in; padding: .06in; }
  .credential-card img, .credential-featured img { width: 52px; height: 40px; }
  .credential-card p { font-size: 7.5px; }
  .credential-card h3 { font-size: 9px; }
  .credential-card span { font-size: 6px; }
}
