/* Hallmark v2.0.0 | theme: custom | idea: Luke's world waiting to open on Christmas | vibe: white paper blue ice mountain wonder | genre: playful | hero: miniature landscape under a locked wordmark | nav: small monogram and two text links | footer: single quiet line | job: follow | surface: absolute | posture: restrained | signature: Luke changes scenes in a genie trail above the Wasatch */
/* Hallmark | pre-emit critique: P4 H5 E4 S5 R4 V4 | weakest: R, limited motion to one character and optional snow */
/* Hallmark · waive 7b · surface: absolute, dark ink on white · user requests pure white paper for Luke's Christmas page */
/* Hallmark · waive 47c · user-requested graph paper · faint grid connects Luke's coding sketches to the illustrated Utah world */
:root { --font-quote:Georgia,'Times New Roman',serif; --color-glint:#76a9d7; --color-paper:#fff; --color-ink:#23384b; --color-muted:#526576; --color-rule:#dce5ed; --color-grid:rgba(53,91,126,.055); --color-blue:#dcecfb; --color-accent:#244c74; --color-accent-ink:#fff; --color-focus:#1d669b; --color-hover:#eaf3fa; --color-trail:#c1def3; --color-shadow:rgba(35,56,75,.1); --font-body:'Avenir Next','Trebuchet MS',sans-serif; --font-display:'Avenir Next','Trebuchet MS',sans-serif; --space-xs:8px; --space-sm:12px; --space-md:16px; --space-lg:24px; --space-xl:40px; --space-2xl:64px; --space-3xl:96px; --space-4xl:144px; --ease-out:cubic-bezier(.16,1,.3,1); --ease-in:cubic-bezier(.7,0,.84,0); }
* { box-sizing:border-box; }
html,body { overflow-x:clip; }
html { scroll-behavior:smooth; scroll-padding-top:var(--space-xl); }
body { margin:0; color:var(--color-ink); background:var(--color-paper); font-family:var(--font-body); font-size:16px; line-height:1.6; font-synthesis:none; }
::selection { background:var(--color-blue); color:var(--color-ink); }
a { color:inherit; text-decoration:none; }
button { font:inherit; color:inherit; cursor:pointer; }
a,button,summary { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid var(--color-focus); outline-offset:5px; }
button:disabled { cursor:not-allowed; color:var(--color-muted); opacity:.6; }
a:active,button:active { transform:translateY(1px); }
button,nav a,.primary { white-space:nowrap; }
img { display:block; max-width:100%; height:auto; }
h1,h2,h3 { margin:0; font-family:var(--font-display); overflow-wrap:break-word; min-width:0; text-wrap:balance; }
p { text-wrap:pretty; }
.container { width:min(100% - 80px,1320px); margin-inline:auto; }
.paper { position:absolute; inset:0 0 auto; height:800px; pointer-events:none; z-index:-1; background-image:linear-gradient(var(--color-grid) 1px,transparent 1px),linear-gradient(90deg,var(--color-grid) 1px,transparent 1px); background-size:32px 32px; mask-image:linear-gradient(to bottom,transparent,black 15%,black 65%,transparent); }
.nav { height:88px; display:flex; justify-content:space-between; align-items:center; }
.small-logo { font-size:30px; font-weight:700; letter-spacing:-.08em; display:flex; align-items:center; gap:var(--space-xs); }
.logo-spark { font-size:22px; font-weight:400; color:var(--color-accent); }
nav { display:flex; gap:var(--space-xl); font-size:14px; }
nav a { display:flex; align-items:center; min-height:44px; }
nav a:hover,footer a:hover { text-decoration:underline; text-underline-offset:5px; }
.hero { position:relative; min-height:718px; }
.intro { position:relative; z-index:3; text-align:center; padding-top:var(--space-md); }
h1 { width:min(670px,70%); margin-inline:auto; }
.wordmark { width:100%; height:205px; object-fit:contain; }
.release { font-size:18px; margin:var(--space-sm) 0 0; font-weight:600; }
.lede { color:var(--color-muted); margin:var(--space-xs) 0 var(--space-md); font-size:16px; }
.primary { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 var(--space-lg); border-radius:30px; background:var(--color-accent); color:var(--color-accent-ink); font-size:14px; transition:transform .18s var(--ease-out); }
.primary:hover { transform:translateY(-2px); }




.character-stage { position:absolute; top:192px; right:0; width:205px; z-index:4; text-align:center; }
.sprite { width:205px; height:205px; background-image:url('/luke-sprites.webp'); background-size:200% 200%; background-repeat:no-repeat; transform-origin:50% 90%; }
.pose-0 { background-position:0 0; }.pose-1 { background-position:100% 0; }.pose-2 { background-position:0 100%; }.pose-3 { background-position:100% 100%; }
.scene-info { position:relative; font-size:13px; color:var(--color-muted); display:flex; flex-direction:column; align-items:center; gap:0; }
#next-scene { border:0; background:transparent; min-height:44px; font-size:12px; text-decoration:underline; text-underline-offset:4px; }
.trail { position:absolute; width:100%; height:150px; top:70px; opacity:0; pointer-events:none; }
.trail i { position:absolute; width:130px; height:55px; border:2px solid var(--color-trail); border-left:0; border-bottom:0; border-radius:50%; transform:rotate(-30deg); }
.trail i:nth-child(2) { transform:translate(10px,15px) rotate(-35deg); width:100px; }.trail i:nth-child(3) { transform:translate(25px,30px) rotate(-40deg); width:70px; }
.leaving .sprite { animation:whoosh-out .65s var(--ease-in) both; }.leaving .trail { animation:trail .7s var(--ease-out) both; }.arriving .sprite { animation:whoosh-in .8s var(--ease-out) both; }
@keyframes whoosh-out { 0% { opacity:1; transform:translate(0,0) scale(1) rotate(0); } 45% { opacity:.8; transform:translate(-12px,-12px) scale(.92,1.05) rotate(-5deg); } 100% { opacity:0; transform:translate(85px,-95px) scale(.12,.65) rotate(24deg); } }
@keyframes whoosh-in { 0% { opacity:0; transform:translate(-55px,35px) scale(.25,.65) rotate(-15deg); } 65% { opacity:1; } 100% { opacity:1; transform:none; } }
@keyframes trail { 0% { opacity:0; transform:translate(0,0) scale(.7); } 40% { opacity:.8; } 100% { opacity:0; transform:translate(75px,-80px) scale(1.2,.4); } }
.hero-foot { display:flex; justify-content:space-between; align-items:center; margin-top:calc(-1 * var(--space-md)); padding-bottom:var(--space-xl); gap:var(--space-lg); position:relative; z-index:5; }
.verse { font-size:14px; margin:0; }.verse span { display:block; font-size:12px; color:var(--color-muted); margin-top:var(--space-xs); }
.controls { display:flex; gap:var(--space-md); align-items:center; }
.controls button { border:0; background:transparent; min-height:44px; font-size:13px; padding:var(--space-xs); display:flex; align-items:center; gap:var(--space-xs); }
.controls button:hover,#next-scene:hover { color:var(--color-focus); }.controls button[aria-pressed=true] { background:var(--color-hover); border-radius:24px; }
.controls svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.3; stroke-linecap:round; }
#snow { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:4; }
.about { padding-block:var(--space-3xl); border-top:1px solid var(--color-rule); display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--space-2xl); }
h2 { font-size:clamp(32px,4vw,52px); line-height:1.1; letter-spacing:-.04em; font-weight:600; }
.about-heading img { width:112px; height:112px; border-radius:50%; object-fit:cover; margin-top:var(--space-xl); }
.about-content > p { margin:0 0 var(--space-lg); max-width:55ch; font-size:18px; }
.about-meta { display:flex; flex-direction:column; font-size:14px; color:var(--color-muted); margin-block:var(--space-xl); }
summary { cursor:pointer; min-height:48px; padding-block:var(--space-sm); border-top:1px solid var(--color-rule); }
.timeline { list-style:none; margin:var(--space-lg) 0 0; padding:0; }.timeline li { display:grid; grid-template-columns:60px minmax(0,1fr); gap:var(--space-lg); padding-block:var(--space-lg); border-bottom:1px solid var(--color-rule); }.timeline time { color:var(--color-muted); font-size:14px; }.timeline h3 { font-size:18px; font-weight:600; }.timeline p { margin:var(--space-xs) 0 0; font-size:16px; }
footer { border-top:1px solid var(--color-rule); padding-block:var(--space-lg); display:flex; justify-content:space-between; gap:var(--space-lg); font-size:13px; color:var(--color-muted); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip { position:absolute; top:-100px; left:16px; padding:var(--space-sm); background:var(--color-paper); z-index:20; }.skip:focus-visible { top:16px; }
@media(min-width:1440px) { .hero { min-height:800px; }.character-stage { right:40px; top:210px; } }
@media(max-width:900px) { .container { width:calc(100% - 40px); }.nav { height:72px; }h1 { width:min(620px,85%); }.character-stage { width:150px; right:0; top:305px; }.sprite { width:150px; height:150px; }.hero { min-height:0; }.hero-foot { margin-top:var(--space-lg); }.about { gap:var(--space-xl); }.controls { gap:var(--space-xs); } }
@media(max-width:600px) { .nav { height:68px; }nav { gap:var(--space-lg); }.intro { padding-top:var(--space-lg); }h1 { width:100%; }.wordmark { height:140px; }.release { font-size:16px; margin-top:var(--space-md); }.lede { font-size:14px; max-width:28ch; margin:var(--space-sm) auto var(--space-lg); }.character-stage { top:347px; right:-2px; width:126px; }.sprite { width:126px; height:126px; }.scene-info { font-size:11px; }#next-scene { font-size:11px; }.hero-foot { flex-direction:column; align-items:flex-start; gap:var(--space-md); margin-top:var(--space-md); padding-bottom:var(--space-xl); }.verse { font-size:13px; }.verse span { margin-top:0; }.controls { align-self:flex-end; }.about { grid-template-columns:minmax(0,1fr); padding-block:var(--space-2xl); gap:var(--space-xl); }.about-heading { display:flex; justify-content:space-between; align-items:center; gap:var(--space-lg); }.about-heading img { width:76px; height:76px; margin:0; }h2 { font-size:30px; }.about-content>p { font-size:16px; }footer { flex-wrap:wrap; gap:var(--space-sm); }footer span:nth-child(2) { display:none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }*,*::before,*::after { animation:none!important; transition:none!important; }.trail { display:none; } }

/* Sprite cells preserve the reference sheet aspect ratio. */
.sprite { height:auto; aspect-ratio:6/7; background-size:200% auto; }
.pose-0,.pose-1 { clip-path:inset(0 0 15% 0); }

/* The five-scene character is the hero; the two places tell the story below. */
.hero { min-height:0; }
.wordmark { height:168px; }
.intro { padding-top:0; }
.character-stage { position:relative; top:auto; right:auto; width:100%; margin:var(--space-lg) auto 0; }
.scene-art { position:relative; height:275px; display:flex; justify-content:center; align-items:center; }
.sprite { width:230px; height:auto; aspect-ratio:6/7; background-size:200% auto; }
.ski-scene { height:345px; width:560px; object-fit:contain; margin-top:-60px; }
.ski-scene[hidden],.sprite[hidden] { display:none; }
.trail { width:180px; top:80px; left:calc(50% - 60px); }
.scene-info { flex-direction:row; justify-content:center; gap:var(--space-md); min-height:30px; }
.scene-picker { display:flex; justify-content:center; gap:var(--space-xs); margin-top:var(--space-xs); }
.scene-picker button { min-height:44px; padding:var(--space-xs) var(--space-md); border:0; border-radius:24px; background:transparent; color:var(--color-muted); font-size:13px; }
.scene-picker button[aria-pressed=true] { background:var(--color-hover); color:var(--color-accent); }
.scene-picker button:hover { text-decoration:underline; text-underline-offset:4px; }
.hero-foot { margin-top:var(--space-lg); padding-bottom:var(--space-xl); }
.leaving .ski-scene { animation:whoosh-out .65s var(--ease-in) both; }.arriving .ski-scene { animation:whoosh-in .8s var(--ease-out) both; }
.story { padding-block:var(--space-3xl) var(--space-2xl); border-top:1px solid var(--color-rule); }
.story-head { display:flex; justify-content:space-between; align-items:center; gap:var(--space-xl); }.story-head p { color:var(--color-muted); font-size:18px; max-width:40ch; }
.story img { width:100%; margin-top:var(--space-xl); }.places { display:flex; justify-content:space-between; font-size:14px; color:var(--color-muted); margin-top:var(--space-md); }
@media(min-width:1440px) { .character-stage { top:auto; right:auto; }.scene-art { height:300px; }.sprite { width:250px; }.ski-scene { width:620px; height:370px; } }
@media(max-width:900px) { .character-stage { top:auto; right:auto; width:100%; }.sprite { width:230px; }.hero-foot { margin-top:var(--space-lg); } }
@media(max-width:600px) { .wordmark { height:132px; }.intro { padding-top:var(--space-md); }.release { margin-top:var(--space-xs); }.lede { max-width:none; font-size:13px; margin:var(--space-xs) auto var(--space-md); }.character-stage { margin-top:var(--space-lg); }.scene-art { height:245px; }.sprite { width:210px; }.ski-scene { width:100%; height:280px; margin-top:-20px; }.scene-info { font-size:12px; }#next-scene { font-size:12px; }.scene-picker { gap:0; }.scene-picker button { padding-inline:var(--space-sm); }.hero-foot { margin-top:var(--space-xl); }.story { padding-block:var(--space-2xl); }.story-head { flex-direction:column; align-items:flex-start; gap:var(--space-md); }.story-head p { font-size:16px; margin:0; }.story img { width:140%; max-width:none; margin-left:-20%; }.places { font-size:12px; } }

html { scrollbar-color:var(--color-rule) var(--color-paper); }
/* Keep the logo and action above the animated illustration bounds. */
.intro { z-index:6; }
/* Hallmark · answered F4 · only the LinkedIn action is a filled primary; pale selected activity states are selection feedback */
@media(prefers-reduced-motion:reduce) { #motion-toggle { display:none; } }
/* Three illustrated keyframes per action; the day finishes at the keyboard. */
.actor { position:relative; width:270px; height:270px; transform-origin:50% 90%; }
.action-frame { position:absolute; inset:0; background:url('/action-typing.webp') no-repeat 0 0/300% 100%; }
.next-frame { opacity:0; }
.tooth-glint { position:absolute; left:46%; top:19%; color:var(--color-paper); font-size:22px; line-height:1; text-shadow:0 0 5px var(--color-glint); }
.leaving .actor { animation:whoosh-out .85s var(--ease-in) both; }.arriving .actor { animation:whoosh-in 1s var(--ease-out) both; }
.motion-paused .actor,.motion-paused .trail { animation-play-state:paused; }
#replay { min-height:44px; border:0; background:transparent; font-size:12px; color:var(--color-muted); text-decoration:underline; text-underline-offset:4px; }
.verse { font-family:var(--font-quote); font-size:clamp(19px,2.2vw,27px); font-style:italic; letter-spacing:-.025em; max-width:34ch; line-height:1.35; }
.verse span { font-family:var(--font-body); font-style:normal; letter-spacing:normal; font-size:11px; margin-top:var(--space-sm); }
.story-scene { position:relative; overflow:hidden; margin-top:var(--space-xl); }.story-scene img { margin:0; width:100%; max-width:100%; }.story-controls { justify-content:flex-end; margin-top:var(--space-xs); }
#snow { z-index:2; }
.about-heading img { width:260px; height:300px; border-radius:130px 130px 24px 24px; margin-top:36px; }
.education { display:flex; flex-direction:column; gap:4px; padding-block:var(--space-lg) 32px; border-bottom:1px solid var(--color-rule); font-size:13px; color:var(--color-muted); }
.education img { width:310px; height:auto; max-width:100%; margin-bottom:var(--space-md); }
.experience { padding-top:32px; }.experience>h3 { font-size:29px; letter-spacing:-.035em; }
.timeline { margin-top:var(--space-sm); }.timeline li { grid-template-columns:112px minmax(0,1fr); gap:var(--space-lg); padding-block:var(--space-lg); }.job-date { font-size:12px; color:var(--color-muted); padding-top:4px; }.timeline h4 { margin:0 0 4px; font-size:20px; font-weight:600; letter-spacing:-.02em; }.job-role { font-size:12px; color:var(--color-muted); }.timeline p { margin-top:var(--space-sm); font-size:15px; line-height:1.6; }
@media(max-width:600px) { .actor { width:245px; height:245px; }.scene-info { gap:var(--space-sm); flex-wrap:wrap; }#scene-label { flex-basis:100%; }.scene-info button { min-height:36px; }.about-heading { display:block; }.about-heading img { width:220px; height:250px; margin-top:28px; }.timeline li { grid-template-columns:1fr; gap:var(--space-xs); }.verse { font-size:21px; }.story-scene img { width:140%; max-width:none; margin-left:-20%; } }

.js .tooth-glint { opacity:0; transform:scale(0); }
.education img { background:var(--color-ink); padding:var(--space-md); border-radius:4px; width:342px; }
.state { display:none; }
@media(min-width:960px){.state{display:block;position:absolute;top:28%;width:clamp(95px,12vw,165px);height:230px;fill:none;stroke:#7390a8;stroke-width:1.15;opacity:.19;pointer-events:none}.state.california{left:6%}.state.utah{right:6%}}
.verse {font-family:'Instrument Serif',Georgia,serif;font-style:normal;font-size:clamp(25px,2.5vw,34px);letter-spacing:0}.verse em{color:var(--color-accent)}.verse span,.job-date,.places,.release {font-family:'DM Mono',monospace}.verse span{font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.story-scene::after{content:'';position:absolute;inset:0;background:url('/california-utah.webp') center/100% 100% no-repeat;filter:brightness(1.08) saturate(1.45) contrast(1.1);mask-image:linear-gradient(90deg,black 12%,transparent 44%);pointer-events:none}
.school-mark{display:flex;align-items:center;gap:16px;color:var(--color-ink);font:30px 'Instrument Serif',Georgia,serif}.education .school-mark img{width:58px;height:58px;background:none;padding:0;margin:0;border-radius:0}
.timeline h4{display:flex;align-items:center;gap:10px}.company-logo{width:auto;height:25px;max-width:145px}.initial{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--color-rule);font:italic 20px 'Instrument Serif',serif;color:var(--color-accent)}
.linkedin-icon{width:44px;height:44px;display:grid;place-items:center}.linkedin-icon b{background:#0a66c2;color:white;font:bold 16px/19px Arial,sans-serif;width:19px;text-align:center;border-radius:2px}footer{align-items:center}
.tooth-glint{margin-left:-.5em;margin-top:-.5em;font-size:15px}
@media(max-width:600px){.story-scene::after{background-size:140% 100%}}
.small-logo img {width:46px;height:46px;border-radius:50%;object-fit:cover}
.intro h1 {display:flex;justify-content:center;align-items:center;gap:3px;width:min(100%,610px)}
.intro .wordmark {width:min(504px,calc(100% - 60px));height:auto;aspect-ratio:1400/467}
.address-part {font:400 clamp(13px,1.4vw,18px)/1 Caveat,'Segoe Print',cursive;color:var(--color-muted);opacity:.73;letter-spacing:0;transform:translateY(.7em)}
.nav nav {font-size:16px}.verse span {font-size:13px}.places {font-size:16px}footer.container>span {font-size:15px}
.linkedin-icon b {width:38px;font-size:30px;line-height:38px;border-radius:4px}
.supplied-mark {width:46px;height:42px;object-fit:contain}.timeline h4 {min-height:36px}
