
:root{
  --ink:#1e1e1e;
  --paper:#fffaf2;
  --paper2:#f7f1e7;
  --blue:#67bde1;
  --yellow:#f4bf2a;
  --coral:#f36b54;
  --green:#2ecf8f;
  --purple:#9a83d8;
  --white:#ffffff;
  --muted:#5f625f;
  --border:3px solid var(--ink);
  --shadow:6px 6px 0 var(--ink);
  --radius:22px;
  --max:1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 20px 20px, rgba(30,30,30,.06) 2px, transparent 2px) 0 0/36px 36px,
    var(--paper);
  color:var(--ink);
  font-family: "Trebuchet MS", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height:1.55;
}

a{color:inherit}
img,video{max-width:100%;display:block}
button,input,textarea{font:inherit}
.wrap{width:min(var(--max),calc(100% - 32px));margin:auto}

.skip{
  position:absolute;left:-999px;top:12px;background:var(--yellow);padding:10px 14px;
  border:var(--border);border-radius:12px;z-index:999
}
.skip:focus{left:12px}

.site-header{
  position:sticky;top:0;z-index:30;
  background:rgba(255,250,242,.94);
  border-bottom:3px solid var(--ink);
  backdrop-filter:blur(8px);
}
.nav{
  min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px
}
.brand{
  display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:900;letter-spacing:-.04em
}
.brand-badge{
  width:44px;height:44px;border:var(--border);border-radius:13px;background:var(--blue);
  display:grid;place-items:center;box-shadow:3px 3px 0 var(--ink);font-size:.85rem
}
.brand small{display:block;font-size:.66rem;letter-spacing:.08em;color:var(--muted);font-weight:800}
.nav-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end}
.nav-links a{
  text-decoration:none;padding:8px 11px;border:2px solid transparent;border-radius:12px;
  font-size:.88rem;font-weight:800
}
.nav-links a:hover,.nav-links a.active{border-color:var(--ink);background:var(--yellow)}
.nav-links a.linkedin{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.nav-links a.linkedin:hover{background:var(--blue);color:var(--ink)}

main{min-height:70vh}
.page-hero{padding:70px 0 38px}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;background:var(--white);border:var(--border);
  border-radius:999px;padding:7px 12px;font-size:.78rem;font-weight:900;letter-spacing:.08em;
  box-shadow:3px 3px 0 var(--ink);text-transform:uppercase
}
.dot{width:10px;height:10px;border-radius:50%;background:var(--green);border:2px solid var(--ink)}
h1,h2,h3{line-height:1;letter-spacing:-.045em}
h1{font-size:clamp(3.1rem,8vw,7.2rem);margin:20px 0 20px}
h2{font-size:clamp(2.1rem,5vw,4.2rem);margin:0 0 16px}
h3{font-size:clamp(1.35rem,2.8vw,2.05rem);margin:0 0 10px}
.lede{font-size:clamp(1.05rem,2vw,1.28rem);max-width:760px;color:#3f413f}

.hero-grid{
  display:grid;grid-template-columns:1.25fr .75fr;gap:26px;align-items:center
}
.hero-copy .squiggle{
  display:inline-block;background:var(--yellow);padding:.03em .14em;border:2px solid var(--ink);
  transform:rotate(-1.5deg);box-shadow:4px 4px 0 var(--ink)
}
.hero-photo{
  position:relative;background:var(--blue);border:var(--border);border-radius:28px;padding:13px;
  box-shadow:var(--shadow);transform:rotate(1.5deg)
}
.hero-photo img{width:100%;aspect-ratio:1/1;object-fit:cover;border:var(--border);border-radius:18px}
.photo-label{
  position:absolute;left:-16px;bottom:28px;background:var(--coral);border:var(--border);
  border-radius:13px;padding:9px 12px;font-weight:900;box-shadow:4px 4px 0 var(--ink);transform:rotate(-4deg)
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;
  border:var(--border);border-radius:14px;padding:11px 16px;font-weight:900;background:var(--white);
  box-shadow:4px 4px 0 var(--ink);transition:transform .15s ease,box-shadow .15s ease
}
.btn:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
.btn.primary{background:var(--blue)}
.btn.yellow{background:var(--yellow)}
.btn.coral{background:var(--coral)}
.btn.green{background:var(--green)}

.section{padding:48px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-title p{max-width:580px;color:var(--muted);margin:0}

.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.menu-card{
  min-height:245px;border:var(--border);border-radius:24px;padding:24px;text-decoration:none;
  box-shadow:var(--shadow);background:var(--white);display:flex;flex-direction:column;
  transition:transform .16s ease,box-shadow .16s ease
}
.menu-card:hover{transform:translate(3px,3px);box-shadow:3px 3px 0 var(--ink)}
.menu-card:nth-child(1){background:#eaf8ff}
.menu-card:nth-child(2){background:#fff4cb}
.menu-card:nth-child(3){background:#e7faef}
.menu-card:nth-child(4){background:#ffe9e5}
.menu-card:nth-child(5){background:#f0ebff}
.menu-card:nth-child(6){background:#fff}
.menu-icon{
  width:92px;height:92px;border:var(--border);border-radius:24px;background:var(--white);
  display:grid;place-items:center;margin-bottom:28px;box-shadow:4px 4px 0 var(--ink)
}
.menu-icon img{width:72px;height:72px}
.menu-card h3{margin-top:0;margin-bottom:10px}
.menu-card p{margin:0;color:var(--muted)}

.status-strip{
  display:grid;grid-template-columns:repeat(3,1fr);border:var(--border);border-radius:20px;
  overflow:hidden;box-shadow:var(--shadow);background:var(--white)
}
.status-item{padding:18px 20px;border-right:3px solid var(--ink)}
.status-item:last-child{border-right:0}
.status-item strong{display:block;font-size:1.1rem}
.status-item span{color:var(--muted);font-size:.88rem}

.card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.card{
  border:var(--border);border-radius:var(--radius);padding:22px;background:var(--white);box-shadow:var(--shadow)
}
.card.blue{background:#eaf8ff}.card.yellow{background:#fff4cb}.card.green{background:#e7faef}
.card.coral{background:#ffe9e5}.card.purple{background:#f0ebff}
.card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:24px}
.sticker{
  min-width:70px;height:70px;padding:0 10px;border:var(--border);border-radius:20px;background:var(--white);
  display:grid;place-items:center;font-weight:1000;font-size:1rem;box-shadow:4px 4px 0 var(--ink)
}
.sticker.small{min-width:58px;height:58px;border-radius:16px;font-size:.8rem}
.tag{
  display:inline-flex;border:2px solid var(--ink);border-radius:999px;padding:5px 9px;background:var(--white);
  font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em
}
.card p{color:#50534f}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.chip{border:2px solid var(--ink);border-radius:999px;padding:5px 9px;background:rgba(255,255,255,.7);font-size:.77rem;font-weight:800}

.feature-video{
  display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);gap:24px;align-items:center;
  background:#fff4cb
}
.video-shell{
  border:var(--border);border-radius:20px;background:var(--ink);overflow:hidden;box-shadow:4px 4px 0 var(--ink)
}
.video-shell video{width:100%;aspect-ratio:9/16;max-height:650px;object-fit:contain;background:#111}
.feature-video .sticker{background:var(--green)}

.film-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.film-card{display:flex;flex-direction:column;min-height:300px}
.film-card .film-footer{margin-top:auto;padding-top:18px}
.film-card .sticker{font-size:1.55rem}
.film-card:nth-child(4n+1){background:#eaf8ff}
.film-card:nth-child(4n+2){background:#fff4cb}
.film-card:nth-child(4n+3){background:#e7faef}
.film-card:nth-child(4n+4){background:#ffe9e5}

.timeline{display:grid;gap:16px}
.quest{
  display:grid;grid-template-columns:100px 1fr auto;gap:18px;align-items:start;
  border:var(--border);border-radius:20px;padding:18px;background:var(--white);box-shadow:4px 4px 0 var(--ink)
}
.quest-level{
  border:var(--border);border-radius:16px;padding:12px 8px;text-align:center;background:var(--yellow);
  font-weight:1000;line-height:1.05
}
.quest-level small{display:block;font-size:.65rem;margin-bottom:4px}
.quest h3{font-size:1.35rem;margin-bottom:5px}
.quest .company{font-weight:900;margin-bottom:5px}
.quest p{margin:0;color:var(--muted)}
.quest-badge{border:2px solid var(--ink);border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:900;background:var(--blue)}

.inventory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.inventory{
  border:var(--border);border-radius:20px;padding:20px;background:var(--white);box-shadow:var(--shadow)
}
.inventory:nth-child(1){background:#eaf8ff}.inventory:nth-child(2){background:#fff4cb}.inventory:nth-child(3){background:#e7faef}
.inventory:nth-child(4){background:#ffe9e5}.inventory:nth-child(5){background:#f0ebff}.inventory:nth-child(6){background:#fff}
.inventory-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.inventory-icon{width:54px;height:54px;border:var(--border);border-radius:16px;background:var(--white);display:grid;place-items:center;font-weight:1000}
.inventory h3{font-size:1.25rem;margin:0}
.skill-list{display:flex;flex-wrap:wrap;gap:8px}
.skill{background:var(--white);border:2px solid var(--ink);border-radius:12px;padding:7px 9px;font-size:.82rem;font-weight:800}

.profile-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:24px;align-items:start}
.profile-card{
  background:var(--blue);border:var(--border);border-radius:28px;padding:14px;box-shadow:var(--shadow);transform:rotate(-1deg)
}
.profile-card img{border:var(--border);border-radius:18px;width:100%;aspect-ratio:1/1;object-fit:cover}
.note{
  display:inline-block;margin-top:12px;background:var(--yellow);border:var(--border);border-radius:12px;
  padding:8px 11px;font-weight:900;box-shadow:3px 3px 0 var(--ink);transform:rotate(2deg)
}
.bio-box{border:var(--border);border-radius:24px;padding:24px;background:var(--white);box-shadow:var(--shadow)}
.bio-box p{font-size:1.07rem;color:#484b47}
.fact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}
.fact{border:2px solid var(--ink);border-radius:14px;padding:13px;background:var(--paper2)}
.fact strong{display:block}
.fact span{font-size:.85rem;color:var(--muted)}

.contact-box{
  margin-top:18px;border:var(--border);border-radius:24px;padding:24px;background:#e7faef;box-shadow:var(--shadow)
}
.contact-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

.page-banner{
  display:flex;align-items:center;gap:24px;border:var(--border);border-radius:24px;padding:18px 20px;
  background:var(--white);box-shadow:var(--shadow);margin-top:24px
}
.page-banner img{width:92px;height:92px;flex:0 0 auto}
.page-banner p{margin:4px 0 0;color:var(--muted)}

footer{
  margin-top:64px;border-top:3px solid var(--ink);background:var(--paper2)
}
.footer-inner{
  min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:20px
}
.footer-inner p{margin:0;color:var(--muted);font-size:.88rem}
.footer-links{display:flex;gap:10px;flex-wrap:wrap}
.footer-links a{font-weight:900;text-decoration:none}

.tiny{font-size:.8rem;color:var(--muted)}
.center{text-align:center}
.not-found{min-height:65vh;display:grid;place-items:center;text-align:center}

@media(max-width:900px){
  .hero-grid,.profile-grid,.feature-video{grid-template-columns:1fr}
  .menu-grid,.inventory-grid{grid-template-columns:repeat(2,1fr)}
  .status-strip{grid-template-columns:1fr}
  .status-item{border-right:0;border-bottom:3px solid var(--ink)}
  .status-item:last-child{border-bottom:0}
  .quest{grid-template-columns:80px 1fr}
  .quest-badge{grid-column:2;justify-self:start}
}
@media(max-width:700px){
  .site-header{position:relative}
  .nav{padding:12px 0;align-items:flex-start;flex-direction:column}
  .nav-links{justify-content:flex-start}
  .nav-links a{padding:6px 8px;font-size:.8rem}
  .page-hero{padding-top:44px}
  .hero-photo{transform:none;max-width:430px}
  .photo-label{left:10px}
  .menu-grid,.card-grid,.film-grid,.inventory-grid,.fact-grid{grid-template-columns:1fr}
  .section-title{align-items:flex-start;flex-direction:column}
  .quest{grid-template-columns:1fr}
  .quest-level{justify-self:start;min-width:86px}
  .quest-badge{grid-column:1}
  .footer-inner{padding:24px 0;align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
}


/* Multimedia players */
.video-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.video-project{
  border:var(--border);
  border-radius:24px;
  padding:22px;
  background:var(--white);
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
}
.video-project:nth-child(4n+1){background:#eaf8ff}
.video-project:nth-child(4n+2){background:#fff4cb}
.video-project:nth-child(4n+3){background:#e7faef}
.video-project:nth-child(4n+4){background:#ffe9e5}
.video-project .card-top{margin-bottom:0}
.video-project h3{margin:0}
.video-project p{margin:0;color:#50534f}
.player-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border:var(--border);
  border-radius:18px;
  background:#171717;
  box-shadow:4px 4px 0 var(--ink);
}
.player-frame.vertical{aspect-ratio:9/16;max-height:640px;margin-inline:auto;max-width:390px}
.player-frame video{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#111;
}
.player-empty{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  padding:28px;
  text-align:center;
  color:#fff;
  background:
    radial-gradient(circle at 25% 20%,rgba(103,189,225,.30),transparent 32%),
    radial-gradient(circle at 78% 75%,rgba(244,191,42,.24),transparent 28%),
    #1f1f1f;
}
.player-empty-inner{
  max-width:360px;
}
.player-empty-icon{
  width:72px;
  height:72px;
  margin:0 auto 16px;
  border:3px solid #fff;
  border-radius:22px;
  display:grid;
  place-items:center;
  font-size:1.7rem;
  font-weight:900;
}
.player-empty strong{display:block;font-size:1.05rem;margin-bottom:6px}
.player-empty span{font-size:.82rem;color:#d8d8d8}
.video-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:4px;
}
.video-meta-line{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.video-meta-line .year-label{
  font-weight:1000;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.note-box{
  margin-top:24px;
  border:var(--border);
  border-radius:18px;
  padding:16px 18px;
  background:#f0ebff;
  box-shadow:4px 4px 0 var(--ink);
  color:#4b4d4a;
}
.timeline-year{
  border:var(--border);
  border-radius:16px;
  padding:11px 10px;
  text-align:center;
  background:var(--yellow);
  font-weight:1000;
  min-width:100px;
}
.timeline-year small{
  display:block;
  font-size:.68rem;
  letter-spacing:.06em;
  margin-bottom:3px;
}
@media(max-width:900px){
  .video-grid{grid-template-columns:1fr}
}


/* Mobile-first delivery + click-to-load video controls */
.player-frame{position:relative}
.video-load{
  position:absolute; inset:0; margin:auto;
  width:max-content; height:max-content;
  max-width:calc(100% - 32px);
  display:flex; align-items:center; gap:10px;
  border:3px solid var(--ink); border-radius:16px;
  padding:11px 15px; background:var(--yellow); color:var(--ink);
  font-weight:1000; box-shadow:4px 4px 0 var(--ink); cursor:pointer;
}
.video-load:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
.video-load[hidden]{display:none}
.video-load-icon{font-size:1rem}

@media(max-width:560px){
  .wrap{width:min(var(--max),calc(100% - 20px))}
  .nav{padding:10px 0;gap:10px;align-items:flex-start;flex-direction:column}
  .brand-badge{width:40px;height:40px;border-radius:11px}
  .brand small{font-size:.62rem}
  .nav-links{
    width:100%; flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto;
    padding:2px 0 6px; scrollbar-width:none; -webkit-overflow-scrolling:touch;
  }
  .nav-links::-webkit-scrollbar{display:none}
  .nav-links a{flex:0 0 auto;padding:7px 9px;font-size:.78rem}
  .page-hero{padding:38px 0 26px}
  h1{font-size:clamp(2.7rem,14vw,4.2rem);margin:16px 0}
  h2{font-size:clamp(2rem,10vw,3rem)}
  h3{font-size:1.4rem}
  .lede{font-size:1rem}
  .section{padding:34px 0}
  .section-title{gap:10px;margin-bottom:18px}
  .page-banner{align-items:flex-start;gap:14px;padding:14px 15px;border-radius:18px}
  .page-banner img{width:64px;height:64px}
  .page-banner strong{font-size:.88rem}
  .page-banner p{font-size:.82rem}
  .menu-card,.card,.video-project,.inventory,.bio-box,.contact-box{padding:17px;border-radius:18px}
  .menu-card{min-height:auto}
  .menu-icon{width:72px;height:72px;margin-bottom:20px;border-radius:18px}
  .menu-icon img{width:54px;height:54px}
  .video-project{gap:15px}
  .player-frame{border-radius:14px;box-shadow:3px 3px 0 var(--ink)}
  .player-frame.vertical{max-width:100%;max-height:none}
  .video-meta-line{gap:7px}
  .video-actions{padding-top:0}
  .video-actions .btn{width:100%;min-height:48px}
  .sticker.small{min-width:52px;height:52px;border-radius:14px}
  .chips{gap:6px;margin-top:12px}
  .chip{font-size:.72rem;padding:5px 8px}
  .profile-card{transform:none}
  .photo-label{left:10px;bottom:14px}
  .hero-actions .btn{min-height:48px}
  .status-item{padding:15px}
  .footer-inner{gap:14px}
}


/* Reliable native video playback */
.player-frame video{width:100%;height:100%;object-fit:contain;background:#111}
@media(max-width:560px){
  .player-frame{width:100%;aspect-ratio:16/9}
  .player-frame.vertical{aspect-ratio:9/16;max-width:360px;margin-inline:auto}
  .player-frame video{width:100%;height:100%}
}
