:root {
  --ink: #193f92;
  --type: #24232b;
  --hand: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --grain: url("assets/grain.png");
  color: var(--type);
  font-family: "DM Sans", "Aptos", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--grain),radial-gradient(ellipse at 56% 22%,#fbf5e7,#f3ead6 76%); overflow-x: clip }
h1,h2,h3,h4,p,ul,figure { margin: 0 }
h1,h2,h3,h4 { line-height: 1.1 }
a { color: inherit; text-underline-offset: .18em }
a:hover { text-decoration: underline }
a:focus-visible { outline: 3px solid #0759bf; outline-offset: 4px }
section { scroll-margin-top: 24px }
.skip { position: fixed; top: -5rem; left: 1rem; background: white; padding: 12px; z-index: 20 }
.skip:focus { top: 1rem }
.desk { isolation: isolate; position: relative; width: min(990px,92%); margin: 0 auto; padding: 0 26px 24px }
.folder { position: absolute; inset: 190px 12px 55px 17px; z-index: -2; transform: rotate(-1.3deg); background: var(--grain),linear-gradient(105deg,#deb95e,#f6e0a0 27%,#f0d68a 88%,#d6b76a); box-shadow: inset 0 0 5px #ae9759,3px 5px 9px #483c3140; border-radius: 3px 11px 18px 4px }
.folder::after { content: ""; position: absolute; right: -12px; bottom: 25px; height: 56%; width: 18px; border-radius: 0 14px 14px 0; background: #e6cc83; box-shadow: 2px 2px 3px #433b3333 }
.mast { height: 165px; display: flex; justify-content: flex-end; align-items: flex-start; padding: 35px 1% 0 0 }
.mast span { display: block; padding: .08em .48em .16em; font: 700 clamp(50px,6.5vw,82px)/1.08 "Arial",sans-serif; letter-spacing: -.065em; color: #fffef3; transform: rotate(-1deg); background: var(--grain),linear-gradient(110deg,#064998,#0071b3 65%,#005498); box-shadow: 2px 6px 5px -2px #51453555,inset 1px 1px 2px #c3daed }
.intro { position: relative; display: grid; grid-template-columns: 34.5% 65.5%; align-items: end; margin: 0 2.4% 15px .5%; min-height: 390px }
.identity { position: relative; align-self: stretch; z-index: 3 }
.sleeve { position: absolute; width: 92%; left: 2%; top: -74px; transform: rotate(-5.2deg); border: 3px solid #d6d2c990; box-shadow: inset -3px -2px 4px #8e898263,inset 4px 3px 6px white,6px 8px 9px #302b3840,1px 2px 2px #5f565755; background: linear-gradient(118deg,#ffffffbf,#e4e0e4d6 53%,#bbb6c299); border-radius: 15px; padding: 55px 13px 15px }
.slot { position: absolute; top: 20px; left: 40%; width: 24%; height: 13px; background: #e7dfcb; border-radius: 12px; border: 2px solid #bcb6b0; box-shadow: inset 1px 2px 3px #6f685a77,1px 2px 2px white }
.id-card { padding: 4px 14px 13px; text-align: center; background: var(--grain),linear-gradient(115deg,#fffefb,#f0edf0 78%,#d6d2d9); border-radius: 5px; box-shadow: 1px 2px 4px #81767a55 }
.monogram { font: 1000 28px/1.7 Georgia,serif; color: var(--ink); letter-spacing: -3px; text-shadow: 1px 1px #8192b5 }
.id-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.01; object-fit: cover }
figcaption { border-top: 1px solid #969098; margin: 12px 4px 0; padding-top: 7px; font-size: 15px; font-weight: 700; color: var(--ink) }
figcaption span { display: block; font-weight: 400; font-size: 12px; color: #555 }
.lanyard { position: absolute; pointer-events: none; top: -169px; left: -19%; width: 111%; height: 151px; z-index: 2; filter: drop-shadow(1px 3px 2px #35281b42) }
.loop { position: absolute; top: -103px; left: 0; width: 122px; height: 192px; border: 29px solid #0751a1; border-right-color: #2588d5; border-left-color: #2377bf; border-radius: 49%; transform: rotate(32deg); box-shadow: inset 3px -2px 4px #002a69,inset -2px 0 2px #cde5f6 }
.strap { position: absolute; top: -66px; left: 53%; height: 118px; width: 43px; transform: rotate(-15deg); background: repeating-linear-gradient(0deg,transparent 0 1px,#0002 2px 3px),linear-gradient(90deg,#003a7f,#1682d2 30%,#1066af 78%,#003b71); border: 1px solid #0e5094; border-radius: 0 0 5px 5px }
.buckle { position: absolute; left: 53%; top: 36px; width: 53px; height: 28px; border: 5px solid #dad8d7; border-radius: 9px; transform: rotate(-15deg); box-shadow: inset 1px 2px 3px #383438,1px 2px 2px #2c2c2c,-1px -1px 1px white }
.clasp { position: absolute; top: 57px; left: 58%; width: 33px; height: 66px; border: 6px solid #bbb8b5; border-left-width: 10px; border-radius: 25% 37% 48% 42%; transform: rotate(-14deg); box-shadow: inset 2px 0 2px #343334,inset -2px 1px white,2px 2px 2px #534b4c,-1px -1px 1px #fff }
.clasp::before { content: ""; position: absolute; top: -9px; left: -8px; width: 16px; height: 26px; border-radius: 5px 4px 8px 2px; background: radial-gradient(circle at 50% 40%,#444 1px,#d2d1cf 3px,transparent 4px),linear-gradient(100deg,#777,#fdfcfc 30%,#aaa 70%,#e6e3e2) }
.contact { position: absolute; left: 0; right: 7%; bottom: -1px; padding: 10px 15px; transform: rotate(-1.5deg); background: var(--grain),linear-gradient(170deg,#ffe87f,#fff0aa 53%,#e4c969); box-shadow: 2px 4px 5px #312b344d }
.contact::before,.note::after { content: ""; position: absolute; width: 64px; height: 22px; background: repeating-linear-gradient(90deg,#fff5cd66 0 2px,#deca9e44 3px 4px); border-inline: 1px dashed #e8dabc; transform: rotate(-33deg); top: -3px; left: -20px }
.contact h2 { font-size: 21px; color: var(--ink); margin: 0 0 5px }
.contact a,.contact p { display: flex; gap: 9px; justify-content: space-between; align-items: center; border-top: 1px solid #98864c77; min-height: 26px; font-size: 14px; font-weight: 600; text-decoration: none }
.contact a:hover span { text-decoration: underline }
.li-icon { font: bold 12px/15px Arial; text-align: center; border: 1px solid; width: 16px; border-radius: 2px }
.pin { width: 12px; height: 12px; border: 1.4px solid; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin-left: 2px }
.note-wrap { position: relative; margin-bottom: 1px }
.note-wrap::before,.note-wrap::after { content: ""; position: absolute; inset: -18px 7px 8px -55px; z-index: -1; border: 1px solid #d4cdbf; border-radius: 3px; background: var(--grain),linear-gradient(145deg,#fff,#eae6e8); transform: rotate(-3deg); box-shadow: 1px 2px 5px #352c3333 }
.note-wrap::after { inset: -8px -9px -4px -48px; transform: rotate(.7deg); z-index: -2 }
.note { position: relative; padding: 56px 66px 32px 42px; background: var(--grain),linear-gradient(125deg,#fcfbff,#f2eef7 70%,#e9e6f0); transform: rotate(-1.7deg); box-shadow: 2px 4px 5px #463b443b; border: 1px solid #d9d6dd; border-top: 0; margin-left: -22px }
.perforation { position: absolute; inset: 0 0 auto; height: 24px; background: radial-gradient(circle at 11px 11px,#edd594 0 5px,#c6b080 5.5px,transparent 6.5px) 0 0 / 28px 22px repeat-x }
.perforation::after { content: ""; display: block; height: 10px; background: repeating-linear-gradient(90deg,transparent 0 9px,#e7cf93 9px 13px,transparent 13px 28px) }
.note::after { left: auto; right: -13px; top: 45px; transform: rotate(4deg); width: 42px; height: 37px; background-color: #f8d85966 }
.name-line { display: flex; align-items: center; gap: 12px; color: var(--ink); margin-bottom: 16px }
.hello { flex: none; width: 47px; border: 1.5px solid #627090; border-radius: 5px; text-align: center; transform: rotate(-4deg) }
.hello i { display: block; font: italic 17px/1.08 var(--hand); color: #586580 }
.hello b { display: block; font: 700 8px/1.5 Arial; letter-spacing: 1px; border-top: 1px solid }
h1 { font-size: clamp(36px,5vw,64px); letter-spacing: -.065em; line-height: 1; color: var(--ink); font-weight: 700 }
.note p { font-size: 16px; line-height: 1.47; margin-bottom: 10px }
.signoff { display: flex; gap: 23px; align-items: center; padding: 8px 0 0 }
.signoff a { display: inline-block; padding: 10px 15px; background: var(--grain),linear-gradient(155deg,#fff09b,#ffe374); color: #315345; box-shadow: 1px 4px 3px #50432e36; transform: rotate(-1.7deg); font: italic 600 18px/1.3 var(--hand); text-decoration: none }
.signoff a:hover { transform: rotate(-.5deg); text-decoration: underline }
.rosette { border: 3px solid #fff9e3; border-radius: 50%; flex: 0 0 49px; height: 49px; display: grid; place-content: center; color: #466848; font-size: 32px; background: conic-gradient(from -15deg,#a7dff6,#f8ecc7,#c3b7eb,#b5e1ce,#faf6bd,#acdbf4); transform: rotate(14deg); box-shadow: 2px 3px 3px #52493650 }
.tabs { position: absolute; right: -38px; top: 40%; display: grid; gap: 8px; transform: rotate(-1deg) }
.tabs a { padding: 4px 8px; min-width: 85px; text-align: center; color: #273440; background: var(--grain),linear-gradient(95deg,#73a8df,#93c2ed); box-shadow: 1px 2px 3px #433b3840; font: italic 14px/1.45 var(--hand); text-decoration: none }
.tabs a:nth-child(2) { background-color: #f4a85c; background-image: var(--grain) }
.tabs a:nth-child(3) { background-color: #ffe878; background-image: var(--grain) }
.tabs a:nth-child(4) { background-color: #b7dec2; background-image: var(--grain) }
.tabs a:nth-child(5) { background-color: #eccbdc; background-image: var(--grain) }
.tabs a:hover { transform: translateX(3px); text-decoration: underline }
.ribbon { display: flex; align-items: center; justify-content: space-evenly; gap: 10px; position: relative; padding: 9px 18px 11px; margin: 17px -5px 23px -12px; background: var(--grain),linear-gradient(100deg,#193875,#224a9b 42%,#14377f); color: white; font-weight: 600; font-size: clamp(15px,2.2vw,24px); line-height: 1.1; letter-spacing: -.035em; transform: rotate(-1.2deg); clip-path: polygon(1% 0,100% 0,99.8% 100%,0 100%) }
.ribbon i { font-style: normal; font-weight: 400; color: #fff8d9 }
.board { position: relative; display: grid; grid-template-columns: 50% 50%; background: var(--grain),linear-gradient(110deg,#fcfbfa,#eceaf1); border: 10px solid #232323; border-radius: 15px; margin: 0 0 36px 12px; transform: rotate(-.55deg); box-shadow: inset 2px 1px 3px #aaa,1px 2px 2px #595653,4px 7px 6px #473a3259 }
.left-sheet { padding: 34px 20px 30px clamp(30px,5vw,66px) }
.board h2,.credentials h2 { color: var(--ink); font-size: 29px; letter-spacing: -.045em }
mark { color: inherit; background: linear-gradient(178deg,#fae724,#ffeb55); padding: 0 7px 2px; box-decoration-break: clone }
.left-sheet section + section { margin-top: 32px }
.study { display: flex; gap: 14px; align-items: baseline; margin-top: 20px }
.year,.work-sheet small,.credentials time { flex: none; font: 600 13px/1.4 "Courier New",monospace; color: #1e5878 }
.year { border-bottom: 2px solid #ddc457 }
.board h3,.credentials h3 { font-size: 18px; letter-spacing: -.025em; line-height: 1.2 }
.board p,.credentials p { font-size: 16px; line-height: 1.4; margin-top: 3px }
.stickers,.software,.credentials ul { list-style: none; padding: 0 }
.stickers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 9px; margin-top: 17px; }
.stickers li { font-weight: 700; padding: 8px 11px; transform: rotate(-3deg); background: #ffdf5e; box-shadow: 1px 3px 3px #423d333b; letter-spacing: -.035em }
.stickers li:nth-child(2) { border-radius: 50%; background: #cb4c3f; color: white; transform: rotate(3deg) }
.stickers li:nth-child(3) { background: #b0d8ad; transform: rotate(2deg); border-radius: 6px 14px 4px 7px }
.stickers li:nth-child(4) { background: #fdfcf7; transform: rotate(-2deg); border-bottom-right-radius: 10px }
.stickers li:nth-child(5) { background: #b5d8f0; border-radius: 2px 6px 8px 3px }
.software { display: flex; justify-content: space-between; gap: 8px; margin-top: 20px; max-width: 320px }
.software li { text-align: center; font-size: 12px }
.software b { margin: 0 auto 6px; width: 41px; height: 45px; display: grid; place-items: center; background: linear-gradient(135deg,#fdfdfd,#edeaec 76%,#dedde1); clip-path: polygon(0 0,73% 0,100% 23%,100% 100%,0 100%); font: bold 26px/1 Arial; letter-spacing: -2px; color: #2b8254 }
.software li:nth-child(2) b { color: #996710 }.software li:nth-child(3) b { color: #197da7 }.software li:nth-child(4) b { color: #7452a3 }
.languages p { margin-top: 15px }
.clip { position: absolute; top: 23%; left: -20px; width: 43px; height: 177px; border: 3px solid #4b4640; border-radius: 6px; z-index: 2; background: linear-gradient(90deg,#473b33,#dac9b8 7%,#fff2d5 16%,#a99889 27%,#e2d3bf 62%,#897b72 82%,#48413c); box-shadow: inset 1px 0 1px #fff9da,3px 3px 4px #3b302c55 }
.clip::before,.clip::after { content: ""; position: absolute; left: 1px; right: -5px; height: 12px; background: linear-gradient(90deg,#191817,#807b72 24%,#2c2828 72%,#151518); border-radius: 3px }
.clip::after { bottom: 0 }
.clip i { position: absolute; top: 40%; left: -22px; width: 27px; height: 35px; border: 4px solid #afa397; border-radius: 50% 20% 30% 50%; box-shadow: inset 1px 1px #382e25,1px 1px 2px #40382e }
.work-sheet { position: relative; margin: 22px 3px -22px 3px; padding: 25px 19px 32px; transform: rotate(1.3deg); background: var(--grain),linear-gradient(120deg,#fffefd,#faf9fc 91%,#e0dce2); box-shadow: -2px 1px 3px #5f565c21,2px 4px 5px #302e3040 }
.paperclip { position: absolute; top: -10px; right: 16%; width: 21px; height: 48px; border: 3px solid #5c9249; border-radius: 12px 13px 8px 10px; transform: rotate(-30deg); box-shadow: 1px 1px 1px #677b5f }
.paperclip::after { content: ""; position: absolute; inset: 4px 3px 7px; border: 2px solid #65964c; border-radius: 7px }
.work-sheet h2 { margin: 0 0 16px }
.work-sheet article { padding: 9px 12px; margin-top: 8px; background: var(--grain),#fff1a8; box-shadow: 1px 2px 2px #3b333520 }
.work-sheet article:nth-of-type(2) { background-color: #fac7da }.work-sheet article:nth-of-type(3) { background-color: #bce6eb }.work-sheet article:nth-of-type(4) { background-color: #f4f0e7 }
.work-sheet h3 { color: #203c77 }.work-sheet small { display: inline-block; margin: 3px 0 }
.work-sheet h4 { font-size: 14px; font-weight: 600; line-height: 1.3 }
.work-sheet article p { font-size: 15px; line-height: 1.4 }
.credentials { margin: 38px 6px 0 28px; padding: 25px 30px 21px; background: var(--grain),#f9f7f1; transform: rotate(-.55deg); box-shadow: 1px 3px 5px #35303440 }
.credentials ul { margin-top: 17px }
.credentials li { display: grid; grid-template-columns: 80px 1fr auto; align-items: baseline; gap: 14px; padding: 13px 0; border-top: 1px solid #d9d4ca }
.credentials a,footer a { color: var(--ink); font-size: 14px }
.experience li { grid-template-columns: 10rem 1fr }
.experience .year { justify-self: start }
.credentials .course { font-size: 14px; border-top: 1px solid #d9d4ca; padding-top: 13px }
footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 33px 20px 0 30px; color: var(--ink) }
@media (min-width: 761px) and (max-width: 980px) {
  .desk { width: 94%; padding-inline: 15px }.intro { grid-template-columns: 34% 66% }
  .note { padding-left: 33px; padding-right: 55px }.sleeve { top: -48px }.contact { bottom: 0; right: 4%; padding-inline: 10px }
  .lanyard { top: -143px }.strap { height: 143px; top: -91px }.hello { display: none }.tabs { right: -25px }
}
@media (max-width: 760px) {
  .desk { width: min(100%,580px); padding: 0 20px 22px }.folder { inset: 120px 12px 54px 12px }
  .mast { height: 88px; padding: 20px 0 0; position: relative; z-index: 4 }.mast span { font-size: clamp(37px,8vw,56px); align-self: flex-start }
  .intro { display: flex; flex-direction: column; align-items: stretch; margin: 0; gap: 18px }
  .identity { min-height: 205px; display: flex; align-items: flex-end; justify-content: flex-end; margin-top: -21px }
  .sleeve { width: 45%; max-width: 207px; top: -32px; left: 1%; padding: 28px 7px 8px; border-width: 2px; border-radius: 9px }
  .slot { height: 8px; top: 10px }.id-card { padding: 0 8px 7px }.monogram { font-size: 19px; line-height: 1.45 }
  figcaption { margin-top: 5px; padding-top: 3px; font-size: 13px }figcaption span { font-size: 11px }
  .lanyard { top: -98px; left: -10px; width: 42%; transform: scale(.70); transform-origin: 50% 95% }
  .contact { position: relative; right: auto; bottom: auto; width: 48%; align-self: center; margin-top: 30px; padding: 8px 9px; transform: rotate(2deg) }
  .contact a,.contact p { justify-content: start; font-size: 13px; gap: 7px; padding-block: 4px }.pin,.li-icon { flex-shrink: 0 }
  .note-wrap { margin: 8px 4px 0 }.note { margin: 0; padding: 37px 19px 22px; transform: rotate(-1deg) }
  .note-wrap::before { inset: -7px 2px 3px -5px }.note-wrap::after { inset: -5px -3px -3px 0 }
  .name-line { gap: 10px; margin-bottom: 14px }h1 { font-size: clamp(36px,8.5vw,52px) }
  .note p { font-size: 16px }.note::after { width: 30px; top: 28px; right: -7px; height: 24px }
  .tabs { position: relative; top: auto; right: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; margin: -1px 5px 0 0 }
  .tabs a { min-width: 0; padding: 5px 9px }.signoff { gap: 14px }.signoff a { font-size: 16px }.rosette { flex-basis: 41px; height: 41px; font-size: 27px }
  .ribbon { margin: 16px -5px; gap: 4px; padding: 9px 8px; font-size: clamp(12px,3vw,16px) }
  .board { display: block; margin: 0 2px 27px 5px; border-width: 7px }.left-sheet { padding: 25px 21px 13px 30px }
  .left-sheet section + section { margin-top: 23px }.study { margin-top: 15px; gap: 10px }
  .clip { top: 65px; left: -15px; width: 24px; height: 100px }.clip i { left: -12px; width: 15px; height: 23px }
  .work-sheet { margin: 12px 3px -14px 9px; padding: 21px 13px }
  .credentials { margin: 30px 1px 0 5px; padding: 21px 17px }.credentials li { grid-template-columns: 1fr auto; gap: 5px 12px }.credentials li div { grid-column: 1/-1; grid-row: auto }
  .credentials li a { grid-column: 2; grid-row: 1 }.credentials li { position: relative }.credentials h3 { font-size: 17px }
  footer { padding: 26px 3px 0 8px }
}
@media (min-width: 480px) and (max-width: 760px) { .identity { min-height: 251px } }
@media (max-width: 355px) { .desk { padding-inline: 14px }.hello { display: none }.signoff { gap: 8px }.contact { width: 49% }.contact a,.contact p { font-size: 12px } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto } }
